Type
Route
From mothwing ยท src/routes.js:11
A page to write. Most come one to a file in the pages folder, a [name].html file gives one per item. Its props can have files, more files to write, by their path in the build.
Properties
source | string | "gathering/[item].html", relative to the pages folder |
|---|---|---|
output | string | Where it goes in the build: "gathering/cedar-log/index.html" |
url | string | "/gathering/cedar-log/" |
props | Record<string, any> | Its own values, the data folder's are added when it's rendered |
sources | string[] | Files its content comes from, relative to src, for the sitemap's lastmod |