More Streamlining

This commit is contained in:
Patrick Jentsch
2024-05-03 15:08:57 +02:00
parent 43b38b2216
commit a03b5918d9
18 changed files with 63 additions and 153 deletions

View File

@ -1,10 +1,14 @@
{% if title is not defined %}
{% set title = 'Title' %}
{% endif %}
{% block doc %}
<!DOCTYPE html>
<html{% block html_attribs %}{% endblock html_attribs %}>
<html {% block html_attribs %}{% endblock html_attribs %}>
{% block html %}
<head>
{% block head %}
<title>{% block title %}{{title|default}}{% endblock title %}</title>
<title>{% block title %}{{ title }}{% endblock title %}</title>
{% block metas %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -16,9 +20,9 @@
{% endblock styles %}
{% endblock head %}
</head>
<body{% block body_attribs %}{% endblock body_attribs %}>
<body {% block body_attribs %}{% endblock body_attribs %}>
{% block body %}
<header{% block header_attribs %}{% endblock header_attribs %}>
<header {% block header_attribs %}{% endblock header_attribs %}>
{% block header %}
{% block navbar %}
{% endblock navbar %}
@ -27,11 +31,11 @@
{% endblock header %}
</header>
<main{% block main_attribs %}{% endblock main_attribs %}>
<main {% block main_attribs %}{% endblock main_attribs %}>
{% block main %}{% endblock main %}
</main>
<footer{% block footer_attribs %}{% endblock footer_attribs %}>
<footer {% block footer_attribs %}{% endblock footer_attribs %}>
{% block footer %}{% endblock footer %}
</footer>