From 6588db8fd6d6b9aa7edcd8b97db9acdd98a3342c Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Sun, 10 Aug 2014 13:31:28 +0200 Subject: Add config option to enable/disable the bootstrap theme. --- includes/config.defaults.php | 2 ++ index.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 ''; print ''.htmlentities($this->frontpage['title']).''; print ''; - print ''; + if ($this->frontpage['bootstrap_theme']) { + print ''; + } print ''; print ''; print ''; -- cgit v1.2.3