Merge pull request #108 from Mitrichius/revert-105-master

Revert "Tweak theme to detect and use front matter "description" field"
This commit is contained in:
Dmitry Kolosov 2021-10-20 14:56:42 +03:00 committed by GitHub
commit 04b2081f6e
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) }}