{{/* Hugo Blox Kit Blockquote Render Hook Renders standard blockquotes and GitHub/Obsidian-style alerts (callouts). Supports alert types: note, tip, important, warning, caution Syntax examples: - > [!NOTE] > This is a note callout. - > [!WARNING]+ Custom Title > This is a warning with custom title. */}} {{ if eq .Type "alert" }} {{/* Use custom title if provided, otherwise let render_callout handle default */}} {{ $title := .AlertTitle }} {{/* Use shared callout renderer */}} {{ partial "functions/render_callout" (dict "type" .AlertType "content" .Text "title" $title "source" "renderhook" ) }} {{ else }} {{/* Render regular blockquotes */}}
{{ .Text }}{{ end }}