Frontmatter in default theme

Shared frontmatter

interface CommonFrontmatter {
  title?: string
  description?: string
  lastUpdate?: string
}
interface CommonFrontmatter {
  title?: string
  description?: string
  lastUpdate?: 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: 2023/08/10 20:32:21