mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-29 11:52:56 +01:00
fix: double quotes inside double quotes
This commit is contained in:
1 parent
2d1c1b3fa7
commit
e9d1956048
1 file changed
+1
-1
@@ -8,6 +8,6 @@ register = template.Library()
|
||||
def site_title(value):
|
||||
value = value.strip()
|
||||
if value:
|
||||
return f"{value} {settings.TITLE_SEPARATOR or '::'} {settings.SITE_TITLE or "SITE_TITLE NOT SET"}"
|
||||
return f"{value} {settings.TITLE_SEPARATOR or '::'} {settings.SITE_TITLE or 'SITE_TITLE NOT SET'}"
|
||||
else:
|
||||
return settings.SITE_TITLE or "SITE_TITLE NOT SET"
|
||||
Reference in new issue
Block a user