2021-10-23 22:20:01 +02:00
|
|
|
{{ define "title" }}
|
|
|
|
{{ $name := "imprint" }}
|
|
|
|
{{ if lower $name | i18n }}
|
|
|
|
{{ $name = lower $name | i18n }}
|
|
|
|
{{ end }}
|
2022-04-05 14:49:37 +02:00
|
|
|
<h1>{{ $name }}</h1>
|
2021-10-23 22:20:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2022-04-07 16:31:15 +02:00
|
|
|
{{ if site.Params.debug }}imprint.html{{ end }}
|
|
|
|
{{ if .Resources.ByType "image" }}
|
|
|
|
<div style="clear:both;"></div>
|
|
|
|
<div style="max-width: 25ch; padding: 0 0.8em 0.2em 0; float: right;">
|
2021-10-23 22:20:01 +02:00
|
|
|
|
2022-04-07 16:31:15 +02:00
|
|
|
{{ range .Resources.ByType "image" }}
|
|
|
|
<a href="{{- .Permalink -}}"><img src="{{- .Permalink -}}"/></a>
|
|
|
|
{{- end -}}
|
2021-10-23 22:20:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if .Resources.ByType "image" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-04-06 02:39:08 +02:00
|
|
|
<article>
|
2022-04-08 12:04:46 +02:00
|
|
|
{{ partial "structure/contact" }}
|
|
|
|
{{ if i18n "executive" }}{{ i18n "executive" }}{{ else }}{{ "Executive" }}{{ end }}: {{ site.Params.imprintdata.executive }}
|
2021-10-23 22:20:01 +02:00
|
|
|
{{ .Content }}
|
2022-04-06 02:39:08 +02:00
|
|
|
</article>
|
|
|
|
{{ end }}
|