Replace last usages of markdownify with .RenderString.
This commit is contained in:
parent
3ca11ccb8b
commit
001f71cacd
1 changed files with 8 additions and 8 deletions
|
|
@ -100,8 +100,8 @@
|
|||
{{ if or $title $caption $attr -}}
|
||||
<figcaption>
|
||||
{{ with $title }}<strong>{{ . }}</strong><br>{{ end -}}
|
||||
{{- $caption | markdownify }}{{ if and $caption $attr }} {{ end -}}
|
||||
{{ with $attrlink }}<a href="{{ . }}">{{ end }}{{ $attr | markdownify }}{{ if $attrlink }}</a>{{ end -}}
|
||||
{{- $caption | .Page.RenderString }}{{ if and $caption $attr }} {{ end -}}
|
||||
{{ with $attrlink }}<a href="{{ . }}">{{ end }}{{ $attr | .Page.RenderString }}{{ if $attrlink }}</a>{{ end -}}
|
||||
</figcaption>
|
||||
{{ end -}}
|
||||
</figure>
|
||||
|
|
|
|||
Loading…
Reference in a new issue