mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 07:41:53 +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 = ""
|
# robots = ""
|
||||||
|
|
||||||
[footer]
|
[footer]
|
||||||
|
showMenu = true
|
||||||
showCopyright = true
|
showCopyright = true
|
||||||
showThemeAttribution = true
|
showThemeAttribution = true
|
||||||
showAppearanceSwitcher = true
|
showAppearanceSwitcher = true
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<footer class="py-10 print:hidden">
|
<footer class="py-10 print:hidden">
|
||||||
{{/* Footer menu */}}
|
{{/* Footer menu */}}
|
||||||
|
{{ if .Site.Params.footer.showMenu }}
|
||||||
{{ if .Site.Menus.footer }}
|
{{ if .Site.Menus.footer }}
|
||||||
<nav class="pb-4 text-base font-medium text-neutral-500 dark:text-neutral-400">
|
<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">
|
<ul class="flex flex-col list-none sm:flex-row">
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
|
|
||||||
{{/* Copyright */}}
|
{{/* Copyright */}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue