GitHub 页面仅显示自述文件?

GitHub 页面仅显示自述文件?

问题描述:

我正在尝试将我的网页托管到 Github 页面中,但出于某种原因,它似乎只显示了我的自述文件.

I'm trying to host my webpages into Github pages but for some reason it seems to only show my Readme file.

GitHub 存储库:https://github.com/InquisitiveDev2016/InquisitiveDev2016.github.io一个>

GitHub repo: https://github.com/InquisitiveDev2016/InquisitiveDev2016.github.io

网站:

https://inquisitivedev2016.github.io/

GitHub Pages 正在做它的设计目标:托管整个存储库.存储库的根目录仅包含一个文件 (README.md).其他页面在那里,例如https://inquisitivedev2016.github.io/Photo%20Website/webpage.html,但没有一种简单的方法可以导航到它们.

GitHub Pages is doing what it is designed to do: hosting that entire repository. The root of the repository only contains a single file (README.md). Other pages are there, e.g. https://inquisitivedev2016.github.io/Photo%20Website/webpage.html, but there isn't an easy way to navigate to them.

考虑将您的 Web 内容移动到存储库的根目录,并将您的默认页面重命名为 index.mdindex.html,具体取决于它是什么类型的文件.(按照惯例,大多数网站的默认页面称为 index.html,这是 GitHub Pages 存在时默认显示的内容.)

Consider moving your web content into the root of your repository and renaming your default page to index.md or index.html, depending what type of file it is. (By convention the default page of most websites is called index.html, and this is what GitHub Pages will show by default if it exists.)