diff --git a/pelican/tests/output/basic/categories.html b/pelican/tests/output/basic/categories.html index e5a6a429..934c224b 100644 --- a/pelican/tests/output/basic/categories.html +++ b/pelican/tests/output/basic/categories.html @@ -20,12 +20,13 @@
  • yeah
  • - +

    Categories on A Pelican Blog

    +

    social

    diff --git a/pelican/tests/output/custom/categories.html b/pelican/tests/output/custom/categories.html index ad887b7b..0ab16b05 100644 --- a/pelican/tests/output/custom/categories.html +++ b/pelican/tests/output/custom/categories.html @@ -24,12 +24,13 @@
  • bar
  • - +

    Categories on Alexis' log

    +

    links

    diff --git a/pelican/tests/output/custom_locale/categories.html b/pelican/tests/output/custom_locale/categories.html index 694a2bd6..a9ca139a 100644 --- a/pelican/tests/output/custom_locale/categories.html +++ b/pelican/tests/output/custom_locale/categories.html @@ -24,12 +24,13 @@
  • bar
  • - +

    Categories on Alexis' log

    +

    links

    diff --git a/pelican/themes/simple/templates/categories.html b/pelican/themes/simple/templates/categories.html index ec138480..7999de43 100644 --- a/pelican/themes/simple/templates/categories.html +++ b/pelican/themes/simple/templates/categories.html @@ -3,9 +3,10 @@ {% block title %}{{ SITENAME }} - Categories{% endblock %} {% block content %} -
      -{% for category, articles in categories|sort %} -
    • {{ category }} ({{ articles|count }})
    • -{% endfor %} -
    +

    Categories on {{ SITENAME }}

    +
      + {% for category, articles in categories|sort %} +
    • {{ category }} ({{ articles|count }})
    • + {% endfor %} +
    {% endblock %}