adding a left sidebar for article summary. changed right sidebar behavior between homepage and in-articles
This commit is contained in:
1 parent
c9cff79d3b
commit
7585802e57
4 files changed
+166
-15
No files matched your search
+4
-4
@@ -20,10 +20,10 @@
|
||||
<?php
|
||||
// Plugins are rendered in a fixed order (see index.php):
|
||||
// Blog/About > Search > Navigation > Category > … > Hit Counter (bottom)
|
||||
// On the homepage front page the search box is shown under the hero, so
|
||||
// it is omitted from the sidebar there.
|
||||
if ($heroVisible) {
|
||||
echo $sidebarNoSearchHtml;
|
||||
// On the homepage the navigation is redundant (posts are already listed),
|
||||
// and the search box lives under the hero, so show only about/categories/counters.
|
||||
if ($WHERE_AM_I === 'home') {
|
||||
echo $sidebarHomeHtml;
|
||||
} else {
|
||||
echo $sidebarFullHtml;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user