BasePage
Overview
BasePage
serves as the foundational structure for all content pages within the High Velocity application. It encapsulates common attributes that are shared across various page types, ensuring consistency and reusability.
Attributes
type
type: literal = 'page'
Discriminant for the page type.
hideHeader
type: boolean (optional)
Determines whether the header is hidden on this page.
lastModified
type: Date (optional)
The last time this page was modified. This attribute is used in sitemap generation.
handle
type: string
Cross vendor identifier for the page. This attribute is important for how pages are connected across vendors.
By default, handle
is used as the slug for page URLs.
id
type: string
A unique identifier for the page.
title
type: string
The title of the page.
description
type: string
The description of the page.
injectIndex
type: number (optional)
Controls the injection index for dynamic content insertion.
headerOverlap
type: boolean (optional)
Determines whether the header overlaps the main content.
openGraph
type: OpenGraph (optional)
Metadata for social sharing and SEO optimization.
keywords
type: string
Keywords associated with the page for SEO purposes.