A Jekyll template for making books, ebooks and book-like websites.
- Copy or clone this folder
- Edit as needed:
_data/meta.yml
- the stylesheet variables in
book/styles
- the content files in
book/text
- Run the
run-
script for your operating system.
Read the guide for much more. The guide is also an example of the template in action.
We have a fair number of files in _includes
. To make them more friendly to use and read, we omit the .html
file extension. Anything that does have a .html
file extension is a bit more techie and usually won't require editing.
Jekyll 3.2.1 does not run on Windows due to a bug. Until this is fixed, a workaround:
- At a command prompt, type
gem environment
. See where your gems are installed. - Go there and in the
jekyll-3.2.1
folder findlib/jekyll/layout.rb
. - Open
layout.rb
in a text editor and replace line 38 with@path = base + "/" + name
. - Save and close
layout.rb
.
In Jekyll 3.3.0, auto-regeneration doesn't work due to our geeky fascination with shiny new things like Windows Bash. A workaround:
- At a command prompt, type
gem environment
. See where your gems are installed. - Go there and in the
jekyll-3.3.0
folder findlib/jekyll/commands/build.rb
. - Open
build.rb
in a text editor and replace everything with the code in this file, which is thebuild.rb
from Jekyll 3.2.1. (The only affected lines are 73 to the end.) - Save and close
build.rb
.