mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
chore: add missing symbol (#2641)
Signed-off-by: xixishidibei <xixishidibei@outlook.com>
This commit is contained in:
parent
481135f93a
commit
45c558dec1
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ pub fn extract_shortcodes(
|
|||
if let Some(def) = definitions.get(&sc.name) {
|
||||
sc.tera_name = def.tera_name.clone();
|
||||
} else {
|
||||
return Err(Error::msg(format!("Found usage of a shortcode named `{}` but we do not know about. Make sure it's not a typo and that a field name `{}.{{html,md}} exists in the `templates/shortcodes` directory.", sc.name, sc.name)));
|
||||
return Err(Error::msg(format!("Found usage of a shortcode named `{}` but we do not know about. Make sure it's not a typo and that a field name `{}.{{html,md}}` exists in the `templates/shortcodes` directory.", sc.name, sc.name)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue