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 %} {% block content_header %}
<article> <header id="main-header">
<header>
<h1>{{ article.title }}</h1> <h1>{{ article.title }}</h1>
</header> </header>
{% endblock content_header %} {% endblock content_header %}
{% block content_body %} {% block content_body %}
{{ article.content }} <article>{{ article.content }}</article>
{% endblock content_body %} {% endblock content_body %}
{% block content_footer %} {% block content_footer %}
<footer>ISBN: Bla</footer> <footer>ISBN: Bla</footer>
</article>
{% endblock content_footer %} {% endblock content_footer %}

View File

@ -1,9 +1,8 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %} {% 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 %} %}{% endblock %}
{% block content_header %} {% block content_header %}
<header id="main-header"> <header id="main-header">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>