Lady [Sun, 7 May 2023 04:22:05 +0000 (21:22 -0700)]
Fix sorting of entries and simplify processing
Both the date directories and the entry directories need to be sorted,
but the former initially wasn’t. This also filters out uninteresting
files prior to sorting in both cases, instead of waiting to filter
within the `for` loop itself.
Lady [Tue, 2 May 2023 23:51:17 +0000 (16:51 -0700)]
Support hooks for transforming build script output
See README changes for a more in‐depth explanation, but the idea here
is that users should have an opportunity to make adjustments to the
build output before it is saved. This relies on defining hooks on the
global object and then using a dynamic import to get the build script
to run.