💥 Move footer parameters to their own sub-group

This commit is contained in:
James Panther
2022-06-27 10:30:07 +10:00
parent aa102e67de
commit efbeceaa4f
6 changed files with 23 additions and 18 deletions
+2 -2
View File
@@ -28,8 +28,8 @@
{{- partial "header.html" . -}}
<div class="relative flex flex-col grow">
<main id="main-content" class="grow">
{{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
{{ block "main" . }}{{ end }}
{{ if and (.Site.Params.footer.showScrollToTop | default true) (gt .WordCount 200) }}
<div
class="absolute top-[100vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none bottom-0"
>