aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/categories.html
blob: 06f14ceb72b0f7788832abe2037942968ef89329 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
layout: default
title: Categories
groups:
  - navbar
navbar_link: <span class="glyphicon glyphicon-th-list"></span>&nbsp;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" }} &mdash; {{ post.title }}</a></li>
    {% endfor %}
  </ul>
{% endfor %}