2022-12-16 19:38:44 +00:00
|
|
|
import random
|
2022-12-16 21:32:09 +00:00
|
|
|
from datetime import date
|
|
|
|
|
|
|
|
def daysTillChristmas():
|
|
|
|
today = date.today()
|
|
|
|
christmas = date(today.year, 12, 25)
|
|
|
|
delta = abs(christmas - today)
|
|
|
|
return delta.days
|
2022-12-16 19:38:44 +00:00
|
|
|
|
2022-11-30 21:10:20 +00:00
|
|
|
EVENT_JINJA_CONST = {
|
|
|
|
"EVENT_BANNER": "banner_rDrama.html",
|
2022-12-16 02:42:28 +00:00
|
|
|
"EVENT_ICONS": True,
|
2022-11-30 21:10:20 +00:00
|
|
|
"EVENT_SIDEBAR": True,
|
2022-11-29 21:11:58 +00:00
|
|
|
"EVENT_STYLES": "blizzard.css",
|
2022-11-30 21:10:20 +00:00
|
|
|
"EVENT_AWARDS": True,
|
|
|
|
"EVENT_MUSIC": "music.html",
|
2022-12-15 22:36:03 +00:00
|
|
|
"EVENT_VISITORS_HERE_FLAVOR": [
|
2022-12-15 22:33:02 +00:00
|
|
|
' santa enjoyers kissing under a misletoe',
|
|
|
|
' bringing up family drama at Christmas dinner',
|
2022-12-16 21:48:08 +00:00
|
|
|
' least homoerotic dramanauts stroking their candy canes',
|
|
|
|
" dramanauts jingling each other's balls",
|
|
|
|
" average Santa deniers getting reamed by Rudolph the Red-Nosed Reindeer",
|
|
|
|
" naughty listers getting coal for fistmas",
|
|
|
|
" plus-sized dramanauts eating Santa's cookies",
|
|
|
|
" dramatards having their chimney's stuffed by Santa",
|
2022-12-16 19:38:44 +00:00
|
|
|
],
|
|
|
|
"random": random,
|
2022-12-16 21:32:09 +00:00
|
|
|
"daysTillChristmas": daysTillChristmas,
|
2022-11-30 21:10:20 +00:00
|
|
|
}
|
|
|
|
|