bunteshaus.de/themes/buha/layouts/partials/layout/generator.html
2022-04-11 15:46:02 +02:00

18 lines
641 B
HTML

{{ define "css" }}
<link rel="stylesheet" href="/css/visibleIf.css" type="text/css" />
{{ end }}
<article class="minmax">
<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>