summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/footer.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index eeffa3e..8589cab 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -22,7 +22,9 @@
document.getElementById('menu').scrollLeft = localStorage.getItem("menu-scroll-position");
}
}
+ {{if in site.Params.mainSections .Type }}
hljs.initHighlightingOnLoad();
+ {{end }}
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();