I forked this theme and created a simple pages, modified some css files - setting fonts for specific tags or disable italic on subheadings.
It works like a charm in local. But when I commit the files and push the repo, It shows contents but the design things are gone! I mean, It shows only html contents.
This is the page on local environment:
And this is the page on the remote server..?
I can use basic tags and change some properties of tags in CSS, but I don't know about more details.. Could you please give me some kinds of guide or how to fix this problem?
Edit -- Here is my git repository:
答案 0 :(得分:1)
在 _config.yml 中,删除baseurl: "/blog"
以阅读baseurl: ""
。
答案 1 :(得分:0)
仅供参考-如果您的主题在本地工作,但不能在远程工作(OP对此没有问题,尽管这是我的错),请确保将远程存储库命名为.github.io
更多信息。来自官方文档:“ GitHub页面最初配置为位于username.github.io子域下,这就是为什么即使使用自定义域也必须以这种方式命名存储库的原因。”