Add categories

This commit is contained in:
sqozz 2017-12-28 03:14:35 +01:00
parent 501578a66b
commit 9eddb24fc2

View file

@ -5,5 +5,20 @@ vim: ts=2 noexpandtab
{% block title %}{{ super() }} - Categories{% endblock%}
{% set active_page = "categories" %}
{% block content %}
<p>CATEGORIES</p>
<p>
<ul>
{% for category in categories %}
<li>
{{ category }}
<ul>
{% for sub_category in categories[category] %}
<li>
{{ sub_category }}
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</p>
{% endblock content%}