diff options
Diffstat (limited to 'templates/tags')
| -rw-r--r-- | templates/tags/list.html | 15 | ||||
| -rw-r--r-- | templates/tags/single.html | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html index 2dd3497..e03b6df 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -1,5 +1,20 @@ {% extends "base.html" %} +{%- block seo %} + {{- super() }} + {%- set title = "Tags" %} + + {%- 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> <center> diff --git a/templates/tags/single.html b/templates/tags/single.html index d9d03eb..b4428ff 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -1,5 +1,20 @@ {% extends "base.html" %} +{%- block seo %} + {{- super() }} + {%- set title = term.name ~ " tag" %} + + {%- 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> |
