Add readme and a few fixes/notes.
This commit is contained in:
parent
038968ea28
commit
c990401a53
5 changed files with 12 additions and 6 deletions
|
|
@ -25,7 +25,7 @@ function detectPage() {
|
|||
var path = window.location.pathname;
|
||||
var page = path.split("/").pop();
|
||||
|
||||
if (page === "" || page === "index.html") {
|
||||
if (page === "" || page === "index.html" || page === "index" || path === "/") {
|
||||
var pageId = "home";
|
||||
} else {
|
||||
var pageId = page.replace(".html", "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue