forked from devs/PCv5
tabtitles: add configuration entry to set a prefix on tabtitles
This commit is contained in:
parent
6238f72d6d
commit
b892d9ae68
|
@ -1,5 +1,5 @@
|
|||
<head>
|
||||
<title>{{ tabtitle or "Planète Casio" }}</title>
|
||||
<title>{{ V5Config.TABTITLE_PREFIX + (tabtitle or "Planète Casio") }}</title>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue