2023-06-27 12:01:40 +00:00
|
|
|
{% if not (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and (not v or v.event_music) and not (sub and sub.name == 'music') %}
|
2022-11-30 21:10:20 +00:00
|
|
|
{% if not song %}
|
2023-04-25 15:47:46 +00:00
|
|
|
{% set path = "assets/events/fistmas/music" %}
|
2023-06-29 20:14:30 +00:00
|
|
|
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=6' %}
|
2023-01-01 02:24:36 +00:00
|
|
|
<input hidden id="fistmas-song" value="{{song}}">
|
2022-11-30 21:10:20 +00:00
|
|
|
{% endif %}
|
2023-04-25 15:59:16 +00:00
|
|
|
<script defer src="{{'events/fistmas/js/music.js' | asset}}"></script>
|
2022-11-30 21:10:20 +00:00
|
|
|
{% endif %}
|