TorrentIndexer/templates/categories.html
2017-12-28 19:13:27 +01:00

29 lines
693 B
HTML

<!--
vim: ts=2 noexpandtab
-->
{% extends "index.html" %}
{% block title %}{{ super() }} - Categories{% endblock%}
{% set active_page = "categories" %}
{% block content %}
<link href="{{ url_for("static", filename="css/categories.css") }}" rel="stylesheet">
<h2 class="headline">Categories</h2>
<div id="categories">
{% for category in categories %}
<span>
<ul>
<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>
</ul>
</span>
{% endfor %}
</div>
{% endblock content%}