diff options
Diffstat (limited to 'layouts/shortcodes/alert.html')
-rw-r--r-- | layouts/shortcodes/alert.html | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html index ed4f5bb..b707016 100644 --- a/layouts/shortcodes/alert.html +++ b/layouts/shortcodes/alert.html @@ -1,6 +1 @@ -<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>
\ No newline at end of file +<div class="alert {{ with .Get "theme" }}alert-{{.}}{{ end }}" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div>
\ No newline at end of file |