summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/config.defaults.php2
-rw-r--r--index.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/includes/config.defaults.php b/includes/config.defaults.php
index 1c703eb..4632ca0 100644
--- a/includes/config.defaults.php
+++ b/includes/config.defaults.php
@@ -9,6 +9,8 @@ $config = array (
// Frontpage configuration
'frontpage' => array (
+ // Use Bootstrap theme
+ 'bootstrap_theme' => true,
// CSS to use
'css' => 'css/style.css',
// Display the title
diff --git a/index.php b/index.php
index 1cfbda6..059fd72 100644
--- a/index.php
+++ b/index.php
@@ -222,7 +222,9 @@ final class LookingGlass {
print '<meta name="description" content="'.$this->frontpage['title'].'" />';
print '<title>'.htmlentities($this->frontpage['title']).'</title>';
print '<link href="libs/bootstrap-3.2.0/css/bootstrap.min.css" rel="stylesheet" />';
- print '<link href="libs/bootstrap-3.2.0/css/bootstrap-theme.min.css" rel="stylesheet" />';
+ if ($this->frontpage['bootstrap_theme']) {
+ print '<link href="libs/bootstrap-3.2.0/css/bootstrap-theme.min.css" rel="stylesheet" />';
+ }
print '<link href="'.$this->frontpage['css'].'" rel="stylesheet" />';
print '</head>';
print '<body>';