{{ define "title" }} {{ .Title }} | {{ .Site.Title }} {{ end }} {{ define "main" }}

{{ .Title }}

{{ $cover := (index (.Resources.ByType "image") 0) }} {{ if $cover }}
{{ .Params.coverdescription }}
{{ .Params.covercaption }}
{{ end }} {{ .Content }} {{ if (eq .Section "artigos") }}
{{ partial "byline.html" . }} {{ end }}
{{ end }}