diff --git a/pelican/tests/output/basic/categories.html b/pelican/tests/output/basic/categories.html index 930503a87..f6c17dd5f 100644 --- a/pelican/tests/output/basic/categories.html +++ b/pelican/tests/output/basic/categories.html @@ -22,13 +22,17 @@

A Pelican Blog

  • yeah
  • -

    Categories on A Pelican Blog

    + +
    +

    Categories for A Pelican Blog

    +
    +

    social

    diff --git a/pelican/tests/output/custom/categories.html b/pelican/tests/output/custom/categories.html index 543eb1ee6..74990d4b5 100644 --- a/pelican/tests/output/custom/categories.html +++ b/pelican/tests/output/custom/categories.html @@ -26,13 +26,17 @@

    Alexis' log A personal blog.

  • bar
  • -

    Categories on Alexis' log

    + +
    +

    Categories for Alexis' log

    +
    +

    links

    diff --git a/pelican/tests/output/custom_locale/categories.html b/pelican/tests/output/custom_locale/categories.html index 0d46b9a07..1decaabda 100644 --- a/pelican/tests/output/custom_locale/categories.html +++ b/pelican/tests/output/custom_locale/categories.html @@ -26,13 +26,17 @@

    Alexis' log

  • bar
  • -

    Categories on Alexis' log

    + +
    +

    Categories for Alexis' log

    +
    +

    links

    diff --git a/pelican/themes/notmyidea/templates/categories.html b/pelican/themes/notmyidea/templates/categories.html new file mode 100644 index 000000000..07f6290a4 --- /dev/null +++ b/pelican/themes/notmyidea/templates/categories.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block content %} + +
    +

    Categories for {{ SITENAME }}

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