diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 65045f46..e6e894af 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -14,7 +14,7 @@ {{- partial "extend_footer.html" . -}} -{{ if in site.Params.mainSections .Type }} +{{ if (and (in site.Params.mainSections .Type) (ne .Layout `archives`) (ne .Layout `search`)) }} {{- if not .Site.Params.assets.disableFingerprinting }} {{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }}