siteSidebar();
if (strpos($out, 'plugin-search') !== false) {
$sidebarSearchHtml .= $out;
} else {
$sidebarOtherHtml .= $out;
}
}
}
// The hero (and the relocated search) only appear on the blog front page.
$heroVisible = ($WHERE_AM_I === 'home' && Paginator::currentPage() == 1);
?>
viewing a single page/post
// "home" -> viewing the front page
if ($WHERE_AM_I == 'page') {
include(THEME_DIR_PHP.'page.php');
} else {
include(THEME_DIR_PHP.'home.php');
}
?>