{{ define "main" }}
{{ range .Pages.ByWeight }}
{{- .Params.icon | default "article" }} {{ if .Draft }}DRAFT{{ end }} {{ if .IsSection }}folder{{ end }}

{{ .Title }}

{{ .Description | truncate (.Site.Params.docs.listDescTrunc | default 100) | markdownify }}

{{ end }}
{{ end }}