{{- $content := .content -}} {{- $emoji := .emoji -}} {{- $icon := .icon -}} {{- $defaultClass := "hx-border-orange-100 hx-bg-orange-50 hx-text-orange-800 dark:hx-border-orange-400/30 dark:hx-bg-orange-400/20 dark:hx-text-orange-300" -}} {{- $class := .class | default $defaultClass -}}
{{- with $emoji -}}
{{- . -}}
{{- else -}} {{- with $icon -}} {{ partial "utils/icon.html" (dict "name" . "attributes" `height=1.2em class="hx-inline-block hx-align-middle"`) -}} {{- end -}} {{- end -}}
{{- $content -}}