1
0
Fork 0
forked from github/pelican

Add missing ul tag in tags list in simple theme

There are some li elements generated without a ul/ol around them.
Besides being malformed html, this results in there being no margin that
lists normally have.
This commit is contained in:
Allen Zheng 2018-07-05 10:12:10 -04:00
commit bf16faf1e2

View file

@ -4,7 +4,9 @@
{% block content %}
<h1>Tags for {{ SITENAME }}</h1>
<ul>
{%- for tag, articles in tags|sort %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
{% endblock %}