diff --git a/app/templates/base/head.html b/app/templates/base/head.html index 3bc011f..503e6e1 100644 --- a/app/templates/base/head.html +++ b/app/templates/base/head.html @@ -1,5 +1,5 @@ - {{ tabtitle or "Planète Casio" }} + {{ V5Config.TABTITLE_PREFIX + (tabtitle or "Planète Casio") }} diff --git a/config.py b/config.py index 7a53337..063ece9 100644 --- a/config.py +++ b/config.py @@ -83,6 +83,8 @@ class DefaultConfig(object): SLOW_REQUEST_THRESHOLD = 0.400 # s # Whether to enable flask-debug-toolbar ENABLE_FLASK_DEBUG_TOOLBAR = False + # Tab title prefix. Useful to dissociate local/dev/prod tabs + TABTITLE_PREFIX = "" class V5Config(LocalConfig, DefaultConfig):