fix: Test for the file that's actually been used.
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
muli 2023-05-10 15:44:28 +02:00
parent 7fd96cb4d0
commit 5348b3fbc8
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ __ ____________________
{%- if '/js/nav_toggle.js'|asseturl is defined -%}
<script type="text/javascript" src="{{ '/js/nav_toggle.js'|asseturl }}"></script>
{%- endif %}
{% if '/js/contact_form_toggle.js'|asseturl is defined and this.title == 'Kontakt' -%}
{% if '/js/contact_form.js'|asseturl is defined and this.title == 'Kontakt' -%}
<script type="text/javascript" src="{{ '/js/contact_form.js'|asseturl }}"></script>
{%- endif %}
</body>