Template inheritance add-on for Liquid

Implementation of template inheritance, similar to what offers Django.

See the discussion with the Shopify team about it here.

Important. That's not a fork of the Liquid gem, it's rather a kind of add-on for Liquid. It requires a version of Liquid higher than the 3.0.0.

Installation

Add this line to your application's Gemfile, just after the one related to Liquid.

gem 'liquid-template-inheritance'

And then execute:

$ bundle install

Contributing

  1. Fork it ( http://github.com//locomotivecms/liquid-template-inheritance )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request