GitHub

DaffContentPage

interface

import { DaffContentPage } from '@daffodil/content'

The content for a static webpage.

interface DaffContentPage {
  title: string
  htmlContent: string
  metaTitle: string
  metaDescription: string
}

Properties

title
string

The human-readable title for this page.

htmlContent
string

The HTML content.

metaTitle
string

A title for the page for usage in the tab title of the webpage.

metaDescription
string

An overview description of the page for search engine results.