pub fn load_layer(dir: &Path) -> Result<Option<SiteConfigLayer>, ConfigError>Expand description
Load a single sparse config.toml from dir into a layer.
Returns Ok(None) if the file is absent — caller decides whether that’s
an error. Returns Err for parse failures (with the original text
retained for snippet rendering) and for unknown-key violations enforced
by confique’s strict deserializer.