forked from github/pelican
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
|
|
@ -26,7 +26,10 @@
|
|||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<h1>Authors on A Pelican Blog</h1> <li><a href="/author/alexis-metaireau.html">Alexis Métaireau</a> (2)</li>
|
||||
<h1>Authors on A Pelican Blog</h1>
|
||||
<ul>
|
||||
<li><a href="/author/alexis-metaireau.html">Alexis Métaireau</a> (2)</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
@ -48,4 +51,4 @@
|
|||
</footer><!-- /#contentinfo -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -26,12 +26,15 @@
|
|||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<h1>Tags for A Pelican Blog</h1> <li><a href="/tag/bar.html">bar</a> (3)</li>
|
||||
<h1>Tags for A Pelican Blog</h1>
|
||||
<ul>
|
||||
<li><a href="/tag/bar.html">bar</a> (3)</li>
|
||||
<li><a href="/tag/baz.html">baz</a> (1)</li>
|
||||
<li><a href="/tag/foo.html">foo</a> (2)</li>
|
||||
<li><a href="/tag/foobar.html">foobar</a> (1)</li>
|
||||
<li><a href="/tag/oh.html">oh</a> (1)</li>
|
||||
<li><a href="/tag/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
@ -53,4 +56,4 @@
|
|||
</footer><!-- /#contentinfo -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@
|
|||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<h1>Authors on Alexis' log</h1> <li><a href="./author/alexis-metaireau.html">Alexis Métaireau</a> (10)</li>
|
||||
<h1>Authors on Alexis' log</h1>
|
||||
<ul>
|
||||
<li><a href="./author/alexis-metaireau.html">Alexis Métaireau</a> (10)</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
@ -76,4 +79,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -30,12 +30,15 @@
|
|||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<h1>Tags for Alexis' log</h1> <li><a href="./tag/bar.html">bar</a> (3)</li>
|
||||
<h1>Tags for Alexis' log</h1>
|
||||
<ul>
|
||||
<li><a href="./tag/bar.html">bar</a> (3)</li>
|
||||
<li><a href="./tag/baz.html">baz</a> (1)</li>
|
||||
<li><a href="./tag/foo.html">foo</a> (2)</li>
|
||||
<li><a href="./tag/foobar.html">foobar</a> (1)</li>
|
||||
<li><a href="./tag/oh.html">oh</a> (1)</li>
|
||||
<li><a href="./tag/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
@ -81,4 +84,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -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