Source
---
title: Default
order: 1
layout: norn-landing.webc
anchors: true
---
Copy {name} to clipboard
Copy
Copied
Copy failed
html code
A project's landing page: the hero with the usage or install sample, then the install, features, and packages sections. 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. Samples are norn-code-blocks: highlighted with @allons-y/webc-code-sample, and plain <pre><code> without it. Its texts ("Get started", "View on GitHub", "Free & open source", "License: {license}", "Node {node}", and the section headings) come from componentStrings under norn-landing, then English.
---
title: Default
order: 1
layout: norn-landing.webc
anchors: true
---
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. |
repo |
string |
The repository's URL. |
license |
string |
The license name, for the hero's facts. |
node |
string |
The lowest Node version, such as 24+. |
install |
string |
The install command. |
usage |
{ language: string, code: string, caption?: string } |
One sample for the hero. With it, the install command gets its own section. |
features |
{ title: string, description: string, href?: string }[] |
Feature cards. |
packages |
{ title: string, description: string, href?: string }[] |
Package cards, titles in the mono face. |
| Name | Description |
|---|---|
default |
The page body, after the sections: Markdown or WebC, compiled once. A page with no body renders no section. |