Site Configuration
Setting up the whole thing is not complicated. GitHub guides are easy to follow and the default page comes up in minutes, even when using a custom domain. Local development environment and theme customizations may take a little longer.
Local environment
Following the official installation guide should get the job done.
However, if you are an unlucky user of Apple silicon Mac running macOS 12.6 and have
Xcode version 14 installed, Ruby installation will fail for version 3.1.2.
A workaround for ruby-install
users is to add the --enable-shared
flag
(#430):
The fix for the issue has been back-ported from Ruby 3.2.0-preview2 to Ruby 3.1 (#6440) and should be released as 3.1.3.
Also missing from the official tutorial is the need for the webrick
gem starting from Ruby 3, as explained by Moncef Belyamani:
File locations
Static pages have been moved to _pages
following the notes from
Michael Rose.
Any markdown files left in the site root must be excluded:
Theme
Default jekyll/minima
is one of the cleanest among popular themes on
GitHub.
Since theme’s gem is long outdated, fetching a development version using remote_theme
is recommended.
To keep remote theme version under control, it is possible to pin down a
specific tag or Git ref:
Theme configuration includes a skin selection and social links:
Customizations
Theme fonts are replaced with Source Sans Pro and Source Code Pro, sizes and weights slightly adjusted:
Dates are stripped from the permalinks:
Read time is calculated using Liquid filters following the notes from
David Capello and added via a site-specific _layouts/post.html
.
Reading cadence is set using the words_per_minute
site parameter:
Clock-like glyph was found on Graphemica.