script presunut dolu pod april

This commit is contained in:
ticvac 2024-10-22 19:29:28 +02:00
parent 592ae29d35
commit 8dca676edc

View file

@ -35,18 +35,6 @@
{# script specifický pro stránku #} {# script specifický pro stránku #}
{% block script %}{% endblock %} {% block script %}{% endblock %}
<!-- Halloween 2024 -->
{% if halloween == 2024 %}
<script>
function printHalloween() {
console.log("Halloween 2024");
body = document.getElementsByTagName('body')[0];
body.style.fontFamily = 'GhoulFace';
}
window.onload = printHalloween;
</script>
{% endif %}
</head> </head>
<body class='{{ LOCAL_TEST_PROD }}web{% if user.is_staff %} org-logged-in{% endif %}'> <body class='{{ LOCAL_TEST_PROD }}web{% if user.is_staff %} org-logged-in{% endif %}'>
@ -217,6 +205,17 @@
walkText(document.body); walkText(document.body);
</script> </script>
{% endif %} {% endif %}
{% if halloween == 2024 %}
<script>
function printHalloween() {
console.log("Halloween 2024");
body = document.getElementsByTagName('body')[0];
body.style.fontFamily = 'GhoulFace';
}
window.onload = printHalloween;
</script>
{% endif %}
{% block js %}{% endblock %} {% block js %}{% endblock %}
</body> </body>