aboutsummaryrefslogtreecommitdiff
path: root/templates/categories/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/categories/list.html')
-rwxr-xr-xtemplates/categories/list.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html
new file mode 100755
index 0000000..c78c7b0
--- /dev/null
+++ b/templates/categories/list.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+
+{% block content %}
+<section class="section">
+ <div class="container">
+ <div class="has-text-centered">
+ <h1 class="title is-2">
+ <span class="icon">
+ <i class="fas fa-cubes"></i>
+ </span>
+ Categories
+ </h1>
+ <p class='subtitle is-4'>{{ terms | length }} categories in total</p>
+ <p>
+ {% for category in terms %}
+ <a href="{{ get_taxonomy_url(kind='categories', name=category.name) }}" class="mr-4">
+ <span class="icon">
+ <i class="fas fa-cube"></i>
+ </span>
+ <span>{{category.name}} <sup>{{ category.pages | length }}</sup></span>
+ </a>
+ {% endfor %}
+ </p>
+ </div>
+ </div>
+</section>
+{% endblock content %}