* Page templates can now use CTIME to show when the page was created.
parent
a72a620134
commit
f1fcb5be9c
|
@ -126,6 +126,7 @@ sub genpage ($$) { #{{{
|
|||
backlinks => $backlinks,
|
||||
more_backlinks => $more_backlinks,
|
||||
mtime => displaytime($pagemtime{$page}),
|
||||
ctime => displaytime($pagectime{$page}),
|
||||
baseurl => baseurl($page),
|
||||
);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ikiwiki (2.31) unstable; urgency=low
|
||||
ikiwiki (2.31) UNRELEASED; urgency=low
|
||||
|
||||
[ Joey Hess ]
|
||||
* Revert preservation of input file modification times in output files,
|
||||
|
@ -40,6 +40,7 @@ ikiwiki (2.31) unstable; urgency=low
|
|||
* Don't die if running with --getctime and rcs_getctime throws an error.
|
||||
There are several cases (recentchanges files, aggregated files)
|
||||
where some source files are not in revision control.
|
||||
* Page templates can now use CTIME to show when the page was created.
|
||||
|
||||
[ Josh Triplett ]
|
||||
* README.Debian: Mention user wikilists.
|
||||
|
|
|
@ -3,3 +3,7 @@
|
|||
The user has to look at the history link to find when a blog item was posted.
|
||||
|
||||
It would be nice if blog entry post pages could include the ctime. -- [[Edward_Betts]]
|
||||
|
||||
> I've committed a change that adds a CTIME variable to page.tmpl. I left
|
||||
> it commented out in the default template, since it seems like a bit of
|
||||
> clutter to me. Good enough? --[[Joey]]
|
||||
|
|
|
@ -104,6 +104,7 @@ License: <TMPL_VAR LICENSE>
|
|||
|
||||
<div class="pagedate">
|
||||
Last edited <TMPL_VAR NAME=MTIME>
|
||||
<!-- Created <TMPL_VAR NAME=CTIME> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue