move snow.js to a vendor folder
parent
56ebb3e651
commit
7beadcee71
|
@ -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:
|
||||
|
|
|
@ -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) %}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue