Move template_context to top level for backwards compatibility

main
trivernis 8 months ago
parent 16cbbdf62b
commit 62f782c7c9
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -59,6 +59,9 @@ pub fn read_config(repo: &Path) -> Result<SiloConfig> {
lines.push(format!(
"config = utils.merge(config, utils.load_toml {old_config:?})"
));
lines.push(format!(
"config = utils.merge(config, config.template_context)"
))
}
lines.push("-- Changes can be added to the `config` object".to_owned());
lines.push("".to_owned());

Loading…
Cancel
Save