{{/* Simple card row Input is the name of a page param, which should be a list of card info. Card info is a map with a `title` and `desc`, both of which can contain markdown. */ -}} {{ $card_info := index .Page.Params (.Get 0) -}} {{ $styling := (.Get 1) | default "mt-4 mb-4" -}}
{{ range $card_info -}}
{{/* The blank line above ensures the following is processed as markdown */}} {{ .title | safeHTML }}
{{/* The blank line above ensures the following is processed as markdown */}} {{ .desc | safeHTML }}
{{ end -}}