move snow.js to a vendor folder
parent
56ebb3e651
commit
7beadcee71
|
@ -13,7 +13,7 @@ ASSET_URL = '/assets/'
|
||||||
ASSET_CACHE = defaultdict(lambda: None)
|
ASSET_CACHE = defaultdict(lambda: None)
|
||||||
|
|
||||||
if IS_FISTMAS():
|
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):
|
def assetcache_build(asset_dir, subdirs):
|
||||||
for subdir in subdirs:
|
for subdir in subdirs:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
{# idk why snow isn't working vvvvvvvvvv #}
|
{# idk why snow isn't working vvvvvvvvvv #}
|
||||||
{% if p.award_count("snow", v) %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if p.award_count("frostbite", v) %}
|
{% if p.award_count("frostbite", v) %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% if request.path == '/' %}
|
{% if request.path == '/' %}
|
||||||
<script defer src="{{'fistmas/js/snow.js'|asset}}"></script>
|
<script defer src="{{'fistmas/js/vendor/snow.js'|asset}}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
|
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
|
||||||
|
|
Loading…
Reference in New Issue