diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-17 14:57:20 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-17 14:57:20 +0530 |
| commit | db1ec959aab9b610967ac1d48aa798cc7c922e59 (patch) | |
| tree | 33417da16e31d7999bf7b5e120cb83248951562a | |
| parent | d3517dadbf3f2feacf74b1ae1d4c26e81bbfcadf (diff) | |
fix: for ebb9eb4043b3a5f1ced0f41a923bb4c5a468ca27
* Browser errors were logged to the console
| -rw-r--r-- | layouts/partials/footer.html | 2 |
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(); |
