From f0efd43a6c49f1672c930643a0d658828177e607 Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Thu, 21 Mar 2024 17:15:26 +0100 Subject: [PATCH] scripts minifiziert und zu inline js convertiert --- themes/hugoplate/layouts/_default/single.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/hugoplate/layouts/_default/single.html b/themes/hugoplate/layouts/_default/single.html index 7337e9e..d0a3f5f 100755 --- a/themes/hugoplate/layouts/_default/single.html +++ b/themes/hugoplate/layouts/_default/single.html @@ -3,19 +3,19 @@
{{ .Content }}
- +{{/* TODO Cleanup */}} {{ if eq .Section "bestellung" }} {{ $formularjs := resources.Get "js/bestellformular.js" | minify }} - +{{/* */}} + + {{ else if eq .Params.kontaktformular true }} {{ $formularjs := resources.Get "js/kontaktformular.js" | minify }} +{{/* */}} + {{/* TODO Captcha rauswerfen, falls wir es nicht mehr brauchen */}} {{/* {{ $captchaSystemJS := resources.Get "vendor/captcha-system/js/main.js" | minify }} */}} {{/* {{ $captchaSystemCSS := resources.Get "vendor/captcha-system/css/main.css" | minify }} */}} - - - - {{/* */}} {{/* */}}