]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Render.pm
po: some code simplification/clarification
[git.ikiwiki.info.git] / IkiWiki / Render.pm
index 7f9c4cb9c9f6760a8d3c91c7ff6c623cff624eed..389063d4623f8f381717384691d46803825d8dec 100644 (file)
@@ -528,6 +528,7 @@ sub commandline_render () { #{{{
        $content=linkify($page, $page, $content);
        $content=htmlize($page, $page, $type, $content);
        $pagemtime{$page}=(stat($srcfile))[9];
+       $pagectime{$page}=$pagemtime{$page} if ! exists $pagectime{$page};
 
        print genpage($page, $content);
        exit 0;