为 github 页设置博客主题
Setting up a blog theme to github pages
我正在尝试在 github 页面上设置博客。所以我喜欢这个theme I have read some where that if you fork the theme then you set it to gh-pages and change the repo's name then github will live theme for you. I did exactly the same but there is some problem with the outcome it doesn't look exactly what it is in the theme. Here is link
我怎样才能准确地将这个主题设置到我的 github?一些帮助和指导将不胜感激。谢谢!
Link 到 main.css
文件在您的网站上已损坏。
原因在于您的 blank.html
布局。它从配置中添加站点 baseUrl
:/_layouts/blank.html#L11
将 config.yml
中的 baseUrl
property 更改为 /blog
:
baseurl: "/blog"
我正在尝试在 github 页面上设置博客。所以我喜欢这个theme I have read some where that if you fork the theme then you set it to gh-pages and change the repo's name then github will live theme for you. I did exactly the same but there is some problem with the outcome it doesn't look exactly what it is in the theme. Here is link
我怎样才能准确地将这个主题设置到我的 github?一些帮助和指导将不胜感激。谢谢!
Link 到 main.css
文件在您的网站上已损坏。
原因在于您的 blank.html
布局。它从配置中添加站点 baseUrl
:/_layouts/blank.html#L11
将 config.yml
中的 baseUrl
property 更改为 /blog
:
baseurl: "/blog"