php dateien in php verzeichnis verschoben. message construct in eigene datei message.php verschoben.

This commit is contained in:
Andreas Hnida 2024-02-22 06:51:56 +00:00
commit 94e182a96e
11 changed files with 174 additions and 107 deletions

View file

@ -1,5 +1,12 @@
{{ define "main" }}
{{/* Lade JS nur wenn wir es brauchen */}}
<div class="content">
{{ .Content }}
{{ .Content }}
</div>
{{ if eq .Section "bestellung" }}
{{ $js := resources.Get "js/bestellformular.js" | minify }}
<script src="{{ $js.RelPermalink }}"></script>
{{ end }}
{{ end }}