aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/config.rs b/src/config.rs
index 6a3a3f78..1a41c9e8 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1334,14 +1334,7 @@ where
// And then load user templates to overwrite the defaults
// Use .hbs extension for the files
// Templates get registered with their relative name
- hb.register_templates_directory(
- path,
- DirectorySourceOptions {
- tpl_extension: ".hbs".to_owned(),
- ..Default::default()
- },
- )
- .unwrap();
+ hb.register_templates_directory(path, DirectorySourceOptions::default()).unwrap();
hb
}