projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ea0f92
)
set ctime in --render mode if not known
author
Joey Hess
<joey@kodama.kitenet.net>
Thu, 30 Oct 2008 18:50:33 +0000
(14:50 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Thu, 30 Oct 2008 18:50:33 +0000
(14:50 -0400)
Avoids some uninitialised value warnings.
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 7f9c4cb9c9f6760a8d3c91c7ff6c623cff624eed..389063d4623f8f381717384691d46803825d8dec 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-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;