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

681 B

Share links pack

Plain "Share" links for a HotDog CMS site: Mastodon, Bluesky, LinkedIn and email. Each is an ordinary link to that network's own share page, filled in with the page's title and address. Unlike share buttons from those sites, nothing loads from them until someone chooses a link, so nobody is tracked and there's nothing to ask consent for.

hotdog-cms pack add share-links

Add {{ template "share-links" . }} to a layout (such as layouts/article.html, after the content), or use the "Share links" section on any page. Set params: { share_mastodon: your.server } in site.yaml to send the Mastodon link to your own server (default mastodon.social).