pull/83/head
Aevann 2022-12-27 03:40:46 +02:00
parent 25e0291b1d
commit 150125c650
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,11 @@
{# idk why snow isn't working vvvvvvvvvv #}
{% if p.award_count("snow", v) %}
<script defer src="{{'event/js/snow.js'|asset}}"></script>
<script nonce="{{g.nonce}}">snow(80);</script>
<script nonce="{{g.nonce}}">
document.addEventListener("DOMContentLoaded", () => {
snow(80)
});
</script>
{% endif %}
{% if p.award_count("frostbite", v) %}

View File

@ -1,7 +1,11 @@
{# <script defer src="{{'event/js/neko.js'|asset}}"></script> #}
{% if request.path == '/' %}
<script defer src="{{'event/js/snow.js'|asset}}"></script>
<script nonce="{{g.nonce}}">snow(80);</script>
<script nonce="{{g.nonce}}">
document.addEventListener("DOMContentLoaded", () => {
snow(80)
});
</script>
{% endif %}
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">