fix(summary): use description as summary when summary is empty
This commit is contained in:
@@ -44,7 +44,11 @@
|
||||
|
||||
{{- /* Summary content */ -}}
|
||||
<div class="content">
|
||||
{{- partial "single/content.html" .Summary -}}
|
||||
{{- with .Summary -}}
|
||||
{{- partial "single/content.html" . -}}
|
||||
{{- else -}}
|
||||
{{- .Description | safeHTML -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
||||
{{- /* Footer */ -}}
|
||||
|
||||
Reference in New Issue
Block a user