From c39112e6effa8a4057cc6350c0be46f3363c259a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Oct 2008 15:00:46 -0400 Subject: inline: Allow MTIME to be used in inlinepage.tmpl. --- IkiWiki/Plugin/inline.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki/Plugin') 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]; -- cgit v1.2.3