diff --git a/layouts/shortcodes/wrapper.html b/layouts/shortcodes/wrapper.html index 4b1653e..7c5965b 100644 --- a/layouts/shortcodes/wrapper.html +++ b/layouts/shortcodes/wrapper.html @@ -1 +1,3 @@ -
{{ if eq (.Get 1) "nomarkdown" }}{{ .Inner }}{{ else }}{{ .Inner | $.Page.RenderString (dict "display" "block") }}{{ end }}
+{{ $display := "inline" -}} +{{ if eq (.Get 1) "block" }}{{ $display = "block" }}{{ end -}} +
{{ if eq (.Get 1) "nomarkdown" }}{{ .Inner }}{{ else }}{{ .Inner | $.Page.RenderString (dict "display" $display) }}{{ end }}