{{ define "main" }}
{{ with .Content }} {{ . }} {{ end }}
{{ range $name, $path := $.Param "socialOptions" }} {{ if (and $path (ne $name "email")) }} {{ partial (print "svgs/social/" $name ".svg") (dict "width" 25 "height" 25) }} {{ end }} {{ if (and $path (eq $name "email")) }} {{ partial (print "svgs/social/" $name ".svg") (dict "width" 25 "height" 25) }} {{ end }} {{ end }}
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ $projects := where .Site.RegularPages "Section" "projects" }} {{ $pages = .Paginate ($pages) }} {{ $archivesPage := first 1 (where .Site.RegularPages "Layout" "eq" "archives") }}

Ăšltimas Postagens {{ range $archivesPage }} Ver todas {{ end }}

{{ range $pages.Pages }}

{{ .Title }}

{{ end }}
{{ if gt (len $projects) 0}}

Projetos

{{ range $projects.ByWeight }}
{{ .Params.icon }}

{{ .Title }}

{{ .Params.description }}
{{ end }}
{{ end }}
{{ end }}