1% chance of meme banner
parent
9af90fdf3f
commit
a2895c0e6a
|
@ -1,3 +1,5 @@
|
||||||
|
import random
|
||||||
|
|
||||||
EVENT_JINJA_CONST = {
|
EVENT_JINJA_CONST = {
|
||||||
"EVENT_BANNER": "banner_rDrama.html",
|
"EVENT_BANNER": "banner_rDrama.html",
|
||||||
"EVENT_ICONS": True,
|
"EVENT_ICONS": True,
|
||||||
|
@ -10,6 +12,7 @@ EVENT_JINJA_CONST = {
|
||||||
' bringing up family drama at Christmas dinner',
|
' bringing up family drama at Christmas dinner',
|
||||||
' well-behaved rule-following goodthinkers',
|
' well-behaved rule-following goodthinkers',
|
||||||
' throwing shade right now',
|
' throwing shade right now',
|
||||||
]
|
],
|
||||||
|
"random": random,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,10 @@
|
||||||
<div class="candy-cane"></div>
|
<div class="candy-cane"></div>
|
||||||
|
|
||||||
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
|
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
|
||||||
<link rel="stylesheet" href="{{'css/event/banner.css' | asset}}">
|
{% if random.randint(1,100) != 1 %}
|
||||||
{% include "event/banner_house2.svg" %}
|
<link rel="stylesheet" href="{{'css/event/banner.css' | asset}}">
|
||||||
{#<img src="/assets/images/event/banner_new.webp" />#}
|
{% include "event/banner_house2.svg" %}
|
||||||
|
{% else %}
|
||||||
|
<img src="/assets/images/event/banner_new.webp" style="width:100%" />
|
||||||
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue