summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/config.defaults.php4
-rw-r--r--index.php3
2 files changed, 6 insertions, 1 deletions
diff --git a/includes/config.defaults.php b/includes/config.defaults.php
index 4632ca0..b333e5d 100644
--- a/includes/config.defaults.php
+++ b/includes/config.defaults.php
@@ -11,6 +11,8 @@ $config = array (
'frontpage' => array (
// Use Bootstrap theme
'bootstrap_theme' => true,
+ // Custom Bootstrap theme
+ 'custom_bootstrap_theme' => false,
// CSS to use
'css' => 'css/style.css',
// Display the title
@@ -65,4 +67,4 @@ $config = array (
);
-// End of config.defaults..php
+// End of config.defaults.php
diff --git a/index.php b/index.php
index 059fd72..7220c7b 100644
--- a/index.php
+++ b/index.php
@@ -225,6 +225,9 @@ final class LookingGlass {
if ($this->frontpage['bootstrap_theme']) {
print '<link href="libs/bootstrap-3.2.0/css/bootstrap-theme.min.css" rel="stylesheet" />';
}
+ if ($this->frontpage['custom_boostrap_theme']) {
+ print '<link href="'.$this->frontpage['custom_bootstrap_theme'].'" rel="stylesheet" />';
+ }
print '<link href="'.$this->frontpage['css'].'" rel="stylesheet" />';
print '</head>';
print '<body>';