fix: JS für Anzeige und Funktion des Kontaktformulars wird jetzt auf der richtigen Seite geladen.
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
muli 2023-09-03 19:00:15 +02:00
parent 8fdcc4b322
commit 71333fe693

View File

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