diff options
Diffstat (limited to '')
-rw-r--r-- | categories.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/categories.html b/categories.html new file mode 100644 index 0000000..06f14ce --- /dev/null +++ b/categories.html @@ -0,0 +1,15 @@ +--- +layout: default +title: Categories +groups: + - navbar +navbar_link: <span class="glyphicon glyphicon-th-list"></span> Categories +--- +{% for category in site.categories %} + <h1><a class="category" href="{{ site.baseurl }}{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1> + <ul> + {% for post in category[1] %} + <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} — {{ post.title }}</a></li> + {% endfor %} + </ul> +{% endfor %} |