{{/* Available notice types: warning, info, note, tip */}} {{- $noticeType := .Get 0 -}} {{/* Count how many times we've called this shortcode and load the css if it's the first time */}} {{- if not ($.Page.Scratch.Get "noticecount") -}} {{- end -}} {{- $.Page.Scratch.Add "noticecount" 1 -}}

{{- i18n $noticeType -}}

{{- .Inner -}}