Oatcake
This is Oatcake, the GitHub Pages theme that I use on seanh.cc. It’s meant to be a plain theme, fast and mobile friendly, that doesn’t get in the way of reading or writing. It has a simple layout and uninteresting colours and fonts.
The theme has
nice basic typography
and lots of typographical extras like
figures,
code highlighting,
<kbd>
and <samp>
styling,
footnotes,
emoji,
alerts,
subtitles,
badges
and more.
It also has convenient links for creating and editing pages and supports drafts even on GitHub Pages.
See the posts for the full list of features.
Using with GitHub Pages
-
Add the theme to your
_config.yml
file with theremote_theme
setting, and also add the jekyll-feed plugin that the theme needs:remote_theme: seanh/jekyll-theme-oatcake@0.1.3 plugins: - jekyll-feed
You’ll want to change the
@0.1.3
part at the end of the theme name to the the latest version of the theme.When new versions of the theme are released you update this theme version number in your
_config.yml
file, commit it, and push it to GitHub, and GitHub pages will rebuild your site with the new version of the theme.See jekyll-remote-theme for more about how GitHub Pages handles GitHub-hosted Jekyll themes.
-
Include the list of blog posts in a page somewhere, by using this include:
{% include post_list.html %}
For example you might want to include it on your front page, or on a
/posts
page.
Posts
-
Dec 2021
Vertical Rhythm -
Dec 2021
Headings -
Dec 2019
Categories and Tags -
Dec 2019
Post Lists -
Dec 2019
Drafts -
Nov 2019
New Post Form -
Nov 2019
Edit Page and View Source Buttons -
Sep 2019
Badges and Pills -
Sep 2019
Subtitles and Lead Paragraphs -
Sep 2019
Alert Boxes -
Aug 2019
Embedding Media (Videos, iframes) -
Aug 2019
GitHub Gists -
Aug 2019
Wide Images and Code Blocks -
Aug 2019
HTML Entities and Unicode -
Aug 2019
Emoji -
Aug 2019
Insertions, Deletions and Highlights -
Aug 2019
Abbreviations and Acronyms -
Aug 2019
Footnotes -
Aug 2019
User Input: <kbd> and <samp> -
Aug 2019
Typographic Symbols -
Aug 2019
Quotes and Blockquotes -
Aug 2019
Figures -
Aug 2019
Basic Typography and Images
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/seanh/jekyll-theme-oatcake/.