{{ $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 (where (where site.RegularPages.ByDate.Reverse "Type" "posts" ) "Layout" "!=" "search") }} {{if in $posts (.Title)}} {{ partial "cards/recent-post.html" . }} {{ end }} {{ end }}