1

I am trying to get started with a Jekyll blog. I followed these instructions to setup the blog using the default minima theme. This actually worked without any problems, but I wanted to change to the Hacker theme. To do that it simply asks for the following changes to me _config.yml:

remote_theme: pages-themes/hacker@v0.2.0
plugins:
- jekyll-remote-theme # add this line to the plugins list if you already have one

After making these changes I went to the URL https://galenseilis.github.io/ where I see that nothing renders anymore.

The current state can be observed at https://github.com/galenseilis/galenseilis.github.io, but everything should be the default values except where I made changes to the Gemfile and _config.yml. But since I may change the content of the repo as I troubleshoot, so here is a snapshot of these files:

Gemfile

source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem "jekyll", "~> 4.3.2"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
# 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",  group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
  gem "tzinfo", ">= 1", "< 3"
  gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

_config.yml

title: Your awesome title
email: your-email@example.com
description: >- # this means to ignore newlines until "baseurl:"
  Write an awesome description for your new site here. You can edit this
  line in _config.yml. It will appear in your document head meta (for
  Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username:  jekyll

# Build settings
# theme: minima
# theme: jekyll-theme-hacker
remote_theme: pages-themes/hacker@v0.2.0
plugins:
  - jekyll-feed
  - jekyll-remote-theme

Reverting the recommended changes for the Hacker theme back to the original state using minima theme returns the rending of the page. So maybe the changes I have made are insufficient if not incorrect somehow?

Galen
  • 1,128
  • 1
  • 14
  • 31
  • I saw https://stackoverflow.com/a/35541189/4348400 but my URL appears to be correctly formatted. – Galen Feb 09 '23 at 03:24
  • I just tried setting `layout: default` in `about.markdown` as suggested in https://stackoverflow.com/questions/42957856/jekyll-installing-a-gem-based-theme but it didn't change the blank rendering. – Galen Feb 09 '23 at 03:30
  • I tried moving `github-pages` under plugins as suggested in https://stackoverflow.com/a/74905235/4348400 but it did not change the rendering. – Galen Feb 09 '23 at 03:56
  • https://www.youtube.com/watch?v=NoRS2D-cyko – Galen Feb 09 '23 at 04:21
  • Yous page is now showing the hacker theme, so you apparently found the answer. – Christian Feb 14 '23 at 00:32
  • @Christian Sort of... Turns out that setting `layout: default` in the markdown pages did the trick of rendering, but the auto-rendering of posts in the `_posts` path is broken as a result. That is to say, now it seems like I need to manually link to them in order for them to render. – Galen Feb 14 '23 at 01:53

0 Answers0