scripts minifiziert und zu inline js convertiert
This commit is contained in:
parent
0927f5c6c3
commit
f0efd43a6c
1 changed files with 6 additions and 6 deletions
|
|
@ -3,19 +3,19 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
{{/* TODO Cleanup */}}
|
||||||
{{ if eq .Section "bestellung" }}
|
{{ if eq .Section "bestellung" }}
|
||||||
{{ $formularjs := resources.Get "js/bestellformular.js" | minify }}
|
{{ $formularjs := resources.Get "js/bestellformular.js" | minify }}
|
||||||
<script src="{{ $formularjs.RelPermalink }}"></script>
|
{{/* <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> */}}
|
||||||
|
<script>{{ $formularjs.Content | safeJS }}</script>
|
||||||
|
|
||||||
{{ else if eq .Params.kontaktformular true }}
|
{{ else if eq .Params.kontaktformular true }}
|
||||||
{{ $formularjs := resources.Get "js/kontaktformular.js" | minify }}
|
{{ $formularjs := resources.Get "js/kontaktformular.js" | minify }}
|
||||||
|
{{/* <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> */}}
|
||||||
|
<script>{{ $formularjs.Content | safeJS }}</script>
|
||||||
{{/* TODO Captcha rauswerfen, falls wir es nicht mehr brauchen */}}
|
{{/* TODO Captcha rauswerfen, falls wir es nicht mehr brauchen */}}
|
||||||
{{/* {{ $captchaSystemJS := resources.Get "vendor/captcha-system/js/main.js" | minify }} */}}
|
{{/* {{ $captchaSystemJS := resources.Get "vendor/captcha-system/js/main.js" | minify }} */}}
|
||||||
{{/* {{ $captchaSystemCSS := resources.Get "vendor/captcha-system/css/main.css" | minify }} */}}
|
{{/* {{ $captchaSystemCSS := resources.Get "vendor/captcha-system/css/main.css" | minify }} */}}
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
|
|
||||||
<script src="{{ $formularjs.RelPermalink }}"></script>
|
|
||||||
|
|
||||||
{{/* <script src="{{ $captchaSystemJS.RelPermalink }}"></script> */}}
|
{{/* <script src="{{ $captchaSystemJS.RelPermalink }}"></script> */}}
|
||||||
{{/* <link rel="stylesheet" href="{{ $captchaSystemCSS.RelPermalink }}"> */}}
|
{{/* <link rel="stylesheet" href="{{ $captchaSystemCSS.RelPermalink }}"> */}}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue