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

{{ .section.name }}

{{ else }}

{{ .section.name }}

{{ end }}
{{ range first $numShow (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}} {{ partial "cards/recent-post.html" . }} {{ end }}