diff --git a/config.ini-example b/config.ini-example index cedbdd5..5c2aa51 100644 --- a/config.ini-example +++ b/config.ini-example @@ -15,6 +15,7 @@ repositories[] = '/home/git/repositories/' ; Path to your repositories debug = false cache = true theme = "default" +title = "" ; If you need to specify custom filetypes for certain extensions, do this here [filetypes] diff --git a/src/GitList/Application.php b/src/GitList/Application.php index 34eb03e..f538a77 100644 --- a/src/GitList/Application.php +++ b/src/GitList/Application.php @@ -33,6 +33,7 @@ class Application extends SilexApplication $this['debug'] = $config->get('app', 'debug'); $this['date.format'] = $config->get('date', 'format') ? $config->get('date', 'format') : 'd/m/Y H:i:s'; $this['theme'] = $config->get('app', 'theme') ? $config->get('app', 'theme') : 'default'; + $this['title'] = $config->get('app', 'title') ? $config->get('app', 'title') : 'GitList'; $this['filetypes'] = $config->getSection('filetypes'); $this['binary_filetypes'] = $config->getSection('binary_filetypes'); $this['cache.archives'] = $this->getCachePath() . 'archives'; diff --git a/themes/default/twig/layout.twig b/themes/default/twig/layout.twig index 7840709..a2296c8 100644 --- a/themes/default/twig/layout.twig +++ b/themes/default/twig/layout.twig @@ -2,7 +2,7 @@
-