Repository is archived
No commit activity in last 3 years
No release in over 3 years
Liquid addon that enables template inheritance
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.5
~> 10.1
 Project Readme

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