I know how to make an HTML site on GitHub with URLs like:
[username].github.io/[somthing]
but I am wondering how to make a URL without that project name or "[something]" to be just
[username].github.io
I know I can do this on https://pages.github.com/ by naming it by my username, but then the URL is:
[username].github.io/[username]
when I do that URL is
[username].github.io/[username]
.
From "Types of GitHub Pages sites", it should not be that URL.
To publish a user site, you must create a repository owned by your personal account that's named
<username>.github.io
.Unless you're using a custom domain, user and organization sites are available at
http(s)://<username>.github.io
orhttp(s)://<organization>.github.io
.
Example: https://github.com/square/square.github.io gives you https://square.github.io/, not https://square.github.io/square.