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(getLocalString=getLocalString)
app.jinja_env.globals.update(json=json) app.jinja_env.globals.update(json=json)
app.jinja_env.globals.update(sorted=sorted) 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> <h2 class="headline">Categories</h2>
<div id="categories"> <div id="categories">
{% for category in categories %} {% for category in categories %}
<span> <div>
<ul> <ul>
<li> <li>
<a href="search?c={{ category }}">{{ category }}</a> <a href="search?c={{ category }}">{{ category }}</a>
@ -22,7 +22,7 @@ vim: ts=2 noexpandtab
</ul> </ul>
</li> </li>
</ul> </ul>
</span> </div>
{% endfor %} {% endfor %}
</div> </div>
{% endblock content%} {% endblock content%}