From 5db67fd8ae8674c2d8b36de7948584ff20a9878c Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 29 Nov 2022 14:02:39 -0600 Subject: [PATCH] v.hwmusic doesn't exist here --- files/events/templates/music.html | 2 +- files/templates/default.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/events/templates/music.html b/files/events/templates/music.html index ab8fc59d3..81cdba52a 100644 --- a/files/events/templates/music.html +++ b/files/events/templates/music.html @@ -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' %} diff --git a/files/templates/default.html b/files/templates/default.html index f92e4827d..2675ccd73 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -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 %}