diff --git a/blt/settings.py b/blt/settings.py index f1ab3962f..ada62e1c2 100644 --- a/blt/settings.py +++ b/blt/settings.py @@ -23,6 +23,7 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) PROJECT_NAME = os.environ.get("PROJECT_NAME", "BLT") PROJECT_NAME_LOWER = PROJECT_NAME.lower() +PROJECT_NAME_UPPER = PROJECT_NAME.upper() ADMIN_URL = os.environ.get("ADMIN_URL", "admin") DOMAIN_NAME = os.environ.get("DOMAIN_NAME", "127.0.0.1") #domain.com (without www) diff --git a/website/templatetags/custom_tags.py b/website/templatetags/custom_tags.py index 320519b48..2ab2485b7 100644 --- a/website/templatetags/custom_tags.py +++ b/website/templatetags/custom_tags.py @@ -15,4 +15,4 @@ def env(key): @register.simple_tag def logo(logo_type): - return static(F"img/{settings.PROJECT_NAME}_{logo_type}.png") \ No newline at end of file + return static(F"img/{settings.PROJECT_NAME_UPPER}_{logo_type}.png") \ No newline at end of file