Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does minima dark skin work on github pages?

I'm trying to set up a blog via Jekyll and GitHub Pages. To deploy it was not such a big deal, however, in trying to follow the steps described here I only managed to make it display the dark skin locally. Is there a way to deploy it on GithubPages as well? I installed it via

gem "minima", git: "https://github.com/jekyll/minima"

then added the following two lines in _config.yml

minima:
  skin: dark

This is the repo holding the ruby code.

like image 597
Leo Avatar asked May 14 '26 12:05

Leo


1 Answers

i had this problem too. I learned that the software used by github pages isn’t updated often, hopefully for stability reasoning. You can check what versions they use at https://pages.github.com/versions/. The newer version of minima has the alternative “skins” sass/css feature, but the one currently on github pages doesn’t—-heck, github pages still hasn’t updated Jekyll to v4!!... You should be able to see the build error by clicking Actions on the github repo, then clicking on the last “workflow”, then click on the red-colored build. It’ll say the key in the config file doesn’t exist or somethin’ like that, on the skin: dark line.

anyway, in the config file, add remote_theme: jekyll/minima to force download the latest version from the github repo upon rebuild. Don’t use ~jekyll-theme: minima (or whatever it’s called). In fact, at the moment, all of the themes that come pre-installed with github pages are quite old now...

but really though, use the jekyll discussion site https://talk.jekyllrb.com/.

like image 170
rahil627 Avatar answered May 19 '26 04:05

rahil627