moving searchbar to homepage

This commit is contained in:
spleenftw committed 2026-05-29 14:47:51 +02:00
1 parent e10bd1c82a
commit 3846811164
4 files changed
+150 -51

No files matched your search

+10 -1
View File
@@ -17,5 +17,14 @@
</div>
<?php endif ?>
<?php Theme::plugins('siteSidebar') ?>
<?php
// On the homepage front page the search box is shown under the hero,
// so only render the remaining sidebar plugins here. Everywhere else
// the sidebar shows the full set (search included).
if ($heroVisible) {
echo $sidebarOtherHtml;
} else {
echo $sidebarSearchHtml . $sidebarOtherHtml;
}
?>
</aside>