mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
HTML error in notmyidea: <li> not allowed in <section>.
<li> tags need to be inside of <ul> or <ol>. Thanks to the w3c_validate plugin for finding this.
This commit is contained in:
parent
c00d808bf8
commit
459a13bf79
6 changed files with 26 additions and 11 deletions
|
|
@ -6,9 +6,11 @@
|
|||
|
||||
<section id="content" class="body">
|
||||
<h1>Authors on {{ SITENAME }}</h1>
|
||||
{%- for author, articles in authors|sort %}
|
||||
<ul>
|
||||
{% for author, articles in authors|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@
|
|||
|
||||
<section id="content" class="body">
|
||||
<h1>Tags for {{ SITENAME }}</h1>
|
||||
|
||||
{%- for tag, articles in tags|sort %}
|
||||
<ul>
|
||||
{% for tag, articles in tags|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue