Closed shawnajean closed 7 years ago
Thanks for this update, @shawnajean. ❤️
I based the change off of the 404 errors I'm seeing in the console on the current Pages site. With the leading /
, this CSS file for example is loaded from this URL:
https://git.github.io/css/reset.css
Rather than this URL:
https://git.github.io/git-reference/css/reset.css
The gh-pages
branch in my fork is built to Pages, so you can see the results here:
as per a quick convo in slack with @shawnajean, im gunna merge this! I have some additional future work that built off this coming soon to a pull request near you
👋 This removes the leading
/
from src and hrefs in the layout files so that the links work and the styles load again since the custom domain was removed.