Captain's Notes: Practical notes from the field and from expeditions: lessons learned, recounted by the one who learned them.
Published with GitHub Pages at https://captainnotes.com. The theme is the one douglas.lol uses (Jekyll, the github-pages gem, Roboto Condensed, a light and a dark mode that follows the clock and the device).
./new-entry.sh "What happened" notesThat creates _posts/YYYY-MM-DD-what-happened.md with the front matter the layout expects. Write in Markdown below it, then:
git add -A && git commit -m "Entry: what happened" && git pushGitHub rebuilds the site within a minute or two.
_posts/— the entries. Front matter:title,date(UTC),categories: [name], optionalsubtitleandimage._simple/— an entry's "I am 5" version: a file with the same slug as the post (_simple/what-happened.md), written for a five-year-old. The post then shows an "I am 5" switch at the top. Entries without one show no switch.category/— one small page per category; the post header links to/category/<name>, so add a page here when you start a new category.index.html— the list of entries, newest first.about.md— the purpose of the site and the appearance toggle._layouts/,_includes/,static/— the theme.static/img/posts/is where a post'simage:lives;static/img/favicon.svgis the site mark.search.jsonandstatic/js/search.js— the sidebar search;feed.xml— RSS.- Sister sites are linked from the sidebar in
_layouts/default.html.
Needs Ruby 3 and Bundler 2.6:
bundle install
bundle exec jekyll serve --livereloadThen open http://localhost:4000.