1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2025-04-03 02:10:42 +00:00

Add <header> landmark to page and section

This commit is contained in:
Di 2025-02-20 22:01:59 +10:00 committed by Wesley Moore
parent 13f34d365b
commit b03dae8fd9
2 changed files with 14 additions and 2 deletions

View file

@ -27,7 +27,13 @@
{% endblock %}
{% block body %}
<h1 class="logo"><a href="{{ config.base_url }}/" class="no-border hover-underline">👨‍💻 {{ config.title }}</a></h1>
<header>
<h1 class="logo">
<a href="{{ config.base_url }}/" class="no-border hover-underline"
>👨‍💻 {{ config.title }}</a
>
</h1>
</header>
<nav>
{% for ancestor in page.ancestors %}

View file

@ -3,7 +3,13 @@
{% block title %}{{ section.title }} - {{ config.title }}{% endblock %}
{% block body %}
<h1 class="logo"><a href="{{ config.base_url }}/" class="no-border hover-underline">👨‍💻 {{ config.title }}</a></h1>
<header>
<h1 class="logo">
<a href="{{ config.base_url }}/" class="no-border hover-underline"
>👨‍💻 {{ config.title }}</a
>
</h1>
</header>
<nav>
{% for ancestor in section.ancestors %}