Add categories headline

This commit is contained in:
sqozz 2017-12-28 21:51:16 +01:00
parent 8fe644a993
commit c80e9bbd2e
2 changed files with 3 additions and 3 deletions

View File

@ -193,4 +193,4 @@ if __name__ == "__main__":
app.jinja_env.globals.update(getLocalString=getLocalString)
app.jinja_env.globals.update(json=json)
app.jinja_env.globals.update(sorted=sorted)
app.run(debug=True, host="0.0.0.0")
app.run(debug=True, host="127.0.0.1")

View File

@ -9,7 +9,7 @@ vim: ts=2 noexpandtab
<h2 class="headline">Categories</h2>
<div id="categories">
{% for category in categories %}
<span>
<div>
<ul>
<li>
<a href="search?c={{ category }}">{{ category }}</a>
@ -22,7 +22,7 @@ vim: ts=2 noexpandtab
</ul>
</li>
</ul>
</span>
</div>
{% endfor %}
</div>
{% endblock content%}