Files
hotdog-cms/packs/changelog/pack.yaml
T
jcoffey-dev 5d628689c1
ci / editor-ui (pull_request) Successful in 30s
ci / go (pull_request) Successful in 1m56s
Three packs: contact forms, tables and a changelog
contact-forms brings a quote request, a booking request and a mailing list
sign-up, and a Contact form section that shows any form beside an email,
phone, address and a note. tables shows a table from a spreadsheet saved as
CSV (or YAML or JSON) in data/, with a caption, row headings, numbers on the
right, and sideways scrolling on phones. changelog gives a page per release,
every release on one page, a feed, a What's new section and a latest-release
partial; notes grouped under Keep a Changelog headings show as labels.

To make them possible:
- data/*.csv files load as rows of cells, for the data function and the
  editor's data picker.
- Packs can bring forms (forms/<name>.yaml). A form is copied once and is the
  site's own from then on: upgrades and removal leave it, and a site's own
  form of that name is kept. A pack's form must send to a placeholder address
  (example.org and the other RFC 2606 names) and can't set Turnstile, so a
  pack can't route a site's submissions or add another site's script.
- A new check warning, form-placeholder, for forms that still send to or show
  a placeholder address (the starter's contact form does until it's set).
- A form's success path can no longer start with // or /\, which browsers
  treat as another site.
2026-10-14 12:58:23 -07:00

40 lines
1.3 KiB
YAML

name: changelog
version: 1.0.0
title: Changelog
description: Release notes, a page per release and all of them on one page, with a feed people can follow and a "What's new" section for any page.
license: MIT
author: Coffey Labs LLC
collections:
changelog:
layout: release
list_layout: release-list
feed: true
paginate: 0
notes: |
Add each release as content/changelog/<version>.md, such as
content/changelog/1-4-0.md:
---
title: "1.4.0"
date: 2027-01-12
summary: Faster pages and a new way to share them.
security: true # optional: it fixes a security problem
breaking: true # optional: something works differently now
---
### Added
- Share links on every article.
### Fixed
- Pages with long tables no longer scroll sideways.
/changelog/ lists every release, newest first, with its notes, and
/changelog/feed.xml lets people follow new ones. Give the list a title
and an introduction in content/changelog/_index.md.
The "What's new" section shows the latest releases on any page, and
{{ template "latest-release" . }} in a layout prints a link to the newest
one, for a hero or a footer.
Group the notes under ### Added, Changed, Deprecated, Removed, Fixed and
Security (keepachangelog.com), or headings of your own.