From 6d276ea68c3116e5e84b859e52eb7744b52f02c5 Mon Sep 17 00:00:00 2001 From: tekkub Date: Wed, 17 Jun 2009 18:16:53 -0600 Subject: Lets give the index *another* try --- index.textile | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/index.textile b/index.textile index 5c98a03..8898610 100644 --- a/index.textile +++ b/index.textile @@ -1,6 +1,13 @@ --- layout: default title: Welcome to the GitHub Help site +index_cats: +- setup +- mac +- windows +- collaborating +last_cats: +- windows ---
@@ -34,12 +41,13 @@ p. This site is a work in progress.
-{% for cat in site.categories %} -
-

{{ cat[0] | capitalize }}

- {% for post in cat[1] %} +{% for cat in (page.index_cats) %} +
+

{{ cat | capitalize }}

+ {% for post in site.posts %}{% if post.categories contains cat %} {{ post.title }}

{{ post.description }}

- {% endfor %} + {% endif %}{% endfor %}
{% endfor %} + -- cgit v1.3.1