# Optimisation to avoid re-writing pages. Assumes commits never
# change (or that any changes are not important).
# Optimisation to avoid re-writing pages. Assumes commits never
# change (or that any changes are not important).
commitdate => displaytime($change->{when}, "%X %x"),
wikiname => $config{wikiname},
);
commitdate => displaytime($change->{when}, "%X %x"),
wikiname => $config{wikiname},
);
IkiWiki::run_hooks(pagetemplate => sub {
shift->(page => $page, destpage => $page,
template => $template, rev => $change->{rev});
IkiWiki::run_hooks(pagetemplate => sub {
shift->(page => $page, destpage => $page,
template => $template, rev => $change->{rev});