From 3bd9ae32a0507e70810622cd36844e20676e0f3d Mon Sep 17 00:00:00 2001 From: Shitong Luo Date: Sun, 20 Oct 2024 12:12:33 -0400 Subject: [PATCH] Update url_debug_message.html --- _includes/widgets/url_debug_message.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_includes/widgets/url_debug_message.html b/_includes/widgets/url_debug_message.html index 097d7486..f6f893b8 100644 --- a/_includes/widgets/url_debug_message.html +++ b/_includes/widgets/url_debug_message.html @@ -21,6 +21,7 @@
Warning
The name of your GitHub Pages repository ("") does not match your GitHub username.
Solution: Please consider renaming the repository to "". + If the current repository name is intended, you can ignore this message by removing {% raw %}"{% include widgets/url_debug_message.html %}"{% endraw %} in index.html. @@ -40,7 +41,7 @@
Warning
element.textContent = location.hostname; }); -if (striped_pathname.search("github.io") != -1){ +if (striped_pathname.search("github.io") != -1 && location.hostname.search("github.io") != -1){ document.getElementById("ghpages-domain-debug-message").classList.remove('d-none'); }