Built site for gh-pages
This commit is contained in:
@@ -127,7 +127,6 @@ window.document.addEventListener("DOMContentLoaded", function () {
|
||||
} else {
|
||||
sidebar.style.top = topOffset + "px";
|
||||
sidebar.style.maxHeight = "calc(100vh - " + topOffset + "px)";
|
||||
sidebar.style.minHeight = "calc(100vh - " + topOffset + "px)";
|
||||
}
|
||||
});
|
||||
|
||||
@@ -238,6 +237,7 @@ window.document.addEventListener("DOMContentLoaded", function () {
|
||||
const links = window.document.querySelectorAll("a");
|
||||
for (let i = 0; i < links.length; i++) {
|
||||
if (links[i].href) {
|
||||
links[i].dataset.originalHref = links[i].href;
|
||||
links[i].href = links[i].href.replace(/\/index\.html/, "/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user