forked from Bunteshaus/bunteshaus.de
25 lines
686 B
HTML
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 }}
|