Update wrapper shortcode to accommodate changes made in Hugo 0.55 to how the % delimiter works in shortcodes.

This commit is contained in:
Fredrik Jonsson 2019-04-24 18:01:02 +02:00
commit 5342b34f1b

View file

@ -1 +1 @@
<div class="{{ .Get 0 }}">{{ .Inner }}</div>
<div class="{{ .Get 0 }}">{{ if eq (.Get 1) "nomarkdown" }}{{ .Inner }}{{ else }}{{ .Inner | markdownify }}{{ end }}</div>