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.
Your HotDog CMS site
hotdog-cms serve preview at http://127.0.0.1:8140, rebuilding as you save
hotdog-cms build write the finished site to public/
hotdog-cms check build, then look for broken links and forbidden strings
| Folder | What goes in it |
|---|---|
content/ |
Pages, as Markdown. about.md becomes /about/; a folder such as articles/ is a collection |
layouts/ |
Page shapes. base.html wraps every page; the others fill its main block |
partials/ |
Pieces layouts share: head, nav, footer |
sections/ |
Blocks a page can stack in its front matter (sections:) |
data/ |
YAML or JSON that templates and sections read |
assets/ |
CSS, scripts, fonts. Published with a content hash in the name |
static/ |
Files copied as they are: favicon, .well-known/, images |
public/ is the output. Don't edit it; it's replaced on every build.
The starter's templates, styles and scripts are MIT licensed
(LICENSE-starter.txt), so you can change them, keep them private or sell
sites built on them. Your content is yours.