script presunut dolu pod april
This commit is contained in:
parent
592ae29d35
commit
8dca676edc
1 changed files with 11 additions and 12 deletions
|
@ -35,18 +35,6 @@
|
|||
{# script specifický pro stránku #}
|
||||
{% 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>
|
||||
<body class='{{ LOCAL_TEST_PROD }}web{% if user.is_staff %} org-logged-in{% endif %}'>
|
||||
|
||||
|
@ -217,6 +205,17 @@
|
|||
walkText(document.body);
|
||||
</script>
|
||||
{% 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 %}
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue