Add categories headline
This commit is contained in:
parent
8fe644a993
commit
c80e9bbd2e
@ -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")
|
||||||
|
@ -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%}
|
||||||
|
Loading…
Reference in New Issue
Block a user