Posted on 28th May 2026 at 10:00 by Admin
Problem
Everything related to, say ‘galleries’ is scattered through various posts, rather than in a nice hierarchy of pages accessible via the menu.
Solution
- Go back to astro-test style
- Really sort out schema. Categories could be like top level of menu, tags like second level
- Have pages referenced by top level menu items which contain a tree of links like a menu branch
Make everything work in the cloud
Fix Several galleries page and Several galleries post however much typing is involved for the moment.
A note on the schema
With the revision of pubDate to pubDate: z.coerce.date().default(() => new Date()), the post date becomes whenever the file was last saved. This could either be useful or wildly confusing.
A note on the date
This post was originally published without a date and defaulted to now() (as it was then!). This was not written to the frontmatter so caused a problem when the post was edited.
I guessed a plausible date when I noticed this problem.
This sort of thing needs to be caught and fixed in fmatter.py
Category: misc Tags: