Make the navbar non-mandatory

I can imagine duckquill being used for one-page sites that simply don't need it, plus we can get rid of one more variable from theme.toml
This commit is contained in:
David Lapshin
2024-05-02 00:32:32 +03:00
parent a0010fff07
commit af84b56ede
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,4 @@
{% if config.extra.nav.links %}
<header id="site-nav">
<nav>
<a href="#main" id="main-content" tabindex="0">Skip to main content</a>
@ -27,3 +28,4 @@
</ul>
</nav>
</header>
{% endif %}