Build
The [build]
table sets the default compiler profile; see build profiles for more information.
source
Read source files from the input directory (defaultsite
)target
Destination for all builds (defaultbuild
)strict
Error when an unknown template variable is detected (defaulttrue
)rewrite-index
Rewrite to directory with index.html (defaulttrue
)assets
Path to use for finding assets (defaultassets
)partials
Path to use for finding partials (defaultpartials
)collections
Path to use for finding collections (defaultcollections
)extend
Additional file extensions to be rendered as templates (optional)
Extend
The extend
list can define extra file extensions to treat as page templates; these values are appended to render
in the extension settings.
To support parsing HTML pages as well as markdown documents:
[]
= ["html"]
It is possible to include any type of file; we use it at times to render JSON documents:
[]
= ["html", "json"]