From f87719956a156e200112b200545590b71133f884 Mon Sep 17 00:00:00 2001 From: Guillaume Marsay Date: Mon, 15 Jun 2020 13:13:05 +0200 Subject: [PATCH] Add WEBSITE_TITLE - Issue #69 --- lg.cfg | 2 +- templates/layout.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lg.cfg b/lg.cfg index 2cc3388..b40f4d1 100644 --- a/lg.cfg +++ b/lg.cfg @@ -1,4 +1,4 @@ - +WEBSITE_TITLE="Bird-LG / Looking Glass" DEBUG = False LOG_FILE="/var/log/lg.log" LOG_LEVEL="WARNING" diff --git a/templates/layout.html b/templates/layout.html index 34071b0..aa57f29 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,6 +1,6 @@ - {{config.DOMAIN|capitalize}} looking glass + {{config.WEBSITE_TITLE|default("Bird-LG / Looking Glass") }} @@ -18,7 +18,7 @@ - {{config.DOMAIN|capitalize}} / Looking Glass + {{config.WEBSITE_TITLE|default("Bird-LG / Looking Glass") }}