mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-23 11:17:00 -04:00
parent
d3517dadbf
commit
db1ec959aa
1 changed files with 2 additions and 0 deletions
|
@ -22,7 +22,9 @@
|
||||||
document.getElementById('menu').scrollLeft = localStorage.getItem("menu-scroll-position");
|
document.getElementById('menu').scrollLeft = localStorage.getItem("menu-scroll-position");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{{if in site.Params.mainSections .Type }}
|
||||||
hljs.initHighlightingOnLoad();
|
hljs.initHighlightingOnLoad();
|
||||||
|
{{end }}
|
||||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||||
anchor.addEventListener("click", function (e) {
|
anchor.addEventListener("click", function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue