Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE.
This commit is contained in:
parent
850d175563
commit
800ae8d2dc
59 changed files with 202 additions and 180 deletions
|
@ -529,7 +529,7 @@ class User(Base):
|
|||
@lazy
|
||||
def banner_url(self):
|
||||
if self.bannerurl: return self.bannerurl
|
||||
else: return f"/assets/images/{SITE_NAME}/site_preview.webp?v=1015"
|
||||
else: return f"/assets/images/{SITE_ID}/site_preview.webp?v=1015"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue