{{ define "main" }} {{ $cfg := (index (site.Params.taxonomy) "list") }} {{ $coverSize := ($cfg.cover.size) }} {{ $iconSize := ($cfg.cover.icon.size) }} {{ $icon := ($cfg.cover.icon.name) }} {{ (partial "breadcrumb" .) }}
{{ range (.Paginator.Pages) }} {{ with (eq (.Section) "articles") }}{{ $icon = "fas fa-file-lines" }}{{ end }} {{ with (eq (.Section) "faq") }}{{ $icon = "fas fa-circle-question" }}{{ end }} {{ with (eq (.Section) "resources") }}{{ $icon = "fas fa-cube" }}{{ end }}
{{ (.Render "view/00") }}
{{ if (in ((.Type) | singularize) "faq") }} {{ (partial (printf "module/node/modal/%s" ((.Type) | singularize)) .) }} {{ end }}
{{ end }}
{{ (partial "pagination" .) }} {{ end }}