pages-themes / midnight

Midnight is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/midnight/
Creative Commons Zero v1.0 Universal
305 stars 566 forks source link

Adding theme causes site to go blank on Github Pages #44

Open jeffpatton1971 opened 2 years ago

jeffpatton1971 commented 2 years ago

I have tried adding this via remote-theme: midnight (i used the remote theme plugin as well) and theme: jekyll-theme-midnight. After adding the theme in either way the entire site went blank. Removing the theme and going back to minima the content showed up. Looking for some advice on what to do next? Also, I noted the same behaviour when attempting to run this site locally.

johnholliday commented 2 years ago

Getting similar results trying to use remote_theme: just-the-docs. The generated home page references the default css file, but the file is empty and the supporting css files are missing as if the Jekyll process aborted before copying all the remote theme files.

I'm using the following build settings in _config.yml

# Build settings
#theme: minima
remote_theme: pmarsceill/just-the-docs
plugins:
  - jekyll-feed
  - jekyll-remote-theme

My Gemfile contains the following settings:

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", "~> 223", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.12"
  gem "jekyll-remote-theme", "~> 0.4.3"
end
jeffpatton1971 commented 2 years ago

Would be nice if there was a verbose option or something

nicholasrobertm commented 2 years ago

Did yall change the layout in each of your markdown files? At least for this theme you need to change to the "default" layout

iankingcoop commented 1 year ago

Did anyone find a solution to this? Github pages was looking like a great option to quickly get a blog up and running. However, all of the alternative themes cause my blog entries (on the main pages URL) to go blank.

jeffpatton1971 commented 1 year ago

@iankingcoop this is ultimately what i have done with mine

# Build settings
markdown: kramdown
remote_theme: jekyll/minima
#theme: minima

minima:
  skin: dark
plugins:
  - jekyll-feed
  - jekyll-remote-theme
  - jekyll-sitemap

I've not had that issue since on my sites

farmfreshmeth commented 4 months ago

I had to copy and modify _layouts/default.html into my project. (And I'm successfully using the theme on GitHub pages. See https://github.com/studio84pottery/studio84pottery.github.io)