SitePage
Defined in: src/site/manifest.ts:26
One page of the site.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
description? |
string |
Meta description when the first paragraph of the source does not make a good one. | src/site/manifest.ts:40 |
internal? |
boolean |
Contributor-only material: a banner says so and search skips it. | src/site/manifest.ts:44 |
intro? |
boolean |
With sections: also the H1 and the text above the first H2. |
src/site/manifest.ts:36 |
label? |
string |
Sidebar label; the page title when absent. | src/site/manifest.ts:30 |
pending? |
boolean |
A guide that has not landed yet: left out (links go to GitHub) until src exists. |
src/site/manifest.ts:46 |
sections? |
string[] |
Only these H2 sections of src (by heading text, in file order). |
src/site/manifest.ts:34 |
site? |
string |
Site-only page in site/content/ (.md or .mdx). |
src/site/manifest.ts:42 |
slug |
string |
Route without the base and without slashes; "" is the home page. |
src/site/manifest.ts:28 |
src? |
string |
Repository file the page is built from. | src/site/manifest.ts:32 |
title? |
string |
Page title when it does not come from the source’s H1. | src/site/manifest.ts:38 |