2019-11-04 13:09:44 +00:00
|
|
|
<div class="alert{{- " " -}}{{- if .IsNamedParams -}}
|
|
|
|
{{- with .Get "theme" -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- with .Get 0 -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
|
2020-02-17 13:43:44 +00:00
|
|
|
{{- end -}}
|
|
|
|
" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div>
|