summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/footer.html3
1 files changed, 2 insertions, 1 deletions
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 @@
<path d="M12 6H0l6-6z" /></svg>
</button>
</a>
-
+{{if in site.Params.mainSections .Type }}
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
+{{end }}
<script>
window.onload = function () {
if (localStorage.getItem("menu-scroll-position")) {