Record

Look

Module PuduLangDocgen.Theme

type Look = { layout: Array[Template.Node], partials: Map[Str, Array[Template.Node]] }

View source

Parsed layout and partials ready to render pages

Fields

Name Type Description
layout Array[Template.Node]
partials Map[Str, Array[Template.Node]]
Name Description
load The default templates with overrides applied. An override named `layout.html` replaces the layout and `partials/<name>.html` replaces or adds a partial; other files are ignored. Every template is parsed, and each one that does not parse is reported.
page A page rendered through the layout with its view metadata.