{{ define "title" }}
    {{ $name := "contact" }}
    {{ if lower $name | i18n }}
            {{ $name = lower $name | i18n }}
    {{ end }}
    <h1>{{ $name }}</h1>
{{ end }}

{{ define "main" }}
{{- $pic := index (.Resources.ByType "image") 0 -}}

<article>
    {{ partial "contentlayouts/article.html" (dict "context" . "type" "contact") }}
</article>
{{ end }}
