-
I know this is in the documentation but I'm not finding it as clear as I suspect I should be.
The instructions say:
I'm interpreting this as that my _config.yml file should contain: theme : "minimal-mistakes-jekyll" (i.e. I comment out remote theme and add "theme" in it's place). That doesn't seem to work. I've tried all the combinations of those 3 options and I can't seem to get it to change the theme. I'm also not clear if the skin value should be "air" or air. The guide says "default" (with quotes) but the config file omits the quote marks. I'm sure I'm missing something simple... Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
There is almost no difference between using the theme as a Ruby gem (via the If you're hosting with GH Pages you need to use the You can set the skin with TL/DR: set your _config.yml to:
If that's not working for you provide a link to your repo so I can inspect it. I just forked the mm-github-pages-starter repo changed |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help! I think my issue might be that github was taking a long time to build the page so I thought it wasn't working when it was. |
Beta Was this translation helpful? Give feedback.
-
Hmm actually, what I said isn't quite true. It seems to rebuild the content very quickly (e.g. if I change the title, it'll change almost instantly). However, even if I change the skin at the same time as changing the title, the title will change but the skin won't. |
Beta Was this translation helpful? Give feedback.
-
If anyone stumbles upon this searching for an issue, make sure you refresh without cache. Solved it for me. |
Beta Was this translation helpful? Give feedback.
There is almost no difference between using the theme as a Ruby gem (via the
theme
key) or as a remote theme (via theremote_theme
key). The main difference is how the theme files are installed.If you're hosting with GH Pages you need to use the
remote_theme
option. GitHub Pages does not let you install arbitrary 3rd party gems unless they're from a small list of approved gems.You can set the skin with
air
or"air"
. Both are strings as far as YAML is concerned. There are some special characters in YAML that can give you errors or have unintended uses, so placing your YAML strings in quotes is generally safer.TL/DR: set your _config.yml to: