init: initial site
This commit is contained in:
commit
d6da14e4bb
7 changed files with 292 additions and 0 deletions
4
public/res/anchors.js
Normal file
4
public/res/anchors.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
document.querySelectorAll("h2")
|
||||
.forEach(e => {
|
||||
e.onclick = () => window.location.hash = e.parentElement.id;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue