{{ $type := default "note" (.Get "type") }} {{ $icon := .Get "icon" }} {{ $title := default ($type | title) (.Get "title") }}
{{ with $icon }} {{ $title }} {{ else }} {{ end }} {{ .Inner | $.Page.RenderString }}