{{ $categories := slice }}
{{ if ne (len .Data.Pages) 0 }}
{{ range .Data.Pages }}
{{ $categories = $categories | append .Params.category }}
{{ end }}
{{ else }}
{{ range .Params.tiles }}
{{ with .category }}
{{ $categories = $categories | append . }}
{{ end }}
{{ end }}
{{ end }}
{{ if ne (len $categories) 0 }}
- Alle
{{ end }}
{{ range ( $categories | uniq ) }}
- {{ . | humanize }}
{{ end }}