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

31 lines
1009 B
YAML

name: portfolio
version: 1.0.0
title: Portfolio
description: Your work, as projects with a cover picture, the details and more pictures, a page listing them all, and a section for any page.
license: MIT
author: Coffey Labs LLC
collections:
work:
layout: project
list_layout: portfolio
notes: |
Add each project as content/work/<name>.md:
---
title: Garden room for the Lees
date: 2026-05-14
summary: A timber garden office, from sketch to the last coat of oil.
cover: /media/work/garden-room.jpg
cover_alt: The finished garden room at dusk, its lights on
client: The Lee family
services: Design, build
link: https://example.org/case-study
pictures:
- { image: /media/work/frame.jpg, alt: The timber frame going up }
---
The story of the project, in Markdown.
/work/ lists every project, newest first, and the "Portfolio" section shows
the latest on any page. Give content/work/_index.md a title, such as
"Our work", to name that page.