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.
27 lines
954 B
YAML
27 lines
954 B
YAML
name: coming-soon
|
|
version: 1.0.0
|
|
title: Coming soon
|
|
description: A holding page for before launch or during maintenance, with when you'll be back and a sign-up form.
|
|
license: MIT
|
|
author: Coffey Labs LLC
|
|
notes: |
|
|
Give a page layout: holding. For a site that isn't open yet, make it the
|
|
home page, content/index.md:
|
|
|
|
---
|
|
title: Fresh bread, coming to Main Street
|
|
summary: Bakery on Main opens in March.
|
|
layout: holding
|
|
launch: Opening March 1, 2027
|
|
form: signup # optional: a form from forms/, such as the
|
|
# contact-forms pack's mailing list sign-up
|
|
links:
|
|
- { text: Mastodon, url: "https://example.social/@bakery" }
|
|
---
|
|
Sourdough, rye and pastries, baked from 4am. Leave your email and we'll
|
|
tell you the day we open.
|
|
|
|
The page has no menu, only what's on it and the site's footer. When
|
|
you're ready, change the layout back (landing, for the starter's home
|
|
page).
|