forked from rDrama/rDrama
1
0
Fork 0

add is_thxgiving for icon

master
Aevann 2023-11-23 19:56:31 +02:00
parent 8e4ad8b05a
commit e7363ba5b7
2 changed files with 5 additions and 1 deletions

View File

@ -1033,6 +1033,8 @@ def IS_EVENT():
return "birthdead"
return None
IS_THXGIVING = True
CHUD_PHRASES = (
"Trans lives matter",
"Black lives matter",

View File

@ -85,7 +85,9 @@
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0">
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not hole %}flex-grow-1{% endif %}">
{% if IS_DKD() %}
{% if IS_THXGIVING %}
{% set icon_url = SITE_FULL_IMAGES + '/e/marseyturkey.webp' %}
{% elif IS_DKD() %}
{% set icon_url = macros.random_image('assets/events/DKD/images/icon') %}
{% elif IS_FISTMAS() %}
{% set icon_url = macros.random_image('assets/events/fistmas/images/icon/' ~ SITE_NAME) %}