forked from Bunteshaus/bunteshaus.de
12 lines
346 B
HTML
12 lines
346 B
HTML
{{ 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 }}
|