reviews (star ratings with the average, as a section or under a product, which then gets AggregateRating), glossary (A to Z with a letter row, each term linkable, DefinedTermSet), logo-wall (a still grid, muted logos become light outlines in dark mode, white tiles on request), videos (a library from your own files: page per video with captions and transcript, list, feed, Latest videos section, VideoObject), directory (entries grouped by category with a page each), link-in-bio (one page of big buttons, no menu), status-page (components from data/status.yaml, incidents with a feed), coming-soon (a holding page with a launch date and a form, no menu) and timeline (dates down a line). Template functions: sortBy, ratings and stars. formatDate takes a date with a time, as front matter's date: does, and now is in the site's timezone. A layout can leave out the site's menu by redefining nav, but only with a non-empty body: Go keeps the old template when the new one is empty.
24 lines
749 B
YAML
24 lines
749 B
YAML
name: glossary
|
|
version: 1.0.0
|
|
title: Glossary
|
|
description: Terms and what they mean, A to Z, each with its own link, and the list for search engines.
|
|
license: MIT
|
|
author: Coffey Labs LLC
|
|
notes: |
|
|
Keep the terms in data/glossary.yaml, in any order:
|
|
|
|
- term: Levain
|
|
definition: A starter built up the night before, for one bake.
|
|
see_also: [Starter]
|
|
- term: Starter
|
|
definition: Flour and water, alive with wild yeast. Feed it daily.
|
|
|
|
Then add a "Glossary" section to a page:
|
|
|
|
sections:
|
|
- glossary: { heading: Baking words, from: glossary }
|
|
|
|
Terms are sorted A to Z, with a row of letters at the top to jump with.
|
|
Each term has its own link: /glossary/#levain. Search engines get the list
|
|
(DefinedTermSet).
|