From efa32d4192b8d244cab5341dbae9192000bc520d Mon Sep 17 00:00:00 2001 From: tekkub Date: Wed, 17 Jun 2009 17:59:24 -0600 Subject: {% cycle %} is neat --- index.textile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'index.textile') diff --git a/index.textile b/index.textile index 5b61ffb..5c98a03 100644 --- a/index.textile +++ b/index.textile @@ -35,13 +35,7 @@ p. This site is a work in progress. {% for cat in site.categories %} - {% case forloop.index %} - {% when 3 or 6 or 9 or 12 or 15 or 18 or 21 %} - {% assign c = 'span-7 last' %} - {% else %} - {% assign c = 'span-7' %} - {% endcase %} -
+

{{ cat[0] | capitalize }}

{% for post in cat[1] %} {{ post.title }} -- cgit v1.3.1