v.hwmusic doesn't exist here

pull/22/head
justcool393 2022-11-29 14:02:39 -06:00
parent 6871d68c10
commit 5db67fd8ae
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{% if not (v and v.poorcel) and not (v and v.hwmusic) and not (sub and sub.name == 'music') %}
{% if not (v and v.poor) and not (sub and sub.name == 'music') %}
{% if not song %}
{% set path = "assets/media/event/music" %}
{% set song = "/" + path + "/" + listdir('files/' + path)|random() + '?v=45' %}

View File

@ -36,7 +36,7 @@
{% block sidebar %}
{% if has_sidebar and (home or p) %}
{% set sidebar = "sidebar_" + SITE_NAME + ".html" %}
{% include sidebar if not EVENT_SIDEBAR else ['event/', sidebar]|join %}
{% include sidebar if not EVENT_SIDEBAR else 'event/' + sidebar %}
{% endif %}
{% endblock %}
</div>