{{ $sectionID := replace (lower .section.name) " " "-" }} {{ if .section.id }} {{ $sectionID = .section.id }} {{ end }} {{ $numShow := 3}} {{ if .section.numShow }} {{ $numShow = .section.numShow }} {{ end }} {{ $posts := .posts}}
{{ if not (.section.hideTitle) }}

{{ .section.name }}

{{ else }}

{{ .section.name }}

{{ end }}
{{ range $post := .posts}} {{ with site.GetPage $post }} {{ partial "cards/recent-post.html" . }} {{ end }} {{ end }}