-
Environment
Expected behaviorMy blog created via github pages shows normal screen without css issue. Steps to reproduce the behaviorNo particular steps are needed. Prepare github pages, follow the guide(https://github.com/mmistakes/so-simple-theme#github-pages-method) and see what happens at the main page. If it's done already, just go to the main page. This is what actually happened to me today. I commited a draft and some updates of my markdown documents and that was it. The things related to jekyll, its dependencies and so simple theme such as OtherIn my opinion, this maybe happened because so simple theme recently upgrade from Looking at the picture no. 2, I see my acutally rendered github pages have Another thing I checked is that if I follow ruby gem method(https://github.com/mmistakes/so-simple-theme#ruby-gem-method) and Please help. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You're overriding the theme's default Add this line to your local <link rel="stylesheet" href="{{ site.skin | default: '/assets/css/skins/default.css' | relative_url }}"> It's not mentioned in the docs yet, but you can lock a You'd install the theme like this: remote_theme: "mmistakes/[email protected]" ref: https://github.com/benbalter/jekyll-remote-theme#declaring-your-theme |
Beta Was this translation helpful? Give feedback.
-
Oh.. I missed that. totally forgot that I customized Now I found the difference between my old |
Beta Was this translation helpful? Give feedback.
-
Depending on what you changed in It’s purposely left blank and meant to add your favicon and other things to the head. You won’t have to worry about merging in future changes since the theme will never change anything in this file. It’s more future proof than overriding |
Beta Was this translation helpful? Give feedback.
-
I haven't noticed that either! This is beautiful. I'll try it right away, thanks! |
Beta Was this translation helpful? Give feedback.
You're overriding the theme's default
_includes/head.html
file and it's missing some changes that load an addition stylesheet.Add this line to your local
_includes/head.html
file.It's not mentioned in the docs yet, but you can lock a
remote_theme
version. You could roll back to3.1.3
if need be. Remote theme's have the strange behavior of always pulling frommaster
, so even though I may have not released an update those changes will be forced on you.You'd install the theme like this:
ref: https://github.com/benbalter/jekyll-remote-them…