{{ $type := .Get "type"}} {{ $iconName := "pencil" }} {{ $calloutTitle := $type | humanize }} {{ $calloutColorClass := "callout-blue"}} {{ if (eq $type "info") }} {{ $iconName = "info" }} {{ end }} {{ if (eq $type "note") }} {{ end }} {{ if (eq $type "warning") }} {{ $iconName = "alert-triangle" }} {{ $calloutTitle = "Warning" }} {{ $calloutColorClass = "callout-orange" }} {{ end }} {{ if (eq $type "summary") }} {{ $iconName = "clipboard-list" }} {{ $calloutTitle = "Summary" }} {{ $calloutColorClass = "callout-cyan" }} {{ end }} {{ if (eq $type "todo") }} {{ $iconName = "check-circle-2" }} {{ $calloutTitle = "TODO" }} {{ $calloutColorClass = "callout-blue" }} {{ end }} {{ if (eq $type "hint") }} {{ $iconName = "flame" }} {{ $calloutTitle = "Hint" }} {{ $calloutColorClass = "callout-cyan" }} {{ end }} {{ if (eq $type "success") }} {{ $iconName = "check" }} {{ $calloutTitle = "Done" }} {{ $calloutColorClass = "callout-green" }} {{ end }} {{ if (eq $type "help") }} {{ $iconName = "help-circle" }} {{ $calloutTitle = "Help" }} {{ $calloutColorClass = "callout-yellow" }} {{ end }} {{ if (eq $type "help") }} {{ $iconName = "help-circle" }} {{ $calloutTitle = "Help" }} {{ $calloutColorClass = "callout-yellow" }} {{ end }} {{ if (eq $type "fail") }} {{ $iconName = "x" }} {{ $calloutTitle = "Fail" }} {{ $calloutColorClass = "callout-red" }} {{ end }} {{ if (eq $type "danger") }} {{ $iconName = "zap" }} {{ $calloutTitle = "Danger" }} {{ $calloutColorClass = "callout-red" }} {{ end }} {{ if (eq $type "bug") }} {{ $iconName = "bug" }} {{ $calloutTitle = "Bug" }} {{ $calloutColorClass = "callout-red" }} {{ end }} {{ if (eq $type "example") }} {{ $iconName = "list" }} {{ $calloutTitle = "Example" }} {{ $calloutColorClass = "callout-purple" }} {{ end }} {{ if (eq $type "quote") }} {{ $iconName = "quote" }} {{ $calloutTitle = "Quote" }} {{ $calloutColorClass = "callout-grey" }} {{ end }} {{ $context := dict "vendor" "lucide" "name" $iconName "height" "1.5em" "width" "1.5em" }}