diff options
Diffstat (limited to '')
| -rw-r--r-- | askama_derive/src/input.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/input.rs b/askama_derive/src/input.rs index 9ea8ddc..c4bb0a3 100644 --- a/askama_derive/src/input.rs +++ b/askama_derive/src/input.rs @@ -18,7 +18,7 @@ impl<'a> TemplateInput<'a> {          let (path, source) = match meta.source {              Source::Source(ref s) => {                  let path = match meta.ext { -                    Some(ref v) => PathBuf::from(format!("_.{}", v)), +                    Some(ref v) => PathBuf::from(format!("{}.{}", ast.ident, v)),                      None => PathBuf::new(),                  };                  (path, s.clone())  | 
