master
Joey Hess 2008-03-12 13:06:27 -04:00
parent 46976ac142
commit 5447cf4089
1 changed files with 7 additions and 0 deletions

View File

@ -1 +1,8 @@
It would be nice if the [[aggregate_plugin|plugin/aggregate]] would try to extract the m/ctime out of each post and touch the files on the filesystem appropriately, so that ikiwiki reflects the actual time of the post via the [[inline_plugin|plugin/inline]], rather than the time when the aggregation ran to pull the post in. --[[madduck]]
> Like this? (Existing code in aggregate.pm...) --[[Joey]]
# Set the mtime, this lets the build process get the right creation
# time on record for the new page.
utime $mtime, $mtime, pagefile($guid->{page})
if defined $mtime && $mtime <= time;