PageMetadata #

Title, description and title template of a page.

Fields #

titlestring

Page title. Empty when the page has none.

descriptionoptionalstring

Page description.

titleTemplateoptionalstring | false

Template for <title>, where %s is the page title; false shows the page title alone.

Full type signature
TypeScript
interface PageMetadata {
  title: string
  description?: string
  titleTemplate?: string | false
}

Edit this page

Comments