From 778ecbe667f4e437e8f290dcba4e5b37f8a69dd3 Mon Sep 17 00:00:00 2001 From: tekkub Date: Wed, 17 Jun 2009 02:39:07 -0600 Subject: Dynamically build the category/post lists --- index.textile | 45 +++++++++++++-------------------------------- 1 file changed, 13 insertions(+), 32 deletions(-) (limited to 'index.textile') diff --git a/index.textile b/index.textile index da5d86a..5dec62c 100644 --- a/index.textile +++ b/index.textile @@ -35,37 +35,18 @@ title: Welcome to the GitHub Help site
-
-

Windows

- {% for post in site.categories.windows %} -
+{% 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 }} - {% if post.description %} -

{{ post.description }}

- {% endif %} -
- {% endfor %} -
- -
-

Mac OSX

-
Distributed Git -

Fetch, merge, pull and push between multiple remote repositories.

-
-
- -
-

Linux

-
- Filter Branch -

Modify large sections of your commit history at once, changing emails, names or files globally.

+

{{ post.description }}

+ {% endfor %}
-
- -
-

Special Interest

-
- Git and Windows - General -

Install and use Git on a Windows environment using the default mSysGit tools.

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