Update wrapper shortcode to accommodate changes made in Hugo 0.55 to how the % delimiter works in shortcodes.
This commit is contained in:
parent
ea4f1a5d33
commit
5342b34f1b
1 changed files with 27 additions and 5 deletions
|
|
@ -1 +1 @@
|
|||
<div class="{{ .Get 0 }}">{{ .Inner }}</div>
|
||||
<div class="{{ .Get 0 }}">{{ if eq (.Get 1) "nomarkdown" }}{{ .Inner }}{{ else }}{{ .Inner | markdownify }}{{ end }}</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue