]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/inline.pm
inline: Allow MTIME to be used in inlinepage.tmpl.
[ikiwiki.git] / IkiWiki / Plugin / inline.pm
index 5d2ef5681b3d6ab84f16932f8e5efdbc030345a3..037c206184a619fddae6058cc19ab112286690b3 100644 (file)
@@ -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];