{{- if not (.Param "hideFooter") }}
{{- end }}
{{- if (not .Site.Params.disableScrollToTop) }}
{{- end }}
{{- partial "extend_footer.html" . }}
{{- if (not .Site.Params.disableScrollToTop) }}
{{- end }}
{{- if (not .Site.Params.disableThemeToggle) }}
{{- end }}
{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Param "ShowCodeCopyButtons")) }}
{{- end }}