diff options
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 043649742..2d47cb4be 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -333,8 +333,8 @@ sub preprocess_inline (@) { $template=template_depends($params{template}.".tmpl", $params{page}, blind_cache => 1); }; - if (! $@ || ! $template) { - error sprintf(gettext("nonexistant template %s"), $params{template}); + if ($@ || ! $template) { + error sprintf(gettext("nonexistant template %s.tmpl"), $params{template}); } } my $needcontent=$raw || (!($archive && $quick) && $template->query(name => 'content')); |