fixes shortcode 'fig'
This commit is contained in:
parent
e42d1eb815
commit
ff257a3157
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
{{ else if .Get "caption" }}alt="{{ .Get "caption" | markdownify | plainify }}"
|
{{ else if .Get "caption" }}alt="{{ .Get "caption" | markdownify | plainify }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Get "align" }}align="{{ . }}"{{ end }}
|
{{ with .Get "align" }}align="{{ . }}"{{ end }}
|
||||||
width="{{ .Get "width" | default "100%"}}"
|
{{ with .Get "width" }}width="{{ . }}"{{ end }}
|
||||||
{{ with .Get "height" }}width="{{ . }}"{{ end }} />
|
{{ with .Get "height" }}width="{{ . }}"{{ end }} />
|
||||||
{{ if .Get "link"}}</a>{{ end }}
|
{{ if .Get "link"}}</a>{{ end }}
|
||||||
<!-- caption and attr-->
|
<!-- caption and attr-->
|
||||||
|
|
Loading…
Reference in a new issue