From 19a27f039351cf24a205e2c87b2915178c396c55 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Thu, 15 Dec 2022 16:08:36 -0600 Subject: [PATCH] event header icons test 1 --- files/events/helpers/jinja.py | 6 ++++++ files/events/templates/banner_rDrama.html | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/files/events/helpers/jinja.py b/files/events/helpers/jinja.py index c21642151..7b89f76c4 100644 --- a/files/events/helpers/jinja.py +++ b/files/events/helpers/jinja.py @@ -4,5 +4,11 @@ EVENT_JINJA_CONST = { "EVENT_STYLES": "blizzard.css", "EVENT_AWARDS": True, "EVENT_MUSIC": "music.html", + "EVENT_HEADER_ICONS": [ + "/e/marseypartyxmas.webp?v=1", + "/e/marseysanta3.webp?v=1", + "/e/marseychristmaself2.webp?v=1", + "/e/marseysnowman.webp", + ] } diff --git a/files/events/templates/banner_rDrama.html b/files/events/templates/banner_rDrama.html index 915289526..1e6a18f24 100644 --- a/files/events/templates/banner_rDrama.html +++ b/files/events/templates/banner_rDrama.html @@ -1,5 +1,14 @@ {# #} +{% set banner_img = EVENT_HEADER_ICONS | random %} + + {# there's gotta be a better way than this but whatever -jc #} + {% include "event/banner_house2.svg" %}