2023-04-25 14:34:09 +00:00
|
|
|
{% if not (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and not (sub and sub.name == 'music') %}
|
|
|
|
{% if not song %}
|
2023-04-25 15:47:46 +00:00
|
|
|
{% set path = "assets/events/DKD/music" %}
|
2023-04-25 16:12:40 +00:00
|
|
|
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=2' %}
|
2023-04-25 14:34:09 +00:00
|
|
|
<input hidden id="DKD-song" value="{{song}}">
|
|
|
|
{% endif %}
|
2023-04-25 15:59:16 +00:00
|
|
|
<script defer src="{{'events/DKD/js/music.js' | asset}}"></script>
|
2023-04-25 14:34:09 +00:00
|
|
|
{% endif %}
|