{{- define "main" }}

{{ .Title }}

{{- if .Content }}
{{ .Content }}
{{- end }}

Recently updated projects

{{ range first 2 (where site.RegularPages "Section" "==" "projects") }} {{ partial "card.html" . }} {{- end }}

Blog

{{ range (where site.RegularPages "Section" "==" "blog") }} {{ partial "card.html" . }} {{- end }}
{{- end }}