2015-02-15 03:48:39 +01:00
|
|
|
<!--
|
|
|
|
vim: ts=2 noexpandtab
|
|
|
|
-->
|
|
|
|
{% extends "index.html" %}
|
|
|
|
{% block title %}{{ super() }} - Categories{% endblock%}
|
|
|
|
{% set active_page = "categories" %}
|
|
|
|
{% block content %}
|
2017-12-28 03:14:35 +01:00
|
|
|
<p>
|
|
|
|
<ul>
|
|
|
|
{% for category in categories %}
|
|
|
|
<li>
|
2017-12-28 05:07:42 +01:00
|
|
|
<a href="search?c={{ category }}">{{ category }}</a>
|
2017-12-28 03:14:35 +01:00
|
|
|
<ul>
|
|
|
|
{% for sub_category in categories[category] %}
|
|
|
|
<li>
|
2017-12-28 05:07:42 +01:00
|
|
|
<a href="search?s={{ sub_category }}">{{ sub_category }}</a>
|
2017-12-28 03:14:35 +01:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</p>
|
2015-02-15 03:48:39 +01:00
|
|
|
{% endblock content%}
|