forked from github/pelican
Add missing <ul> element to index.html template in notmyidea theme (#2545)
This commit is contained in:
parent
276a14ae05
commit
fc8a3c719f
1 changed files with 7 additions and 1 deletions
|
|
@ -50,10 +50,16 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<section id="content" class="body">
|
<section id="content" class="body">
|
||||||
<h2>Pages</h2>
|
{% if pages %}
|
||||||
|
<h2>Pages</h2>
|
||||||
|
<ul>
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% else %}
|
||||||
|
<p>This site currently has no content.</p>
|
||||||
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue