diff --git a/theme/templates/cards.html b/theme/templates/cards.html index ed660ae..df2a1fc 100644 --- a/theme/templates/cards.html +++ b/theme/templates/cards.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "page.html" %} {% block content_all %} diff --git a/theme/templates/index.html b/theme/templates/index.html index 2e300e5..baecfd1 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "page.html" %} {% block content_header %} {% endblock content_header %} diff --git a/theme/templates/page.html b/theme/templates/page.html index bc33e6b..d2ebd61 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -1,6 +1,7 @@ {% extends "base.html" %} + {% block title %} - {{ page.title }} - {{ SITENAME }} + {{ page.title }} – {{ SITENAME }} {% endblock %} {% block metadesc %} {% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif %} diff --git a/theme/templates/tag.html b/theme/templates/tag.html index 9983417..c54f162 100644 --- a/theme/templates/tag.html +++ b/theme/templates/tag.html @@ -1,5 +1,13 @@ {% extends "base.html" %} +{% block title %} + Schlagwort: {{ tag }} - {{ SITENAME }} +{% endblock %} +{% block metadesc %} +Alle Einträge zum Schlagwort '{{ tag }}' +{% endblock %} + +{% block content_all %} {% block content_header %}

Schlagwort: {{ tag }}

@@ -26,4 +34,6 @@ {% endblock content_body %} {% block content_footer %} -{% endblock content_footer %} \ No newline at end of file +{% endblock content_footer %} + +{% endblock content_all %} diff --git a/theme/templates/wide-cards.html b/theme/templates/wide-cards.html index 8a16cf0..80ad6ab 100644 --- a/theme/templates/wide-cards.html +++ b/theme/templates/wide-cards.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "page.html" %} {% block content_all%} @@ -16,11 +16,11 @@ original order #} {% do wcards.append(pages | selectattr("slug", "==", wide_card) | list | first) if pages | selectattr("slug", "==", wide_card) | list | first %} {% endfor %} -{# now we can finally iterate over the correct pages (max. 4 pages) #} +{# now we can finally iterate over the correct pages (should be exactly 4 pages so the animation delays work) #} {% for wcard in wcards[:4] %}