Github 页面:为什么我的站点在 fork 后有不同的样式?

Github pages: why my site has different styles after fork?

我想在 GitHub 上获得一个 Jekyll 站点,而不必在本地安装 Jekyll,所以我只是浏览 this list 直到找到几个我喜欢的主题,然后尝试分叉它们(我打算在浏览器中编辑和自定义文件,而不必克隆本地存储库)。但是我不断得到与我 fork 不同的版本。

例如,我分叉了 https://github.com/codeasashu/hcz-jekyll-blog,从现场演示中我希望它看起来像这样:

但是,在分叉之后(还没有对文件进行任何更改)我得到了这个:

其他主题也是如此。怎么了?

请检查空基数 URL 是否有任何 link 到您所看到的:codeasashu/hcz-jekyll-blog/blob/master/_config.yml.

注意,根据issues/15, the gh_pages branch of that repo acts as a demo, not the master branch. In gh_pages branch, there is a baseurl.