TorrentIndexer/templates/categories.html
2017-12-28 05:07:42 +01:00

25 lines
504 B
HTML

<!--
vim: ts=2 noexpandtab
-->
{% extends "index.html" %}
{% block title %}{{ super() }} - Categories{% endblock%}
{% set active_page = "categories" %}
{% block content %}
<p>
<ul>
{% for category in categories %}
<li>
<a href="search?c={{ category }}">{{ category }}</a>
<ul>
{% for sub_category in categories[category] %}
<li>
<a href="search?s={{ sub_category }}">{{ sub_category }}</a>
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</p>
{% endblock content%}