From b03dae8fd9ab4d437530ef599966db7072d438c3 Mon Sep 17 00:00:00 2001 From: Di <didoesdigital+git@gmail.com> Date: Thu, 20 Feb 2025 22:01:59 +1000 Subject: [PATCH] Add <header> landmark to page and section --- v2/templates/page.html | 8 +++++++- v2/templates/section.html | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/v2/templates/page.html b/v2/templates/page.html index e160a8a..6060195 100644 --- a/v2/templates/page.html +++ b/v2/templates/page.html @@ -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 %} diff --git a/v2/templates/section.html b/v2/templates/section.html index fc2c6ba..4f947b7 100644 --- a/v2/templates/section.html +++ b/v2/templates/section.html @@ -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 %}