-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategories.html
More file actions
24 lines (23 loc) · 648 Bytes
/
categories.html
File metadata and controls
24 lines (23 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
layout: page
title: Available categories
---
<div>
<div>
{% for tag in site.categories %}<a href="#{{ tag[0] | slugify }}">{{ tag[0] }}</a>{% if forloop.last == false %}, {% endif %}{% endfor %}
</div>
<hr>
<div>
{% for tag in site.categories %}
<h2 id="{{ tag[0] | slugify }}">{{ tag[0] }}</h2>
<ul>
{% for post in tag[1] %}
<li>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<small>{{ post.date | date_to_string }}</small>
</li>
{% endfor %}
</ul>
{% endfor %}
</div>
</div>