forked from MarseyWorld/MarseyWorld
site_preview change for rdrama
parent
5aebc60764
commit
2957db79ce
Binary file not shown.
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 571 KiB |
|
@ -213,7 +213,7 @@ class Submission(Base):
|
||||||
return self.thumburl
|
return self.thumburl
|
||||||
elif self.is_youtube or self.is_video: return f"{SITE_FULL}/assets/images/default_thumb_video.webp?v=1"
|
elif self.is_youtube or self.is_video: return f"{SITE_FULL}/assets/images/default_thumb_video.webp?v=1"
|
||||||
elif self.is_audio: return f"{SITE_FULL}/assets/images/default_thumb_audio.webp?v=1"
|
elif self.is_audio: return f"{SITE_FULL}/assets/images/default_thumb_audio.webp?v=1"
|
||||||
elif self.domain == SITE: return f"{SITE_FULL}/assets/images/{SITE_NAME}/site_preview.webp?v=3001"
|
elif self.domain == SITE: return f"{SITE_FULL}/assets/images/{SITE_NAME}/site_preview.webp?v=3008"
|
||||||
else: return f"{SITE_FULL}/assets/images/default_thumb_link.webp?v=1"
|
else: return f"{SITE_FULL}/assets/images/default_thumb_link.webp?v=1"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -597,7 +597,7 @@ class User(Base):
|
||||||
def banner_url(self):
|
def banner_url(self):
|
||||||
if FEATURES['USERS_PROFILE_BANNER'] and self.bannerurl:
|
if FEATURES['USERS_PROFILE_BANNER'] and self.bannerurl:
|
||||||
return self.bannerurl
|
return self.bannerurl
|
||||||
return f"/i/{SITE_NAME}/site_preview.webp?v=3001"
|
return f"/i/{SITE_NAME}/site_preview.webp?v=3008"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
|
|
|
@ -39,5 +39,5 @@ set CACHE_VER = {
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro asset_siteimg(name) -%}
|
{%- macro asset_siteimg(name) -%}
|
||||||
/i/{{SITE_NAME}}/{{name}}?v=3007
|
/i/{{SITE_NAME}}/{{name}}?v=3008
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
Loading…
Reference in New Issue