mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
f7fcbe7dc9
commit
c461c6435d
1 changed files with 4 additions and 4 deletions
|
|
@ -41,12 +41,12 @@
|
||||||
</div><!-- /.entry-content -->
|
</div><!-- /.entry-content -->
|
||||||
</article></li>
|
</article></li>
|
||||||
{% endif %}
|
{% 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 %}
|
{% if loop.last %}
|
||||||
</ol><!-- /#posts-list -->
|
</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 -->
|
</section><!-- /#content -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue