small fixes

This commit is contained in:
teldra 2022-07-08 16:09:07 +02:00
parent b8056d50f6
commit 6d6abc0183
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@
{{ if .Description }}
<p>{{ .Description }}</p>
{{ else if .Content }}
{{ $summary := "" }}
{{- $summary := "" -}}
{{ if in .RawContent "<!--more-->" }}
{{ $tmp := split .RawContent "<!--more-->" }}
<p>