From c461c6435df87bb0407d3459719e3278ffb5d55c Mon Sep 17 00:00:00 2001 From: Michael Guntsche Date: Sat, 16 Jun 2012 19:53:53 +0200 Subject: [PATCH] Fix HTML5 conformance of the notmyidea template The W3C validator complained that the pagination

was inside an

    . So just move it out of there. --- pelican/themes/notmyidea/templates/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pelican/themes/notmyidea/templates/index.html b/pelican/themes/notmyidea/templates/index.html index de607152..8752a6b6 100644 --- a/pelican/themes/notmyidea/templates/index.html +++ b/pelican/themes/notmyidea/templates/index.html @@ -41,12 +41,12 @@ {% 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 and (articles_page.has_previous() + or not articles_page.has_previous() and loop.length > 1) %} + {% include 'pagination.html' %} + {% endif %} {% endif %} {% endfor %}