aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-14 15:00:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-14 15:00:46 -0400
commitc39112e6effa8a4057cc6350c0be46f3363c259a (patch)
tree1ddf112a05952a20adfe57c0d172ce02ef5dc4ee /IkiWiki/Plugin
parentfe2ba07428f43fe3bbe7ce360149229e795975bc (diff)
downloadikiwiki-c39112e6effa8a4057cc6350c0be46f3363c259a.tar
ikiwiki-c39112e6effa8a4057cc6350c0be46f3363c259a.tar.gz
inline: Allow MTIME to be used in inlinepage.tmpl.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/inline.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 5d2ef5681..037c20618 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -316,6 +316,7 @@ sub preprocess_inline (@) { #{{{
$template->param(pageurl => urlto(bestlink($params{page}, $page), $params{destpage}));
$template->param(title => pagetitle(basename($page)));
$template->param(ctime => displaytime($pagectime{$page}, $params{timeformat}));
+ $template->param(mtime => displaytime($pagemtime{$page}, $params{timeformat}));
$template->param(first => 1) if $page eq $list[0];
$template->param(last => 1) if $page eq $list[$#list];