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

25 lines
768 B
HTML

{{ define "title" }}
{{ $name := "contact" }}
{{ if lower $name | i18n }}
{{ $name = lower $name | i18n }}
{{ end }}
{{ $name }}
{{ end }}
{{ define "main" }}
<div id="articledata">
{{- if ne .Section .Site.Params.hiddenfolder -}}
{{- if .Resources.ByType "image" -}}
<div id="articleimage">
{{- $pic := index (.Resources.ByType "image") 0 -}}
{{- $thumb := $pic.Resize "1024x" }}
<a href="{{ index (.Resources.ByType "image") 0 }}"><img src="{{- $thumb.Permalink -}}"/></a>
</div>
{{- end }}
<div id="articletext">
{{ partial "contact.html" }}
{{ .Content }}
</div>
</div>
{{- end -}}
{{ end }}