Converting Gem-based themes on Jekyll
Today, Greg was sharing an issue he was having with Jekyll installs and builds. I thought was something tied to Bundler or Jekyll 3.0 issues I’ve had in the past, but Ethan figured out that the
_site folder wasn’t building correctly and that a pretty awesome solution is working around the gem-based themes.
This site is built on Jekyll, but I want tinker with this more on a new project, rather than mess with this one. Check out the Twitter conversation and Ethan’s helpful suggestions below. I’m bookmarking this, here, for myself and anyone else who adores Jekyll.
Dear Jekyll users,
When I try to create a new site, only one directory gets created and a gem file is left. I’ve installed all of the things required in the getting started doc and confirmed they are recent versions.
What am I doing wrong? pic.twitter.com/sqoyhb97Cc
— Greg Storey (@Brilliantcrank) January 2, 2018
Ethan’s Solution from Jekyll’s docs:
Those files are in the gem for the default theme. It sounds like you want to do this: https://t.co/BgPvhBL0fz
— Ethan Leon (@ethangl) January 2, 2018
And then Uncle Dave pops in and teaches us all how to start a new Jekyll project sans-theme at all. Where has this been my entire Jekyll-using life?
If you want no theme to start off with, you have to do
jekyll new myblog --blankI wish this was the default but guhck.
— Dave Rupert (@davatron5000) January 2, 2018