Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将博客主题设置为github页面_Github_Github Pages_Github For Windows - Fatal编程技术网

将博客主题设置为github页面

将博客主题设置为github页面,github,github-pages,github-for-windows,Github,Github Pages,Github For Windows,我正试图在github页面上建立一个博客。所以我喜欢这个,我读过一些文章,如果你把主题分叉,然后你把它设置为gh页面,然后改变回购协议的名称,那么github将为你直播主题。我也做了同样的事情,但是结果有一些问题,它看起来和主题不完全一样。这是 如何将此主题精确设置为我的github?如能提供一些帮助和指导,将不胜感激。谢谢 指向main.css文件的链接在您的站点上被破坏 原因在于您的blank.html布局。它从配置中预先添加站点baseUrl: 将config.yml更改为/blog: b

我正试图在github页面上建立一个博客。所以我喜欢这个,我读过一些文章,如果你把主题分叉,然后你把它设置为gh页面,然后改变回购协议的名称,那么github将为你直播主题。我也做了同样的事情,但是结果有一些问题,它看起来和主题不完全一样。这是


如何将此主题精确设置为我的github?如能提供一些帮助和指导,将不胜感激。谢谢

指向
main.css
文件的链接在您的站点上被破坏

原因在于您的
blank.html
布局。它从配置中预先添加站点
baseUrl

config.yml
更改为
/blog

baseurl: "/blog"

感谢您的解决方案,但我已将baseurl更改为/bog,但布局仍然中断