forked from rDrama/rDrama
fix prev commit
parent
01071a20e8
commit
e0b1d7968a
|
@ -279,7 +279,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if SITE_NAME == 'PCM' %}
|
{% if SITE_NAME == 'PCM' %}
|
||||||
{% set path = "assets/images/" + SITE_NAME + "/banners" %}
|
{% set path = "assets/images/" + SITE_NAME + "/banners" %}
|
||||||
{% set banner = "/" + path + "/" + listdir('files/' + path)|last + '?v=1' %}
|
{% set banner = "/" + path + "/" + listdir('files/' + path)|max + '?v=1' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set banner = 'banner.webp' | asset_siteimg %}
|
{% set banner = 'banner.webp' | asset_siteimg %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue