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/.
remote_theme: jekyll/minima
to the _config.yml works for me. More detail on what worked for me in this answer: https://mcmap.net/q/1479403/-use-dark-mode-equivalent-of-github-pages-default-theme – Skidway