moving searchbar to homepage
This commit is contained in:
1 parent
e10bd1c82a
commit
3846811164
4 files changed
+150
-51
No files matched your search
+10
-1
@@ -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>
|
||||
Reference in new issue
Block a user