diff --git a/themes/neff/layouts/partials/figure.html b/themes/neff/layouts/partials/figure.html index 7703993..3c8f0b7 100644 --- a/themes/neff/layouts/partials/figure.html +++ b/themes/neff/layouts/partials/figure.html @@ -40,20 +40,16 @@
{{- end -}} {{- if .showContent -}} -- {{- with $content -}} - {{- . -}} - {{- end -}} -
+ {{- with $content -}} + {{- . -}} + {{- end -}} {{- end -}} {{- if .showSummary -}} {{ with $ctx.Summary }} -- {{- . -}} - {{- if $ctx.Truncated -}} - {{ i18n "read-more" }}… - {{- end -}} -
+ {{- . -}} + {{- if $ctx.Truncated -}} + {{ i18n "read-more" }}… + {{- end -}} {{ end }} {{- end -}} {{- if .showDetails -}}