fix overlapping p tags

This commit is contained in:
Patrick Neff 2019-05-27 16:37:04 +02:00
parent a2733c7a9f
commit 5e1fcd262d
1 changed files with 7 additions and 11 deletions

View File

@ -40,20 +40,16 @@
</p> </p>
{{- end -}} {{- end -}}
{{- if .showContent -}} {{- if .showContent -}}
<p>
{{- with $content -}} {{- with $content -}}
{{- . -}} {{- . -}}
{{- end -}} {{- end -}}
</p>
{{- end -}} {{- end -}}
{{- if .showSummary -}} {{- if .showSummary -}}
{{ with $ctx.Summary }} {{ with $ctx.Summary }}
<p>
{{- . -}} {{- . -}}
{{- if $ctx.Truncated -}} {{- if $ctx.Truncated -}}
&nbsp;<a href="{{ $ctx.RelPermalink }}">{{ i18n "read-more" }}&#8230;</a> &nbsp;<a href="{{ $ctx.RelPermalink }}">{{ i18n "read-more" }}&#8230;</a>
{{- end -}} {{- end -}}
</p>
{{ end }} {{ end }}
{{- end -}} {{- end -}}
{{- if .showDetails -}} {{- if .showDetails -}}