mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:51:52 +02:00
Optionally disable footer menu. Enabled by default
This commit is contained in:
parent
cffcd94daa
commit
11120610fd
2 changed files with 14 additions and 11 deletions
|
@ -16,6 +16,7 @@ enableCodeCopy = true
|
|||
# robots = ""
|
||||
|
||||
[footer]
|
||||
showMenu = true
|
||||
showCopyright = true
|
||||
showThemeAttribution = true
|
||||
showAppearanceSwitcher = true
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<footer class="py-10 print:hidden">
|
||||
{{/* Footer menu */}}
|
||||
{{ if .Site.Params.footer.showMenu }}
|
||||
{{ if .Site.Menus.footer }}
|
||||
<nav class="pb-4 text-base font-medium text-neutral-500 dark:text-neutral-400">
|
||||
<ul class="flex flex-col list-none sm:flex-row">
|
||||
|
@ -12,6 +13,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div class="flex items-center justify-between">
|
||||
|
||||
{{/* Copyright */}}
|
||||
|
|
Loading…
Add table
Reference in a new issue