{{/* Render a table showing content types and their descriptions, given two arrays with equal length: * `content_types`: the content type strings * `descriptions`: the description strings */}} {{ $content_types := .content_types }} {{ $descriptions := .descriptions}} {{ if (gt (len $content_types) 0) }}
Content-Type | Description | {{ range $idx, $content_type := $content_types }}
---|---|
{{ $content_type }} |
{{ index $descriptions $idx | markdownify -}} |