diff --git a/index.php b/index.php index a88010d..245d97e 100644 --- a/index.php +++ b/index.php @@ -104,8 +104,8 @@ } } - // The hero (and the relocated search) only appear on the blog front page. - $heroVisible = ($WHERE_AM_I === 'home' && Paginator::currentPage() == 1); + // The hero (and the relocated search) appear on every paginated home page. + $heroVisible = ($WHERE_AM_I === 'home'); // Reuse the values pre-computed before
(avoids calling $page->content() twice). $isArticlePage = $blowditIsArticle; $hasHeadings = $blowditHasHeadings; diff --git a/php/home.php b/php/home.php index 627b674..fd90aff 100644 --- a/php/home.php +++ b/php/home.php @@ -3,7 +3,7 @@ // Shown only on the blog front page (first paginated page). // Drop your avatar at img/spleenftw.jpeg (change the filename below to reuse). $profileImage = DOMAIN_THEME . 'img/spleenftw.jpeg'; - $showProfile = ($WHERE_AM_I === 'home' && Paginator::currentPage() == 1); + $showProfile = ($WHERE_AM_I === 'home'); ?>