diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 41c2247b..eeffa3e2 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -12,9 +12,10 @@
-
+{{if in site.Params.mainSections .Type }}
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
+{{end }}