]> git.g-eek.se Git - ikiwiki-pandoc.git/commitdiff
Refactor. Return explicit from pagetemplate sub
authorGustav Eek <gustav.eek@fripost.org>
Mon, 20 Jan 2020 17:51:20 +0000 (18:51 +0100)
committerGustav Eek <gustav.eek@fripost.org>
Mon, 20 Jan 2020 17:51:53 +0000 (18:51 +0100)
pandoc.pm

index 8a2a63087a20155ae19a958ac247c70104ab1947..7c4d731f0c3bc6e1399136186622f550a1b60505 100755 (executable)
--- a/pandoc.pm
+++ b/pandoc.pm
@@ -614,6 +614,7 @@ sub pagetemplate (@) {
         next unless $k =~ /^pandoc_/;
         $template->param($k => $pagestate{$page}{meta}{$k});
     }
+    return $template;
 }
 
 sub pageactions {