bunteshaus.de/themes/buha/layouts/partials/layout/generator.html
2022-04-12 13:00:12 +02:00

18 lines
534 B
HTML

{{ define "css" }}
<link rel="stylesheet" href="/css/visibleIf.css" type="text/css" />
{{ end }}
<article>
<div>
{{ .context.Content }}
</div>
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
{{ if (index .context.Params.forms 0) }}
{{ partial "layout/generator/form" (dict "context" .context "form" 0) }}
{{ end }}
</article>
<script defer src="{{ "/js/visibleIf.js" | urlize | relURL }}"></script>
<script defer src="{{ "/js/generator.js" | urlize | relURL }}"></script>