{{/* Template based on PaperMod's footer https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/partials/footer.html Needs to be overwritten in order to add custom pages to the footer which is not possible via the `extend_footer.html` file */ -}} {{- 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 }}