bunteshaus.de/themes/buha/layouts/partials/layout/generator.html
2022-04-11 20:19:24 +02:00

18 lines
626 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 language="javascript" type="text/javascript" src="{{ "/js/visibleIf.js" | urlize | relURL }}"></script>
<script defer language="javascript" type="text/javascript" src="{{ "/js/generator.js" | urlize | relURL }}"></script>