mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Use new .Site.Data.navbar.enable and .Site.Data.footer.enable
This commit is contained in:
@@ -8,12 +8,12 @@
|
|||||||
|
|
||||||
<body class="{{ if .Params.white_bg }}bg-white dark:bg-gray-900{{ else }}bg-gray-50 dark:bg-gray-800{{ end }}">{{ end }}
|
<body class="{{ if .Params.white_bg }}bg-white dark:bg-gray-900{{ else }}bg-gray-50 dark:bg-gray-800{{ end }}">{{ end }}
|
||||||
{{ partial "skippy" . }}
|
{{ partial "skippy" . }}
|
||||||
{{ if .Site.Params.navbar.enable }}
|
{{ if .Site.Data.navbar.enable }}
|
||||||
{{ partial "nav/main" . }}
|
{{ partial "nav/main" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ block "main" . }}
|
{{ block "main" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if ( .Site.Params.footer.enable ) }}
|
{{ if ( .Site.Data.footer.enable ) }}
|
||||||
{{ partial "footer/main" . }}
|
{{ partial "footer/main" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "cookies/plausible" . }}
|
{{ partial "cookies/plausible" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user