Skip to content

data()

Get a value from the computed page data, or fallback to the page's front matter, then to the default value.

$page->data(string $key, mixed $default): \Hyde\Markdown\Models\FrontMatter|mixed

matter()

Get the front matter object, or a value from within.

$page->matter(string $key, mixed $default): \Hyde\Markdown\Models\FrontMatter|mixed

has()

See if a value exists in the computed page data or the front matter.

$page->has(string $key): bool