Shop: sizes and colors for search engines, photos for link previews #37

Merged
jcoffey-dev merged 1 commits from seo/shop-pages into main 2026-10-17 07:32:20 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev e93959d928 Shop: a product's sizes and colors for search engines, and its photo for link previews
ci / go (pull_request) Successful in 59s
ci / editor-ui (pull_request) Successful in 1m23s
A product with variants is now a schema.org ProductGroup with one Product
per variant (its own price, SKU, size or color, photo and stock), which is
how search engines want variants described. The brand is the product's
brand:, else its collection page's, else the site's name. A collection's
list page no longer takes its pages' layout, so the shop page isn't
described as a product.

A page with photos: and no image: uses its first photo for link previews
instead of a drawn card. A tag page with a content file of its own gets a
card. The starter's head marks product pages og:type product with the price
(the new price function), and the home page's title adds the page's own
title when it differs from the site's name.
2026-10-17 00:11:04 -07:00