diff options
| author | Ahmed M Alaa <aa@4b.cx> | 2022-12-05 14:48:27 +0200 |
|---|---|---|
| committer | Ahmed M Alaa <aa@4b.cx> | 2022-12-05 14:48:27 +0200 |
| commit | 7daa254c0b2be4055a40ef320f44e7d066dca753 (patch) | |
| tree | a1e5998194299808803a8812d7fe283a0fae0e75 /templates/categories/list.html | |
| parent | 2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 (diff) | |
added: default taxonomies templates, custom nav links
Diffstat (limited to 'templates/categories/list.html')
| -rw-r--r-- | templates/categories/list.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html new file mode 100644 index 0000000..83b74fb --- /dev/null +++ b/templates/categories/list.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block header %} +<p><a href="{{ current_path }}..">..</a>{{ current_path }}</p> +<h1>{{ taxonomy.name }}</h1> +{% endblock header %} + +{% block content %} +<ul> +{% for term in terms %} + <li> + <a href="{{ term.permalink | safe }}">{{ term.name }}</a> [{{ term.pages | length }}] + </li> +{% endfor %} +</ul> +{% endblock content %}
\ No newline at end of file |
