Frontmatter in default theme

Shared frontmatter

interface CommonFrontmatter {
  ?: string
  ?: string
  ?: string
}
ts

title

The final page title would be page frontmatter title | siteConfig.title

description

The final page description would be use the page frontmatter if provided instead of siteConfig.description

lastUpdate

It will affect the "last update at: " content at the end of the page.
Default it would read the git commit time of the +page file.
You can override it by config this field.

Special frontmatter

Last update at: 2024/02/28 01:19:24