feat: Skip to content link

This commit is contained in:
daudix
2024-02-04 00:32:33 +03:00
parent 2d5a0f0c7b
commit e4246c69b8
6 changed files with 74 additions and 65 deletions

View File

@ -3,7 +3,7 @@
{% include "includes/head.html" ignore missing -%}
<body>
{% include "includes/nav.html" ignore missing -%}
<div class="container">
<div id="main" class="container">
{% block custom %}{%- endblock -%}
{% block content %}{%- endblock -%}
</div>

View File

@ -1,5 +1,6 @@
<header id="site-nav">
<nav>
<header>
<a href="#main" class="main-content" tabindex="0">Skip to main content</a>
<nav id="site-nav">
<ul>
<li id="home">
<a href="{{ get_url(path='') }}">{{ config.title }}</a>