Skip to content

./blog.sh 1.2.1

Latest

Choose a tag to compare

@DanielSnor DanielSnor released this 12 Aug 05:43
· 20 commits to main since this release

A bug-fix release with two things added to it: the site's own words are Markdown now, and a photo no longer publishes where it was taken. The rest came out of two rounds of review over the release itself — including one crash that has been in 1.2 all along.

The site's own words are Markdown. about.html, footer.note_html, footer.copyright and banner.claim were the only texts on a Markdown blog that had to be written in HTML — the field that introduces you wanted a hand-typed <a href>. They go through the same parser a post does now. Raw HTML still passes through, so nothing has to be migrated and an <img> is still how a photo gets into a bio.

A photo no longer publishes the place it was taken. A phone writes coordinates into every picture it takes, and the engine copied media byte for byte — so a snapshot from a back garden put the back garden on the web. New photos are cleaned on the way into the archive, which covers authoring and all twenty-two importers. Only the location goes: the camera, the moment and the orientation tag stay. ./blog.sh doctor counts the photos you saved before this existed and --strip-location cleans them; media.strip_location: false turns the whole thing off.

A table can have no header row — written as a table that opens with the separator line. A list of keyboard shortcuts has no heading, and until now the format could not say so. Every importer used to hand its first row of data to a <th>, which is a heading to a screen reader as much as to a reader.

A crash that predates this release. A continuation line under a nested list item — - a / - b / text, the ordinary way to give an item a second line — killed ./blog.sh add with a backtrace and wrote no post. The same three lines in about.html killed the build and rendered no site at all.

Also: a Tumblr ask no longer reads as if the blog's owner had asked themselves; ./style.sh stops reporting a held lock as a failed upload; the palette preview admits it is temporary; and a new default banner for fresh installations.

Upgrading — nothing to migrate, nothing to rebuild for the old behaviour to keep working. Photos saved from now on lose their coordinates; that is the one change that arrives unasked.

Full notes in CHANGELOG.md.

MIT licensed. Documentation · blogsh.app