Add categories
This commit is contained in:
parent
501578a66b
commit
9eddb24fc2
|
@ -5,5 +5,20 @@ vim: ts=2 noexpandtab
|
||||||
{% block title %}{{ super() }} - Categories{% endblock%}
|
{% block title %}{{ super() }} - Categories{% endblock%}
|
||||||
{% set active_page = "categories" %}
|
{% set active_page = "categories" %}
|
||||||
{% block content %}
|
{% 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%}
|
{% endblock content%}
|
||||||
|
|
Loading…
Reference in a new issue