{{ define "main" }}
  {{ if eq .Params.type "photo" }}
    {{ partial "photo-article.html" . }}
  {{ else if eq .Section "is" }}
    {{ partial "static-page.html" . }}
  {{ else }}
    {{ partial "article-single.html" . }}
  {{ end }}
{{ end }}
