Documentation
Front matter and dynamic inserts reference guide.
Front Matter (Page Options)
Front matter must be at the very top of the page and wrapped with +++ delimiters.
+++
PAGE_TITLE = "My Page"
CONTAINER_MAX_WIDTH = "900px"
CONTENT_FONT = "Inter DM_Serif_Display"
CONTENT_TEXT_COLOR = "#1f2937 #e5e7eb"
SAFETY_PAGE_WARNING = "sensitive"
OPTION_DISABLE_SEARCH_ENGINE = true
+++
Supported Front Matter Options
| Option | Type | Notes |
|---|---|---|
PAGE_TITLE | string | Browser/page title |
CONTAINER_MAX_WIDTH | string | e.g. 800px, 65ch |
CONTENT_FONT | string | Space-separated Google fonts, underscores for spaces |
CONTAINER_INNER_BACKGROUND_COLOR | string | One value, or light/dark pair |
CONTAINER_OUTER_BACKGROUND_IMAGE | string | Image URL |
CONTAINER_BORDER_RADIUS | string | e.g. 16px |
CONTENT_TEXT_SIZE | string | Space-separated sizes |
CONTENT_TEXT_COLOR | string | One value, or light/dark pair |
SAFETY_PAGE_WARNING | enum | adult, sensitive, epilepsy, custom |
OPTION_DISABLE_SEARCH_ENGINE | boolean | true or false |
See the full documentation at the original app for complete dynamic insert reference.