diff --git a/archery/settings.py b/archery/settings.py index d9ce6f6b1b..de45f1dd41 100644 --- a/archery/settings.py +++ b/archery/settings.py @@ -486,6 +486,9 @@ }, } +# 在网站标题及登录页面追加此内容, 可用于多archery实例的区分。Archery后台也有相同配置,如都做了配置,以后台配置为准 +CUSTOM_TITLE_SUFFIX = env("CUSTOM_TITLE_SUFFIX", default="") + MEDIA_ROOT = os.path.join(BASE_DIR, "media") if not os.path.exists(MEDIA_ROOT): os.mkdir(MEDIA_ROOT) diff --git a/common/templates/base.html b/common/templates/base.html index f0ea044d7c..0f5a4dc6b1 100644 --- a/common/templates/base.html +++ b/common/templates/base.html @@ -7,7 +7,7 @@ -