forked from github/pelican
Merge pull request #1265 from mlang/valid-html
Fix notmyidea theme's HTML tags
This commit is contained in:
commit
de3475aa64
16 changed files with 42 additions and 40 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>
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ YEAH !</p>
|
|||
</div>
|
||||
</article>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
|
|
@ -67,4 +65,4 @@ YEAH !</p>
|
|||
</footer><!-- /#contentinfo -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@
|
|||
</div>
|
||||
</article>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
|
|
@ -77,4 +75,4 @@
|
|||
</footer><!-- /#contentinfo -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@
|
|||
</div>
|
||||
</article>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
|
|
@ -77,4 +75,4 @@
|
|||
</footer><!-- /#contentinfo -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ YEAH !</p>
|
|||
</div>
|
||||
</article>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
|
|
@ -67,4 +65,4 @@ YEAH !</p>
|
|||
</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>
|
||||
|
|
|
|||
|
|
@ -55,8 +55,6 @@ YEAH !</p>
|
|||
Page 1 / 1
|
||||
</p>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<h2>blogroll</h2>
|
||||
|
|
@ -100,4 +98,4 @@ YEAH !</p>
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -63,8 +63,6 @@
|
|||
Page 1 / 1
|
||||
</p>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<h2>blogroll</h2>
|
||||
|
|
@ -108,4 +106,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -63,8 +63,6 @@
|
|||
Page 1 / 1
|
||||
</p>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<h2>blogroll</h2>
|
||||
|
|
@ -108,4 +106,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -55,8 +55,6 @@ YEAH !</p>
|
|||
Page 1 / 1
|
||||
</p>
|
||||
</aside><!-- /#featured -->
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<h2>blogroll</h2>
|
||||
|
|
@ -100,4 +98,4 @@ YEAH !</p>
|
|||
}());
|
||||
</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 %}
|
||||
|
|
|
|||
|
|
@ -42,12 +42,15 @@
|
|||
</article></li>
|
||||
{% endif %}
|
||||
{% if loop.last %}
|
||||
</ol><!-- /#posts-list -->
|
||||
{% if loop.last and (articles_page.has_previous()
|
||||
or not articles_page.has_previous() and loop.length > 1) %}
|
||||
{% if loop.length > 1 %}
|
||||
</ol><!-- /#posts-list -->
|
||||
{% endif %}
|
||||
{% if articles_page.has_previous() or loop.length > 1 %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
</section><!-- /#content -->
|
||||
{% if loop.length > 1 %}
|
||||
</section><!-- /#content -->
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% endfor %}</p>{% endif %}
|
||||
{% if PDF_PROCESSOR %}<p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a></p>{% endif %}
|
||||
|
|
|
|||
|
|
@ -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