fix prev commit
parent
01071a20e8
commit
e0b1d7968a
|
@ -279,7 +279,7 @@
|
|||
{% else %}
|
||||
{% if SITE_NAME == 'PCM' %}
|
||||
{% 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 %}
|
||||
{% set banner = 'banner.webp' | asset_siteimg %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue