fix: Add splash_image to context if exists
This commit is contained in:
parent
f416e2a1d2
commit
9bc85402f6
1 changed files with 2 additions and 1 deletions
|
|
@ -203,7 +203,8 @@ def get_website_settings(context=None):
|
|||
|
||||
context["hide_login"] = settings.hide_login
|
||||
|
||||
context["splash_image"] = settings.splash_image or context["splash_image"]
|
||||
if splash_image := settings.splash_image or context.get("splash_image"):
|
||||
context["splash_image"] = splash_image
|
||||
|
||||
return context
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue