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:
@ -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 %}
|
||||
|
@ -12,9 +12,6 @@ date_format = "%d %B %Y"
|
||||
issues_url = ""
|
||||
source_url = ""
|
||||
|
||||
[extra.nav]
|
||||
links = []
|
||||
|
||||
[author]
|
||||
name = "David Lapshin"
|
||||
homepage = "https://daudix.codeberg.page"
|
||||
|
Reference in New Issue
Block a user