{{/* Adapted from https://gohugo.io/render-hooks/blockquotes/#alerts */}}

{{ $icons := dict
    "caution" "fa hand"
    "important" "fas exclamation"
    "note" "fas circle-info"
    "tip" "fa lightbulb"
    "warning" "fas triangle-exclamation"
}}

{{ if eq .Type "alert" }}
    {{ $alert := .AlertType }}
    {{ $icon := (index $icons $alert) }}

    <blockquote class="blockquote-alert blockquote-alert-{{ $alert }}">
        <p class="blockquote-alert-heading">
            {{ with $icon }} 
                