🐛 fix: only load script if there are tags

This commit is contained in:
welpo 2024-11-16 15:36:50 +01:00
parent f1de4c31cd
commit 868e0dbaab
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6

View file

@ -29,7 +29,6 @@
</li>
{% endfor %}
</ul>
{#- Load the script -#}
<script src="{{ get_url(path='js/filterCards.min.js', trailing_slash=false, cachebust=true) | safe }}" defer></script>
{% endif %}
{#- Load the script -#}
<script src="{{ get_url(path='js/filterCards.min.js', trailing_slash=false, cachebust=true) | safe }}" defer></script>