Shop shelves: tag pages with words of their own #32

Merged
jcoffey-dev merged 3 commits from shop/shelves into main 2026-10-17 00:38:53 +00:00
Owner

A tag can now have its own page in content/tags/<name>.md with a title, summary and any front matter the site wants. Templates get term (that page) and tagged (the pages carrying the tag).

The shop pack (1.3.0) adds a shelf layout for those tag pages, and the products section can show one shelf by tag.

Also fixes the importer cutting a summary short at a full stop inside a word, and the shelf falling back to the tag's summary when its page has no words.

A tag can now have its own page in `content/tags/<name>.md` with a title, summary and any front matter the site wants. Templates get `term` (that page) and `tagged` (the pages carrying the tag). The shop pack (1.3.0) adds a `shelf` layout for those tag pages, and the products section can show one shelf by tag. Also fixes the importer cutting a summary short at a full stop inside a word, and the shelf falling back to the tag's summary when its page has no words.
jcoffey-dev added 3 commits 2026-10-17 00:14:28 +00:00
A file in content/<taxonomy>/ now describes a term instead of becoming a
collection: content/tags/linux.md gives /tags/linux/ its title, words,
picture, layout and front matter. The term and tagged template functions
find a term's page and keep the pages carrying a term, in the order given.

Shop pack 1.3.0: a shelf layout for tag pages, and a tag field on the
Products section.
shortSummary skipped any sentence with a dot inside it (example.org, 1.5),
so "The full mark and example.org run across the back." came out as
"org run across the back." It now takes whole sentences in order.
Shop shelf: show the tag's summary when its page has no words
ci / editor-ui (pull_request) Successful in 1m23s
ci / go (pull_request) Successful in 1m24s
e931e75cd3
jcoffey-dev merged commit 209a35944c into main 2026-10-17 00:38:53 +00:00
jcoffey-dev deleted branch shop/shelves 2026-10-17 00:38:54 +00:00
Sign in to join this conversation.