1
0
Fork 0
forked from github/pelican

Fix HTML5 conformance of the notmyidea template

The W3C validator complained that the pagination <p> was inside an <ol>.
So just move it out of there.
This commit is contained in:
Michael Guntsche 2012-06-16 19:53:53 +02:00
commit c461c6435d

View file

@ -41,12 +41,12 @@
</div><!-- /.entry-content -->
</article></li>
{% endif %}
{% if loop.last and (articles_page.has_previous()
or not articles_page.has_previous() and loop.length > 1) %}
{% include 'pagination.html' %}
{% 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) %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endif %}
{% endfor %}