summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-08-10 13:31:28 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-08-10 13:31:28 +0200
commit6588db8fd6d6b9aa7edcd8b97db9acdd98a3342c (patch)
tree5d83c04d4636edf251a78d3c03c427bff9f1976c /index.php
parent0c5dfc64a4d61750d42940137325f7c306f3badb (diff)
Add config option to enable/disable the bootstrap theme.
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
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>';