diff --git a/header.js b/header.js index b65ad9e..09a64ca 100644 --- a/header.js +++ b/header.js @@ -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", ""); diff --git a/minecraft-servers.html b/minecraft-servers.html index 21e6afa..45d4b68 100644 --- a/minecraft-servers.html +++ b/minecraft-servers.html @@ -31,7 +31,7 @@

Survival (26.1.2)

New Waukesha nighttime view

A vanilla survival server with a world over a year old!

-
+

Java Edition

IP: survival.halfheart.net

@@ -49,7 +49,7 @@

Creative (26.1.2)

Castle, by 1111dbc

A mostly vanilla creative server server with worldedit enabled. World is somewhat new and empty.

-
+

Java Edition

IP: creative.halfheart.net

diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..88ddf7d --- /dev/null +++ b/readme.md @@ -0,0 +1,3 @@ +# The Halfheart.net Website + +All the files and code for the halfheart.net website. This is my first project using html/css so pardon the possibly bad code. It is very much a work in progress. \ No newline at end of file diff --git a/site-header.html b/site-header.html index 197c5bb..d439879 100644 --- a/site-header.html +++ b/site-header.html @@ -214,12 +214,12 @@