Themes allow you to apply general content, data, layouts, and settings to your own site.
In general, themes are placed in a
theme folder alongside the
theme folder is a theme
input folder that contains any type of file the normal
input folder would.
The theme folder is combined with other input folders in the virtual file system
at a lower priority (that is, any files in your
input folder will take precedence over theme files). Themes can take advantage
of this property by providing files that are intended to be overridden.
Themes can also include configuration files that contain global settings which are applied
at a lower priority then other configuration files or settings from other sources. Theme configuration files go in the
folder and can be named:
A folder structure with a theme and both application and theme configuration files might look like:
Themes can be copied into the
theme folder from anywhere. In the future, Statiq will support built-in commands for
obtaining and working with themes.