From 459a13bf79fad103f2305debf849ed25d1e37d34 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Wed, 12 Feb 2014 11:47:22 +0100 Subject: [PATCH] HTML error in notmyidea:
  • not allowed in
    .
  • tags need to be inside of
      or
        . Thanks to the w3c_validate plugin for finding this. --- pelican/tests/output/basic/authors.html | 7 +++++-- pelican/tests/output/basic/tags.html | 7 +++++-- pelican/tests/output/custom/authors.html | 7 +++++-- pelican/tests/output/custom/tags.html | 7 +++++-- pelican/themes/notmyidea/templates/authors.html | 4 +++- pelican/themes/notmyidea/templates/tags.html | 5 +++-- 6 files changed, 26 insertions(+), 11 deletions(-) diff --git a/pelican/tests/output/basic/authors.html b/pelican/tests/output/basic/authors.html index 4022cbab..20df01d2 100644 --- a/pelican/tests/output/basic/authors.html +++ b/pelican/tests/output/basic/authors.html @@ -26,7 +26,10 @@
        -

        Authors on A Pelican Blog

      1. Alexis Métaireau (2)
      2. +

        Authors on A Pelican Blog

        +
        @@ -48,4 +51,4 @@ - \ No newline at end of file + diff --git a/pelican/tests/output/basic/tags.html b/pelican/tests/output/basic/tags.html index 8172f6ae..0eda47d7 100644 --- a/pelican/tests/output/basic/tags.html +++ b/pelican/tests/output/basic/tags.html @@ -26,12 +26,15 @@
        -

        Tags for A Pelican Blog

      3. bar (3)
      4. +

        Tags for A Pelican Blog

        +
        @@ -53,4 +56,4 @@ - \ No newline at end of file + diff --git a/pelican/tests/output/custom/authors.html b/pelican/tests/output/custom/authors.html index eb2becfd..d9aaef34 100644 --- a/pelican/tests/output/custom/authors.html +++ b/pelican/tests/output/custom/authors.html @@ -30,7 +30,10 @@
        -

        Authors on Alexis' log

      5. Alexis Métaireau (10)
      6. +

        Authors on Alexis' log

        +
        @@ -76,4 +79,4 @@ }()); - \ No newline at end of file + diff --git a/pelican/tests/output/custom/tags.html b/pelican/tests/output/custom/tags.html index 2e70c9e8..ba8d53a4 100644 --- a/pelican/tests/output/custom/tags.html +++ b/pelican/tests/output/custom/tags.html @@ -30,12 +30,15 @@
        -

        Tags for Alexis' log

      7. bar (3)
      8. +

        Tags for Alexis' log

        +
        @@ -81,4 +84,4 @@ }()); - \ No newline at end of file + diff --git a/pelican/themes/notmyidea/templates/authors.html b/pelican/themes/notmyidea/templates/authors.html index b145902e..e61a332f 100644 --- a/pelican/themes/notmyidea/templates/authors.html +++ b/pelican/themes/notmyidea/templates/authors.html @@ -6,9 +6,11 @@

        Authors on {{ SITENAME }}

        - {%- for author, articles in authors|sort %} +
          + {% for author, articles in authors|sort %}
        • {{ author }} ({{ articles|count }})
        • {% endfor %} +
        {% endblock %} diff --git a/pelican/themes/notmyidea/templates/tags.html b/pelican/themes/notmyidea/templates/tags.html index 76955f27..fb099557 100644 --- a/pelican/themes/notmyidea/templates/tags.html +++ b/pelican/themes/notmyidea/templates/tags.html @@ -6,10 +6,11 @@

        Tags for {{ SITENAME }}

        - - {%- for tag, articles in tags|sort %} +
          + {% for tag, articles in tags|sort %}
        • {{ tag }} ({{ articles|count }})
        • {% endfor %} +
        {% endblock %}