diff --git a/includes/html/header.html b/includes/html/header.html index 6f0024d..2bbe33e 100644 --- a/includes/html/header.html +++ b/includes/html/header.html @@ -22,7 +22,7 @@ - + diff --git a/includes/img/favicon/site.webmanifest b/includes/img/favicon/site.json similarity index 100% rename from includes/img/favicon/site.webmanifest rename to includes/img/favicon/site.json diff --git a/includes/staticContentServer.js b/includes/staticContentServer.js index 05a38d6..ea5ec07 100644 --- a/includes/staticContentServer.js +++ b/includes/staticContentServer.js @@ -32,10 +32,18 @@ module.exports= includes.sendCSS(result, baseURL + filename); return true; } + else if (filename.includes(".json")) + { + if(filename.includes("includes/") || filename.includes("blogContent")) + { + includes.sendHTML(result, baseURL + filename); + return true; + } + } //scripts else if (filename.includes(".js")) { - if(baseURL.includes("includes/") || baseURL.includes("blogContent")) + if(filename.includes("includes/") || filename.includes("blogContent")) { includes.sendJS(result, baseURL + filename); return true;