From: Gustav Eek Date: Mon, 20 Jan 2020 17:51:20 +0000 (+0100) Subject: Refactor. Return explicit from pagetemplate sub X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=1b3ea49dd7e5d2152242ac911159463d34a14bd3;p=ikiwiki-pandoc.git Refactor. Return explicit from pagetemplate sub --- diff --git a/pandoc.pm b/pandoc.pm index 8a2a630..7c4d731 100755 --- 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 {