diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 41c2247..eeffa3e 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 }}