小编jzy*_*ert的帖子

如何设置GitHub Pages在其他位置查找index.html?

只需设置我的GitHub Pages网站,据我所知,GitHub Pages将在父目录中查找index.html(即,如果我的仓库位于username.github.io中,它将在username中查找index.html。 github.io/index.html)。

如果无法在其中找到index.html,则会在页面上呈现我的README.md。

必须将index.html文件放到那里,还是有办法告诉Pages在username.github.io/src/index.html中查找该文件?

github github-pages

5
推荐指数
2
解决办法
2456
查看次数

标签 统计

github ×1

github-pages ×1