fix overlapping p tags
This commit is contained in:
parent
a2733c7a9f
commit
5e1fcd262d
|
|
@ -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 -}}
|
<a href="{{ $ctx.RelPermalink }}">{{ i18n "read-more" }}…</a>
|
||||||
<a href="{{ $ctx.RelPermalink }}">{{ i18n "read-more" }}…</a>
|
{{- end -}}
|
||||||
{{- end -}}
|
|
||||||
</p>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .showDetails -}}
|
{{- if .showDetails -}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue