Skip to content

Origin

Frontmatter comes from book publishing, where front matter is the pages before the main text (title page, copyright, table of contents); static site generators borrowed it in the mid-2000s.

In book production, front matter is everything before the main text: half-title, title page, copyright, dedication, table of contents, preface, acknowledgements. It is not the body; it describes the body. Static site generators of the 2000s (Jekyll was the first to popularise the pattern, in 2008) borrowed the word: a short block of metadata above the content, describing it.

Jekyll uses a front matter block at the top of files to define variables, like the layout to use, the title, the date.

— Jekyll documentation, *Front Matter*, 2024
2008 · Jekyll populariza frontmatter YAML
2013 · Hugo lanza con soporte YAML, TOML y JSON
2018 · Eleventy adopta el formato de Jekyll
2020 · Astro añade validación de schema via Zod
3 · delimitadores aceptados`---`, `+++`, `{...}`