From: Max Arnold Date: Tue, 27 Nov 2018 17:15:10 +0000 (+0700) Subject: tpl: Fix whitespace issue X-Git-Tag: v0.52~11 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=aba2647c152ffff927f42523b77ee6651630cd67;p=brevno-suite%2Fhugo tpl: Fix whitespace issue Introduced in #5276. --- diff --git a/tpl/tplimpl/embedded/templates/shortcodes/figure.html b/tpl/tplimpl/embedded/templates/shortcodes/figure.html index 2da48ca8..f81bdadf 100644 --- a/tpl/tplimpl/embedded/templates/shortcodes/figure.html +++ b/tpl/tplimpl/embedded/templates/shortcodes/figure.html @@ -17,7 +17,7 @@ {{- end -}} {{- if or (.Get "caption") (.Get "attr") -}}

{{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" -}} + {{- with .Get "attrlink" }} {{- end -}} {{- .Get "attr" | markdownify -}}