bunteshaus.de/themes/buha/layouts/tools/single.html

12 lines
346 B
HTML
Raw Normal View History

2022-06-17 17:45:53 +02:00
{{ define "content" }}
{{ $partial := "" }}
{{ if eq .Params.tool "generator" }}
{{ $partial = "tools/generator" }}
{{ else if eq .Params.tool "nottranslated" }}
{{ $partial = "tools/nottranslated" }}
{{ end }}
<article>
{{ partial $partial (dict "context" . "content" .Content) }}
</article>
{{ end }}