summaryrefslogtreecommitdiff
path: root/index.markdown
diff options
context:
space:
mode:
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