8 lines
330 B
HTML
8 lines
330 B
HTML
{% if not (v and v.poor) and (not v or v.event_music) and not (sub and sub.name == 'music') %}
|
|
{% if not song %}
|
|
{% set path = "assets/event/media/music" %}
|
|
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %}
|
|
{% endif %}
|
|
<script defer src="{{'event/js/music.js' | asset}}"></script>
|
|
{% endif %}
|