{path} is replaced when path is a known variable; anything else (like
x-data="{open: true}") is left alone.
| Placeholder | Value |
|---|---|
{frontmatter.title} | front matter of the current markdown page |
{content} | rendered markdown of the current page |
{page.url}, {page.title}, {page.description} | current page |
{site.name} | anything under site in statico.json |
{env.PUBLIC_KEY} | .env keys starting with PUBLIC_ — never other keys, never your shell environment |
{collections.menu.json} | a collection inlined as JSON |
{ url('/path') } | /path, or absolute when building with a URL |
{seo} | meta description, canonical, Open Graph, Twitter, JSON-LD, feed links |
{tailwindcss} | compiled stylesheet (build) or in-browser Tailwind (dev) |
{static_content_element} | hidden element with toc/front matter (Static compatibility) |