{{- with $.Page.Params.projects_section_heading -}}
{{- . -}}
{{- else -}}
My Projects
{{- end -}}
View all »
{{ $num := .Get 0 }}
{{ if not $num }}
{{ $num = 6 }}
{{ end }}
{{ $projects := where site.RegularPages "Section" "projects" | first $num }}
{{ with $projects }}
{{- range . }}
{{ partial "projects/project-entry.html" . }}
{{ end }}
{{ else }}
{{ partial "general/fallback-text.html" . }}
{{ end }}