PCM: christmas banners rotation, pt2.
parent
d8292b7601
commit
39558a2812
Before Width: | Height: | Size: 687 KiB After Width: | Height: | Size: 687 KiB |
Binary file not shown.
After Width: | Height: | Size: 481 KiB |
|
@ -17,7 +17,7 @@
|
|||
{% set href = "https://secure.transequality.org/site/Donation2?df_id=1480" %}
|
||||
{% set expand = false %}
|
||||
{% elif SITE_NAME == 'PCM' %}{# special case: christmas #}
|
||||
{% set src = "/i/PCM/banners_event/2022christmas1.webp" %}
|
||||
{% set src = "/i/PCM/banners_xmas22/" ~ listdir('files/assets/images/PCM/banners_xmas22')|random() %}
|
||||
{% endif %}
|
||||
{{macros.banner(src, href, alt, expand, class)}}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue