{{- /* Usage: `callout "type"`, where `type` is one of "note" (default), "info", "danger", or "warning" Based on: https://github.com/twbs/bootstrap/blob/283cbd902669732943885e94115a0e29a952baf6/site/layouts/shortcodes/callout.html */ -}} {{- $css_class := "" -}} {{- if .IsNamedParams -}} {{- $css_class = .Get "context" | default "note" -}} {{- else -}} {{- $css_class = .Get 0 | default "note" -}} {{- end -}} {{- $icon := .Get "icon" -}} {{- $title := .Get "title" -}}