pub fn validate(layout: &LayoutConfig) -> Result<()>Expand description
Validate both templates: known tokens only, a safe relative path, and (for
the filename) a .md suffix. Called at config load so a bad template is
refused before any file is touched.