small fixes

This commit is contained in:
eclipse 2025-02-10 14:55:04 +01:00
parent 1c9b760d38
commit 3a641da3c9
2 changed files with 10 additions and 13 deletions

View File

@ -6,17 +6,15 @@ article.title }}{% endif
{% block content_header %}
<article>
<header>
<header id="main-header">
<h1>{{ article.title }}</h1>
</header>
{% endblock content_header %}
</header>
{% endblock content_header %}
{% block content_body %}
{{ article.content }}
{% endblock content_body %}
{% block content_body %}
<article>{{ article.content }}</article>
{% endblock content_body %}
{% block content_footer %}
<footer>ISBN: Bla</footer>
</article>
{% block content_footer %}
<footer>ISBN: Bla</footer>
{% endblock content_footer %}

View File

@ -1,9 +1,8 @@
{% extends "base.html" %}
{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %}
{% block metadesc %}{% if page.summary %}{{ page.summary|e }}{% else %}A Page in {{ SITETAG }}: {{ page.title }}{% endif
{% block metadesc %}{% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif
%}{% endblock %}
{% block content_header %}
<header id="main-header">
<h1>{{ page.title }}</h1>