mirror of
https://github.com/wezm/wezm.net.git
synced 2025-04-08 04:30:42 +00:00
Add <header> landmark to page and section
This commit is contained in:
parent
13f34d365b
commit
b03dae8fd9
2 changed files with 14 additions and 2 deletions
v2/templates
|
@ -27,7 +27,13 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% 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>
|
<nav>
|
||||||
{% for ancestor in page.ancestors %}
|
{% for ancestor in page.ancestors %}
|
||||||
|
|
|
@ -3,7 +3,13 @@
|
||||||
{% block title %}{{ section.title }} - {{ config.title }}{% endblock %}
|
{% block title %}{{ section.title }} - {{ config.title }}{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% 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>
|
<nav>
|
||||||
{% for ancestor in section.ancestors %}
|
{% for ancestor in section.ancestors %}
|
||||||
|
|
Loading…
Reference in a new issue