Intercept internal links and render the page without reloading

This commit is contained in:
knotteye
2020-10-17 00:11:24 -05:00
parent 54a891dac1
commit 58e8be123c
2 changed files with 56 additions and 27 deletions

View File

@@ -18,6 +18,6 @@
}
</script>
</head>
<body onload="render()">
<body onload="render(window.location.pathname)">
<script src="/index.js"></script>
</body>