diff --git a/_includes/widgets/url_debug_message.html b/_includes/widgets/url_debug_message.html index 097d74869..f6f893b8f 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'); }