The first batch of WordPress add-ons rebuilt as packs: templates and styles only, no script. - faq: questions that open to show their answers (<details>), written in the section or shared from data/. - gallery: a picture grid; each opens full size with previous and next, using #links and :target, no script. - location-and-hours: address with an OpenStreetMap link, phone, email, opening hours and a note, from data/location.yaml, as a section or a partial for any layout. - team: a people collection with a page per person (photo, role, email, links), a list page and a Team section. - testimonials: quotes with a name and a role. Also: sections get .Index, their place on the page, so two galleries on a page don't share ids; pack templates may use tel: links; docs/packs.md lists the bundled packs. A new test installs each into the starter with real content, builds it, and runs the checks expecting no errors.
643 B
643 B
Location and hours pack
Where to find you and when you're open, for a HotDog CMS site: the address with a link to it on OpenStreetMap, your phone and email, opening hours as a table, and a note for holidays and changes.
hotdog-cms pack add location-and-hours
Keep the details in data/location.yaml and show them with the "Location and
hours" section on any page, or with the location-hours partial anywhere in
a layout, such as the footer. Change the file once, and every place follows.
The map is a link, not an embedded map: an embed would load another company's script on every page and need a mention in your privacy notice.