Skip to main content

Module structure

Module structure 

Source
Expand description

A site’s structure: the page types its structure folder defines, and what is wrong with a page against them — no type, a type the folder lacks, a parent its type doesn’t allow, a missing section. devpage has no page types of its own: every one is a type file’s.

Structs§

Structure
A site’s page types and where each of its pages sits, read now.

Functions§

front_matter
The text a page’s front matter gives key, trimmed; None when it has no front matter, no such key, or nothing written for it.
page_type
A page’s page-type and the line it is written on; None when its front matter names none.