This is a demo article. Everything around this paragraph — the title block, the
date and category row above, the author line and the share row below — is
generated at build time from meta.yaml. The only thing you write is
the body.
Create a folder under content/, put page_type: article
plus a title and dates in meta.yaml, and write the body in
content.html. Rebuild, and the page appears with a proper
<title>, Open Graph tags and JSON-LD attached.
Body copy uses a fluid type scale, so the measure stays readable from a phone to
a wide monitor without a single media query in your content. Inline elements work
as you would expect: bold, italic,
links, inline code and Ctrl +
C for keys.
The best static site is the one you can rebuild in a second and host anywhere.
Long lines scroll horizontally instead of breaking the layout:
python3 scripts/build.py --verbose # build everything
python3 scripts/build.py --page about # rebuild a single page
python3 scripts/check.py # smoke-test the output
Wide tables get wrapped in a keyboard-scrollable region automatically, so they never force the page sideways on a phone:
| File | Produced by | Toggle |
|---|---|---|
sitemap.xml | full builds | features.sitemap |
rss.xml / feed.xml | articles | features.feeds |
pagefind/ | Pagefind via npx | features.search |
The row below is built from social_share in the config. Each button is
a plain link to that service's public share endpoint — no third-party script, no
iframe, no cookie. The copy button writes the title and URL to the clipboard and
shows a small toast.