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.
23 lines
748 B
YAML
23 lines
748 B
YAML
name: gallery
|
|
version: 1.0.0
|
|
title: Gallery
|
|
description: A grid of pictures that open full size, with captions and descriptions, and no script.
|
|
license: MIT
|
|
author: Coffey Labs LLC
|
|
notes: |
|
|
Add a "Gallery" section to any page:
|
|
|
|
sections:
|
|
- gallery:
|
|
heading: The shop
|
|
columns: 3
|
|
items:
|
|
- image: /media/2026/10/counter.jpg
|
|
alt: The bread counter in the morning
|
|
caption: Fresh at 7am.
|
|
|
|
Upload pictures through the editor, so they're resized and cleaned, and
|
|
give every picture a description (alt). Choosing a picture opens it full
|
|
size; Escape isn't available without a script, so the close link sits in
|
|
the corner, and the browser's back button closes it too.
|