If you want your GitHub page to be displayed without a directory / folder name, you can name your portfolio name as
username.github.io. By doing so, when a visitor goes to
https://username.github.io, the visitor will see the content of your GitHub page without having to append any repo name in the URL path:
https://username.github.io/portfolio
This is probably due to the GitHub page routing that directs portfolio named the same as the GitHub username to the root index page.
If you don't have a portfolio that is named as username.github.io, you will see the 404 page below if you navigate to https://username.github.io.
I think this is a good way to display your portfolio.
* username as in your GitHub username
 |
GitHub Page 404 |
Thanks for reading!
Jun
Comments
Post a Comment