A scratchpad Jekyll blog for my personal GitHub account.
gh repo clone GetOutOfMyBakery/getoutofmybakery.github.io
.envrc
bin/setup
bin/dev
[!IMPORTANT]
bin/qr-code
displays a QR Code that can be used by a mobile device. The supplied IP address therefore needs to be something that can be routed, e.g.:
- local address:
192.168.#.#
- hostname:
my-laptop.home.arpa
With the help of jekyll-compose
, creating and managing posts is easy:
bundle exec jekyll post "My new post"
bundle exec jekyll draft "My new draft"
bundle exec jekyll help # Show the list of commands available to jekyll
See the jekyll-compose
Usage section for more.
Check out the jekyll-theme-chirpy
wiki.
You can also examine the latest version of the gem with:
bundle open jekyll-theme-chirpy
[!IMPORTANT] In order to maintain the
Skip to main content
button, and some other minor tweaks, usebin/diff-upstream-gem
to check for any relevant upstream changes that need to be merged in/resolved when updating versions. For ease of use remember thatbin/diff-upstream-gem
can pass inchars
orwords
to the script to see just the different characters or words respectively.
Check how production will look before deploying with: JEKYLL_ENV=production bin/dev
.
Lefthook has been configured with pre-commit checks to:
actionlint
for the .github/workflows
htmlproofer
on the generated siteshellcheck
on any shell or bash scriptsDisable lefthook
with: LEFTHOOK=0 git commit
.
Simply merge to main
and the pages-deploy workflow will handle the building and deploying to GitHub Pages.
The site is currently hosted here.