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"> <header id="site-nav">
<nav> <nav>
<a href="#main" id="main-content" tabindex="0">Skip to main content</a> <a href="#main" id="main-content" tabindex="0">Skip to main content</a>
@ -27,3 +28,4 @@
</ul> </ul>
</nav> </nav>
</header> </header>
{% endif %}

View File

@ -12,9 +12,6 @@ date_format = "%d %B %Y"
issues_url = "" issues_url = ""
source_url = "" source_url = ""
[extra.nav]
links = []
[author] [author]
name = "David Lapshin" name = "David Lapshin"
homepage = "https://daudix.codeberg.page" homepage = "https://daudix.codeberg.page"