update sidebar & themes
This commit is contained in:
1 parent
25dad8631e
commit
09e003f88a
3 files changed
+58
-17
No files matched your search
+6
-2
@@ -36,8 +36,12 @@
|
||||
<!-- Include CSS Bootstrap ICONS file from Bludit Core -->
|
||||
<?php echo Theme::cssBootstrapIcons(); ?>
|
||||
|
||||
<!-- Include CSS Styles from this theme -->
|
||||
<?php echo Theme::css('css/style.css'); ?>
|
||||
<!-- Include CSS Styles from this theme (cache-busted by file mtime) -->
|
||||
<?php
|
||||
$styleVersion = @filemtime(THEME_DIR_CSS . 'style.css');
|
||||
$styleHref = DOMAIN_THEME . 'css/style.css' . ($styleVersion ? '?v=' . $styleVersion : '');
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $styleHref; ?>">
|
||||
|
||||
<!-- Load Bludit Plugins: Site head -->
|
||||
<?php Theme::plugins('siteHead'); ?>
|
||||
+6
-5
@@ -18,13 +18,14 @@
|
||||
<?php endif ?>
|
||||
|
||||
<?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).
|
||||
// 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 $sidebarOtherHtml;
|
||||
echo $sidebarNoSearchHtml;
|
||||
} else {
|
||||
echo $sidebarSearchHtml . $sidebarOtherHtml;
|
||||
echo $sidebarFullHtml;
|
||||
}
|
||||
?>
|
||||
</aside>
|
||||
Reference in new issue
Block a user