How do I properly use liquid in my blog posts?
So far I found out, that I have to add the liquid
gem to my Gemfile. I created a folder lib/tags
and copied all files from https://github.com/imathis/octopress/tree/master/plugins to it.
Then I tried to make these tags available by putting
Dir[File.dirname(__FILE__) + '/lib/tags/*.rb'].each {|file| require file }
to my config.rb
.
Is this really the way meant to be? Looks a bit weard to me.
Unfortunately I haven’t found any hints in the documentation and not a simple example in the web.