chore: Make the titles h2 rather than h1

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-06-01 17:06:57 +03:00
parent 59f8663011
commit fd51da590e
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
3 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@
{% endfor %} {% endfor %}
</nav> </nav>
{% endif %} {% endif %}
{% block header %}{% if title %}<h1>{{ config.title }}</h1>{% endif %}{% endblock header %} {% block header %}{% if title %}<h2>{{ config.title }}</h2>{% endif %}{% endblock header %}
</header> </header>
<main class="page-content" aria-label="Content"> <main class="page-content" aria-label="Content">
{% block content %}{% endblock content %} {% block content %}{% endblock content %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block header %} {% block header %}
<h1>{{ page.title }}</h1> <h2>{{ page.title }}</h2>
{% endblock header %} {% endblock header %}
{% block content %} {% block content %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block header %} {% block header %}
<h1>{{ section.title }}</h1> <h2>{{ section.title }}</h2>
{% endblock header %} {% endblock header %}
{% block content %} {% block content %}