{{- 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 }}
{{- if (and (eq .Kind "page") (.Content) (.Param "ShowToc") (.Param "TocSide")) }}
{{- end }}
{{- /* InstantClick.js */}}
{{- if (.Param "EnableInstantClick") }}
{{- $instantclick := slice (resources.Get "js/instantclick.js") | resources.Concat "assets/js/instantclick.js" | minify }}
{{- end }}