mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Optionally disable footer menu. Enabled by default
This commit is contained in:
@@ -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 */}}
|
||||||
|
|||||||
Reference in New Issue
Block a user