Revert "Tweak theme to detect and use front matter "description" field"

This commit is contained in:
Dmitry Kolosov 2021-10-20 14:55:39 +03:00 committed by GitHub
parent 552820a982
commit 27d8b86b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,11 +6,7 @@
{{ if not .Site.Params.disableSummary }}
<div class="content post-summary p-summary">
{{ if isset .Params "description" }}
{{ .Description | safeHTML }}
{{ else }}
{{ .Summary | safeHTML }}&hellip;
{{ end }}
{{ .Summary | safeHTML }}
</div>
{{ end }}
{{ if and (.Truncated) (.Site.Params.readMore) }}