diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-14 15:00:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-14 15:00:46 -0400 |
commit | c39112e6effa8a4057cc6350c0be46f3363c259a (patch) | |
tree | 1ddf112a05952a20adfe57c0d172ce02ef5dc4ee /IkiWiki/Plugin | |
parent | fe2ba07428f43fe3bbe7ce360149229e795975bc (diff) |
inline: Allow MTIME to be used in inlinepage.tmpl.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 1 |
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]; |