]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/trail.pm
vimoutliner.org seems to be taken over by spammers, refer to Github page instead
[git.ikiwiki.info.git] / IkiWiki / Plugin / trail.pm
index cb94855fdd1181cb8113001f838db491db0bcc4d..d5fb2b5d624c1b21cf0fa9163b5b223a090e917e 100644 (file)
@@ -411,6 +411,8 @@ sub pagetemplate (@) {
        my $page = $params{page};
        my $template = $params{template};
 
+       return unless length $page;
+
        if ($template->query(name => 'trails') && ! $recursive) {
                prerender();