{{ define "main" }} {{- partial "intro.html" . -}} {{ $frontBundle := .Site.Params.frontBundle | default "blog" }}
{{ range first 6 (where .Site.RegularPages.ByDate.Reverse "Type" $frontBundle) }} {{- partial "blog-card.html" . -}} {{ end }}
{{ if gt (len (where .Site.RegularPages.ByDate.Reverse "Type" $frontBundle)) 6 }}
{{ i18n "morePosts" }}
{{ end }} {{- partial "social.html" . -}} {{ end }}