7 lines
322 B
HTML
7 lines
322 B
HTML
<div class="alert{{- " " -}}{{- if .IsNamedParams -}}
|
|
{{- with .Get "theme" -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
|
|
{{- else -}}
|
|
{{- with .Get 0 -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
|
|
{{- end -}}
|
|
" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div>
|