Merge pull request 'fix: JS für Anzeige und Funktion des Kontaktformulars wird jetzt auf der richtigen Seite geladen.' (#206) from fix_contact_form into main
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/promote/www Build is passing Details

Reviewed-on: #206
This commit is contained in:
muli 2023-09-03 19:04:03 +02:00
commit 77604d3e20
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ __ ____________________
{% if 'manifest.json'|asseturl is defined -%}
<link rel="manifest" href="{{ 'manifest.json'|asseturl }}">
{%- 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>
{%- endif %}
</head>
@ -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.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>
{%- endif %}
</body>