1
0
Fork 0
forked from github/pelican

Add missing <ul> element to index.html template in notmyidea theme (#2545)

This commit is contained in:
Boian Berberov 2020-04-12 20:03:48 +00:00 committed by GitHub
commit fc8a3c719f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,10 +50,16 @@
{% endfor %}
{% else %}
<section id="content" class="body">
<h2>Pages</h2>
{% if pages %}
<h2>Pages</h2>
<ul>
{% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
{% else %}
<p>This site currently has no content.</p>
{% endif %}
</section>
{% endif %}
{% endblock content %}