简体   繁体   中英

Github home page

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 or http(s)://<organization>.github.io .

Example: https://github.com/square/square.github.io gives you https://square.github.io/ , not https://square.github.io/square .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM