move snow.js to a vendor folder

pull/104/head
Aevann 2023-01-28 13:33:51 +02:00
parent 56ebb3e651
commit 7beadcee71
4 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ ASSET_URL = '/assets/'
ASSET_CACHE = defaultdict(lambda: None)
if IS_FISTMAS():
ASSET_SUBDIRS.extend(['/fistmas/css', '/fistmas/css/themes', '/fistmas/js'])
ASSET_SUBDIRS.extend(['/fistmas/css', '/fistmas/css/themes', '/fistmas/js', '/fistmas/js/vendor'])
def assetcache_build(asset_dir, subdirs):
for subdir in subdirs:

View File

@ -8,7 +8,7 @@
{# idk why snow isn't working vvvvvvvvvv #}
{% if p.award_count("snow", v) %}
<script defer src="{{'fistmas/js/snow.js'|asset}}"></script>
<script defer src="{{'fistmas/js/vendor/snow.js'|asset}}"></script>
{% endif %}
{% if p.award_count("frostbite", v) %}

View File

@ -1,5 +1,5 @@
{% if request.path == '/' %}
<script defer src="{{'fistmas/js/snow.js'|asset}}"></script>
<script defer src="{{'fistmas/js/vendor/snow.js'|asset}}"></script>
{% endif %}
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">