From 28bb2f9ecd99da3c4ec94f3e117e306249f37e3f Mon Sep 17 00:00:00 2001 From: Avonnaire Date: Fri, 1 Jul 2022 17:35:27 +0300 Subject: [PATCH] Remove root-relative URLs GitHub Pages is currently attempting to load CSS and JS from the root site, i.e yourusername.github.io, and as such it breaks. I removed the root-relative references, and it should work on every site now. --- _includes/head.html | 15 +++++++++------ _includes/js.html | 18 +++++++++--------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 83f2ca4..aef132f 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,21 +5,24 @@ - {% if site.meta_author %}{% endif %} + {% if site.meta_author %} + {% endif %} - + - + - {% if site.google_verify %}{% endif %} + {% if site.google_verify %} + {% endif %} - {% if site.bing_verify %}{% endif %} + {% if site.bing_verify %} + {% endif %} - + diff --git a/_includes/js.html b/_includes/js.html index 9357111..7ded09a 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -1,24 +1,24 @@ - + - + - - - + + + - + {% if site.contact == "static" %} - + {% else %} - + {% endif %} - + {% if site.contact == "disqus" %}