{{/* section label: Portfolio about: The latest projects, with their cover pictures. fields: - { name: heading, type: text, default: Our work } - { name: intro, type: markdown } - { name: collection, type: collection, default: work, label: Projects from } - { name: count, type: number, default: 6, label: How many } */}} {{ $c := default "work" .Data.collection }} {{ with .Data.heading }}{{ . }}{{ end }} {{ with .Data.intro }}{{ markdownify . }}{{ end }} {{ range limit (default 6 .Data.count) (collection $c) }}{{ template "project-card" . }}{{ end }} All our work
All our work