small changes to page metadata

This commit is contained in:
eclipse 2025-04-01 11:19:28 +02:00
parent d9d8068b4c
commit 9a14595f9c
3 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ article.title }} {{ SITENAME }}{% endblock %}
{% block metadesc %}{% if article.summary %}{{ article.summary | e }}{% else %}An Article in {{ SITETAG }}: {{ article.title }}{% endif %}{% endblock %}
{% block metadesc %}{% if article.summary %}{{ article.summary | striptags | e }}{% else %}{{ article.title }}{% endif %}{% endblock %}
{% block content_all %}
<article>

View File

@ -1,5 +1,7 @@
{% extends "page.html" %}
{% block title %}{{ SITENAME }}, {{ SITESUBTITLE }}{% endblock %}
{% block content_header %}
{% endblock content_header %}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Schlagwort: {{ tag }} {{ SITENAME }}{% endblock %}
{% block metadesc %}Alle Einträge zum Schlagwort '{{ tag }}'{% endblock %}
{% block metadesc %}All meine Bücher, Texte und Einträge zum Schlagwort '{{ tag }}'{% endblock %}
{% block content_all %}
{% block content_header %}