forked from Bunteshaus/bunteshaus.de
29 lines
859 B
HTML
29 lines
859 B
HTML
{{ define "title" }}
|
|
{{ $name := "imprint" }}
|
|
{{ if lower $name | i18n }}
|
|
{{ $name = lower $name | i18n }}
|
|
{{ end }}
|
|
<h1>{{ $name }}</h1>
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
{{ 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;">
|
|
|
|
{{ range .Resources.ByType "image" }}
|
|
<a href="{{- .Permalink -}}"><img src="{{- .Permalink -}}"/></a>
|
|
{{- end -}}
|
|
{{ end }}
|
|
|
|
{{ if .Resources.ByType "image" }}
|
|
</div>
|
|
{{ end }}
|
|
<article>
|
|
{{ partial "structure/contact" }}
|
|
{{ if i18n "executive" }}{{ i18n "executive" }}{{ else }}{{ "Executive" }}{{ end }}: {{ site.Params.imprintdata.executive }}
|
|
{{ .Content }}
|
|
</article>
|
|
{{ end }}
|