{{ if .AlertType}} {{ if in (slice "info" "note" "tip") .AlertType }} {{ end }} {{ if eq .AlertType "important"}} {{ end }} {{ if eq .AlertType "warning"}} {{ end }} {{ if eq .AlertType "caution"}} {{ end }} {{ if eq .AlertType "danger"}} {{ end }} {{ else }} {{ end }} {{ .Text }} {{ with .Attributes.caption }}
{{ . | $.Page.RenderString }}
{{ end }}