{{ define "main" }}
{{- $term := . -}} {{- if $term.Params.images -}} {{- with .Resources.GetMatch (index $term.Params.images 0) -}} {{- $image := .Resize "300x" -}}

{{ $term.Params.name }}

{{- end -}} {{- end -}}

{{ index $term.Params.name 0 }}

{{- with $term.Params.twitter -}}

@{{ .}}

{{- end -}}
{{ $term.Content }}

{{ T "articles" }}

{{- with .Data.Pages -}} {{ end }}
{{ end }}