diff --git a/Scripts/loadNavBarAndFooter.js b/Scripts/loadNavBarAndFooter.js index 45c683b..656be72 100644 --- a/Scripts/loadNavBarAndFooter.js +++ b/Scripts/loadNavBarAndFooter.js @@ -1,13 +1,12 @@ -$.get("footer.html", function (data) { - $("#footer-placeholder").replaceWith(data); +$.get("header.html", function (data) { + $("#header-placeholder").replaceWith(data); + document.getElementById('header-title').innerHTML = document.querySelector('title').textContent; }); $.get("nav.html", function (data) { $("#nav-placeholder").replaceWith(data); }); -$.get("header.html", function (data) { - $("#header-placeholder").replaceWith(data); - document.getElementById('header-title').innerHTML = document.querySelector('title').textContent; -}); - +$.get("footer.html", function (data) { + $("#footer-placeholder").replaceWith(data); +}); \ No newline at end of file diff --git a/index.html b/index.html index 441ea4e..fb5ca3a 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,14 @@ +
@@ -37,7 +45,8 @@This site is not finished and it's still being worked on.
- Keep in mind, some things here are just placeholders and will be eventually replaced or removed.
+ Keep in mind, some things here are just placeholders and will be eventually replaced or
+ removed.
On this page I will post all my current projects and updates.