首页 > 解决方案 > 遵循说明后显示 404 的 Github 页面?

问题描述

这应该是网站的网址:

https://artnomadproject.github.io/

我创建了一个与存储库同名的组织

https://github.com/artnomadproject/artnomadproject

index.htmlHello world里面添加: https ://github.com/artnomadproject/artnomadproject/blob/master/index.html

我哪里做错了?

这是我做的步骤: https ://pages.github.com/

标签: githubgithub-pages

解决方案


那是一个 GitHub 页面项目站点,位于http://username.github.io/repository

在你的情况下:https ://artnomadproject.github.io/artnomadproject

它不是一个 GitHub 页面用户站点,它位于https://username.github.io
要填写https://artnomadproject.github.io/ ,您需要一个https://github.com/username/username.github.io存储库。

在这两种情况下,请确保您

https://help.github.com/assets/images/help/pages/select-master-branch-docs-folder-as-source.png

https://cloud.githubusercontent.com/assets/849592/21229008/24006df6-c2ae-11e6-94a4-ca4eb085f5f4.png


推荐阅读