From 4b524f2e3b6174c41c41e1c3cea9e6c95d472bc1 Mon Sep 17 00:00:00 2001 From: tobi Date: Sun, 22 Aug 2010 14:02:42 -0700 Subject: [PATCH] Removed example because it doesn't render right here on the new wiki :/ Updated Home (textile) --- Home.textile | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Home.textile b/Home.textile index b30058c..ab2596c 100644 --- a/Home.textile +++ b/Home.textile @@ -4,23 +4,6 @@ Liquid is a template engine which was crafted for very specific requirements * It needs to be non-evaling and secure. Liquid templates are made so that users can edit them. You don't want to run code on your server which your users wrote. * It has to be stateless. The compile and render steps have to be separate, so that the expensive parsing and compiling can be done once; later on, you can just render it by passing in a hash with local variables and objects. * It needs to be able to style emails as well as HTML. - -h2. What does it look like? - - source = %| - | - - @template = Liquid::Template.parse(source) - @template.render( 'products' => Product.all ) h2. Stuff to read, watch, etc.