Update some shortcodes to use RenderString.
This commit is contained in:
parent
15c5ebe76e
commit
ef83bd634c
1 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
<div class="{{ .Get 0 }}">{{ if eq (.Get 1) "nomarkdown" }}{{ .Inner }}{{ else }}{{ .Inner | markdownify }}{{ end }}</div>
|
||||
<div class="{{ .Get 0 }}">{{ if eq (.Get 1) "nomarkdown" }}{{ .Inner }}{{ else }}{{ .Inner | $.Page.RenderString (dict "display" "block") }}{{ end }}</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue