MarseyWorld/files/templates/events/fistmas/banner.html

13 lines
557 B
HTML

{% if request.path == '/' %}
<script defer src="{{'events/fistmas/js/vendor/snow.js'|asset}}"></script>
{% endif %}
<a rel="noopener" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
{% if SITE_NAME == 'rDrama' and range(1, 20)|random() == 1 %}
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/assets/events/fistmas/images/banner_new.webp" style="width:100%">
{% else %}
<link rel="stylesheet" href="{{'events/fistmas/css/banner.css' | asset}}">
{% include "events/fistmas/banner.svg" %}
{% endif %}
</a>