Source
---
title: Default
order: 1
layout: norn-workspaces-home.webc
---
Copy {name} to clipboard
Copy
Copied
Copy failed
html code
A monorepo's home page: the hero with the install sample, then an index of the workspaces, titles in the mono face. Extends norn-base. The page body follows the sections, in a section of its own, in norn-rich-text. Markdown is compiled once, as on norn-docs, and a page with no body renders no section. The install sample is a norn-code-block: highlighted with @allons-y/webc-code-sample, and a plain <pre><code> without it. Its texts ("Get started", "Browse packages", "View on GitHub", "Packages") come from componentStrings under norn-workspaces-home, then English.
---
title: Default
order: 1
layout: norn-workspaces-home.webc
---
Copy {name} to clipboard
Copy
Copied
Copy failed
html code
The plugin's props mapping sets them on each page, and the layout reads them as $data.norn.
| Name | Type | Description |
|---|---|---|
lede |
string |
The hero paragraph. Falls back to the description. |
install |
string |
The install command. |
repo |
string |
The repository's URL. |
workspaces |
{ href: string, title: string, description?: string }[] |
The workspaces, each with its page. |
| Name | Description |
|---|---|
default |
The page body, after the sections: Markdown or WebC, compiled once. A page with no body renders no section. |