What I would otherwise forget
Assume the repo name, forms path under user.github.io, is SITE.
Working 26th June 2017.
Create .gitignore
:
.DS_Store
_site/
*.swp
Create Gemfile
:
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
bundle install
_config.yml
to set title:
and description:
. Add baseurl: SITE
.bundle exec jekyll serve
to check all is well.bundle exec jekyll serve [--detach]
watches for changes to most files,
specifically not the _config.yml
though.http://127.0.0.1:4000/SITE/
.{{ site.url }}{{ site.baseurl }}
as root context in URLs.