28 lines
722 B
HTML
28 lines
722 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 %}
|
|
<div>
|
|
<ul>
|
|
<li>
|
|
<a href="search?c={{ category.id }}">{{ category.label }}</a>
|
|
<ul>
|
|
{% for sub_category in category.subcategories %}
|
|
<li>
|
|
<a href="search?s={{ sub_category.id }}">{{ sub_category.label }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock content%}
|