PageRoute

PageRoute

Documentation

Maps a page source to its public path.

Kind

Site Configuration

Required fields

path, source

Used by

Properties

*

path

string

Public page path, independent of the PageDocument's source location.

*

source

string

Path to the authored PageDocument, relative to the site's pages/ directory.

Example

Required

{ "path": "/", "source": "root/index.json" }

Full

{ "path": "/", "source": "root/index.json" }

examples are generated from the schema.