From 02bccc155bf08dedde33bab4856e0e48c87a147c Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Mon, 1 Apr 2024 09:29:30 +0200 Subject: [PATCH] refactor(single.html) update condition for bestellformular; fix js file path --- themes/hugoplate/layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugoplate/layouts/_default/single.html b/themes/hugoplate/layouts/_default/single.html index d0a3f5f..d334113 100755 --- a/themes/hugoplate/layouts/_default/single.html +++ b/themes/hugoplate/layouts/_default/single.html @@ -4,7 +4,7 @@ {{ .Content }} {{/* TODO Cleanup */}} -{{ if eq .Section "bestellung" }} +{{ if eq .Params.bestellformular true }} {{ $formularjs := resources.Get "js/bestellformular.js" | minify }} {{/* */}}