Permalink
Browse files

.

  • Loading branch information...
1 parent 0b8b560 commit af28c17a3c0d7ebfecb3bfe6a0f062e530e50554 lijun committed Jun 15, 2013
Showing with 8 additions and 2 deletions.
  1. +8 −2 index.html
View
@@ -4,8 +4,14 @@
---
<p>{{ page.title }}</p>
-
<ul>
-
+ {% for category in site.categories %}
+ {% if category[0] == 'archive' %}
+ {% for post in category[1] limit:3 %}
+  <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
+  <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.data }}</a></li>
+ {% endfor %}
+ {% endif %}
+ {% endfor %}
</ul>

0 comments on commit af28c17

Please sign in to comment.