Cards Shortcode

A Hugo extension to create cards. Cards can be shown as links or as plain text.

Usage

is rendered by:

{{< cards >}}
  {{< card url="../callout" title="Callout" icon="academic-cap" >}}
  {{< card url="" title="A card without an icon" >}}
{{< /cards >}}

Options

ParameterDescription
iconName of the icon. Defaults to Hero Icon Pack
titleTitle heading for the card.
subtitleSubtitle heading (supports Markdown).
urlURL