Skip to main content

Examples

Basic Usage

Passing Variables from Frontmatter

Passing Hardcoded Values

Attributes

string
required
Path to the partial to render. Leading slash means “from the project root” (recommended, e.g. /partials/header); without slash, the path resolves relative to the referencing page’s directory.
options group
Variables to pass to the partial, must be variables from frontmatter or hardcoded values.