Path: | History.md |
Last Update: | Tue Apr 30 21:19:17 +0000 2013 |
# Liquid Version History
## 2.4.0 / 2012-08-03
## 2.3.0 / 2011-10-16
## 2.2.1 / 2010-08-23
## 2.2.0 / 2010-08-22
## 1.9.0 / 2008-03-04
## Before 1.9.0
{{ 'Typo' | link_to: 'http://typo.leetsoft.com', 'Typo - a modern weblog engine' }}
class ProductDrop < Liquid::Drop
def top_sales Shop.current.products.find(:all, :order => 'sales', :limit => 10 ) end
end t = Liquid::Template.parse( ’ {% for product in product.top_sales %} {{ product.name }} {% endfor %} ’ ) t.render(‘product’ => ProductDrop.new )