diff --git a/layouts/shortcodes/callout.html b/layouts/shortcodes/callout.html index 7c4ce0f..c65e721 100644 --- a/layouts/shortcodes/callout.html +++ b/layouts/shortcodes/callout.html @@ -1,11 +1,9 @@ {{ $type := .Get "type" | default "info" }} -{{ $isHugoBook := eq .Site.Params.theme "book" }} - -{{ if and $isHugoBook (eq $type "error") }} +{{ if eq $type "error" }} {{ $type = "danger" }} {{ end }}
{{ .Inner | .Page.RenderString }} -
+ \ No newline at end of file