25 lines
768 B
HTML
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 }}
|