ctime => displaytime($pagectime{$page}, undef, 1),
baseurl => baseurl($page),
html5 => $config{html5},
+ responsive_layout => $config{responsive_layout},
);
run_hooks(pagetemplate => sub {
sub scan ($) {
my $file=shift;
- return if $phase > PHASE_SCAN || $scanned{$file};
+ return if $scanned{$file};
$scanned{$file}=1;
debug(sprintf(gettext("scanning %s"), $file));
# At this point it becomes OK to start matching pagespecs.
$phase = PHASE_RENDER;
- # Save some memory: we no longer need to keep track of which pages
- # we've scanned
- %scanned = ();
remove_del(@$del, @$internal_del);