aboutsummaryrefslogtreecommitdiff
path: root/templates/categories/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/categories/single.html')
-rw-r--r--templates/categories/single.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/categories/single.html b/templates/categories/single.html
index 0fe639d..f1c5cfe 100644
--- a/templates/categories/single.html
+++ b/templates/categories/single.html
@@ -1,5 +1,20 @@
{% extends "base.html" %}
+{%- block seo %}
+ {{- super() }}
+ {%- set title = term.name ~ " category" %}
+
+ {%- if config.title %}
+ {%- set title_addition = title_separator ~ config.title %}
+ {%- else %}
+ {%- set title_addition = "" %}
+ {%- endif %}
+
+ {%- set description = config.description %}
+
+ {{- macros_head::seo(title=title, title_addition=title_addition, description=description, is_home=true) }}
+{%- endblock seo %}
+
{%- block content %}
<div>
<h2>{{ term.name }}</h2>