-
Notifications
You must be signed in to change notification settings - Fork 25.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use theme gem on GitHub Pages #1339
Comments
Any idea on how to use the different skins/color variations using remote_theme? |
Haven't tested it but should work the same way you'd normally use them, set the skin you want in _config.yml.
|
Tested. Adding |
I did test it before commenting above. It did not work. Here is the config.yml and the built site. https://github.com/vg/mm-remote-theme-test/blob/master/_config.yml |
@vg It works, I just switched my demo site to You'll notice if you fire up your test repo it'll go from the default skin to dark because it's using the CSS from my test repo, not yours. Change this line to |
But if I modify the "locale", it did not work. |
@LongQi You still need to commit the |
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: #1339
Please add this good news to the doc, which is easier for newcomers to reach out. Can you also post some migration guide for someone who forked repo to use the remote theme? |
@ldt116 Docs were updated last week. See GitHub Pages compatible method in the Quick Start instructions. https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/ For migration follow the guidelines under "Setup Your Site." You can ignore the Gemfile specific stuff as that only applies to the Ruby gem version. https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#migrating-to-gem-version |
Oh. Thanks for pointing out. I missed that. |
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites. ref: mmistakes/minimal-mistakes#1339
GitHub Pages has whitelisted the Jekyll Remote Theme plugin which means Minimal Mistakes can finally be used without needing to fork this repo.
This is apparently in beta, but in my testing everything works as expected. To get up in running follow the instructions for the installing the Ruby gem version of the theme, then:
Step 1. Add the following to your
_config.yml
fileStep 2. Add
gem 'jekyll-remote-theme'
to your Gemfile if building locally with the GitHub Pages gem.An example repo can be viewed here, which is hosted on GitHub Pages.
The text was updated successfully, but these errors were encountered: