mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
parent
d3517dadbf
commit
db1ec959aa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user