bunteshaus.de/themes/buha/layouts/_default/imprint.html
2021-10-23 22:23:48 +02:00

25 lines
686 B
HTML

{{ define "title" }}
{{ $name := "imprint" }}
{{ if lower $name | i18n }}
{{ $name = lower $name | i18n }}
{{ end }}
{{ $name }}
{{ end }}
{{ define "main" }}
{{ if .Resources.ByType "image" }}
<div style="clear:both;"></div>
<div style="max-width: 25ch; padding: 0 0.8em 0.2em 0; float: right;">
{{ range .Resources.ByType "image" }}
<a href="{{- .Permalink -}}"><img src="{{- .Permalink -}}"/></a>
{{- end -}}
{{ end }}
{{ if .Resources.ByType "image" }}
</div>
{{ end }}
{{ partial "contact.html" }}
{{ i18n "executive" }}: {{ site.Params.imprintdata.executive }}
{{ .Content }}
{{ end }}