Trail log · ssqch 0.9.0

0.9: Jekyll sites, come on in

For this release, we moved two big real-world sites into ssqch, one from Jekyll and one from Astro. Nothing finds the roots on a trail like hauling a couple of big sites down it, so most of what's new is something one of them tripped over on the way.

The headlines

  • Jekyll sites feel at home. Liquid's math filters and split work the way Ruby's Liquid does, {% include_relative %} works, and a Jekyll plugin's tag can move into your config as a function. Run ssqch docs --from jekyll to see the whole route before you start walking.
  • Your laptop and CI agree on the date. Set timeZone: "UTC" and SOURCE_DATE_EPOCH, and your dates stop depending on where the build happened to run. One site we moved had 137 pages whose dates changed with the time zone!
  • Spot the shifty bits before a move. Hand ssqch diff three or more builds that ought to match, and it lists what varies between them. It's like comparing three blurry photos of the same creature, except you get answers.
  • Liquid lookups got quick. A layout that searches a collection with where on every page builds 8.6 times faster, and the Jekyll site's build went from 6.8 s to 1.4 s.

What you might need to change

  • Heading ids follow GitHub's rules character for character now, so a heading with an accent, an emoji or a superscript can get a new id. Check your links to those anchors, or give the heading an id of its own (## x² {#x2}).
  • Pages without a date sort after the dated ones, in path order. If you liked the old order, give those pages dates.
  • Liquid's split drops empty strings at the end ("a,b,," is two items), and a block that only sets variables no longer leaves blank lines behind.
  • A computed value named page is an error now. It used to vanish without a word, which is a Sasquatch's job, not your data's. Give it another name.
  • slot is a container name now. If you already have a container called slot, rename it.

Every change in 0.9.0, in detail (CHANGELOG.md)

All the entries