diff options
Diffstat (limited to 'templates/categories/list.html')
| -rw-r--r-- | templates/categories/list.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html new file mode 100644 index 0000000..89bbc23 --- /dev/null +++ b/templates/categories/list.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block content %} + <div> + <center> + <h1>{{ terms | length }} Categories</h1> + <p>{% for term in terms -%}[<a href="#{{ term.name }}">{{ term.name }}</a>] {%- endfor %}</p> + </center> + {% for term in terms -%}<h2 id="{{ term.name }}"><a href="{{ term.permalink | safe }}">{{ term.name }}</a></h2> + {% for page in term.pages -%}<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p> + {% endfor -%}{% endfor -%} +</div>{% endblock content %} |
