Files
jcoffey-dev 6fb7e82f94
ci / editor-ui (pull_request) Successful in 58s
ci / go (pull_request) Successful in 1m47s
Five more packs: docs, downloads, menu-and-prices, portfolio, share-links
The second batch of WordPress add-ons rebuilt as packs, templates and styles only:

- docs: a documentation section with a sidebar, part pages and previous/next, in the order data/docs-nav.yaml gives (the layout behind hotdogcms.org/docs, without its search script).
- downloads: files to download, with their type and size read from the file at build time.
- menu-and-prices: a price list in groups (a menu, services) and plans side by side.
- portfolio: a work collection with a cover, details and pictures per project, a list page and a section.
- share-links: plain links to Mastodon, Bluesky, LinkedIn and email share pages; nothing loads from those sites until someone chooses one.

Also a fileSize template function ("1.2 MB" for a file in static/, "" if it isn't there). The bundled-packs test covers all ten.
2026-10-11 17:16:07 -07:00

36 lines
1001 B
YAML

name: menu-and-prices
version: 1.0.0
title: Menu and prices
description: A price list in groups (a menu, a list of services) and plans side by side, on any page.
license: MIT
author: Coffey Labs LLC
notes: |
Two sections for any page.
"Price list": a menu or a list of services, in groups:
sections:
- price-list:
heading: Menu
groups:
- name: Bread
items:
- { name: Sourdough, description: Our own starter, price: $8 }
- { name: Rye, price: $7, tags: [vegan] }
"Plans": plans or packages side by side, with what each includes:
sections:
- plans:
heading: Prices
items:
- name: Small
price: $25
period: a month
features: |
One loaf a week
Pick up on Saturday
button: { text: Sign up, href: /contact/ }
Either can read its list from a file in data/ instead (from: menu).