X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/96566c33a79a1628a75bc573d924fd3be8b6b37d..9d20373c2529ddbe7a6357ef88a7ba2794f14859:/IkiWiki/Render.pm?ds=inline diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 9d6f636a2..632ec980b 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -134,6 +134,7 @@ sub genpage ($$) { ctime => displaytime($pagectime{$page}, undef, 1), baseurl => baseurl($page), html5 => $config{html5}, + responsive_layout => $config{responsive_layout}, ); run_hooks(pagetemplate => sub { @@ -154,7 +155,7 @@ sub genpage ($$) { 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)); @@ -885,9 +886,6 @@ sub refresh () { # 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);