2022-12-20 01:13:34 +00:00
|
|
|
{% if 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 %}
|
2022-12-19 16:15:25 +00:00
|
|
|
{% set path = "assets/event/media/music" %}
|
2022-12-07 08:59:40 +00:00
|
|
|
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %}
|
2022-11-30 21:10:20 +00:00
|
|
|
{% endif %}
|
2022-12-29 14:20:27 +00:00
|
|
|
<script defer src="{{'event/js/music.js' | asset}}"></script>
|
2022-11-30 21:10:20 +00:00
|
|
|
{% endif %}
|