From 5e1fcd262d1a5c6b6940043bc64a05bee3e398cf Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Mon, 27 May 2019 16:37:04 +0200 Subject: [PATCH] fix overlapping p tags --- themes/neff/layouts/partials/figure.html | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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 -}}