summaryrefslogtreecommitdiff
path: root/index.markdown
diff options
context:
space:
mode:
authortekkub <tekkub@gmail.com>2010-07-12 19:09:16 -0600
committertekkub <tekkub@gmail.com>2010-07-12 19:09:16 -0600
commit8bb4333a5ea527cc9b53edf509bb9f7c25e42350 (patch)
tree7c7d93e5f098f1f3f0ddd69d123a1feb8446c757 /index.markdown
parentc2ee51c311467177997cfd595f23ec656f1286f7 (diff)
Tweak the way we handle popular guides
Diffstat (limited to 'index.markdown')
-rw-r--r--index.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.markdown b/index.markdown
index 3342be8..bc94738 100644
--- a/index.markdown
+++ b/index.markdown
@@ -31,10 +31,10 @@ Popular guides
--------------
<dl>
- {% for post in site.posts reversed %}{% if post.categories contains "popular" %}
+ {% for post in site.categories.popular reversed %}
<dt><a href="{{ post.url }}" id="{{ cat }}">{{ post.title }}</a></dt>
<dd>{{ post.description }}</dd>
- {% endif %}{% endfor %}
+ {% endfor %}
</dl>
Getting help