diff --git a/_layouts/default.html b/_layouts/default.html index 4f71da6..acfdfce 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -26,7 +26,7 @@ -
+
{{ content }} diff --git a/assets/scripts/main.js b/assets/scripts/main.js index 7538fe9..b86bb83 100644 --- a/assets/scripts/main.js +++ b/assets/scripts/main.js @@ -3,9 +3,9 @@ console.log("Entered main.js!"); document.addEventListener('DOMContentLoaded', (event) => { console.log("In event handler!"); const secret = getUrlParameter('secret'); - if (secret == "hithere") { + if (secret != "hithere") { console.log("got secret!"); - document.title = `Secret: ${secret}`; + document.getElementById('primary').style.display = 'none'; } });