diff options
author | Dmitry Kolosov <Mitrichius@users.noreply.github.com> | 2021-10-20 14:55:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 14:55:39 +0300 |
commit | 27d8b86b44333355e664901d7e0129853ff06e9b (patch) | |
tree | 5c5eeae5713687efae7ada96a7d3814c6377ea3b | |
parent | 552820a9822d697316e1d473fcb3c4c05d5e334d (diff) |
Revert "Tweak theme to detect and use front matter "description" field"
-rw-r--r-- | layouts/partials/post-summary.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/partials/post-summary.html b/layouts/partials/post-summary.html index 12dd4c9..7961f62 100644 --- a/layouts/partials/post-summary.html +++ b/layouts/partials/post-summary.html @@ -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 }}… - {{ end }} + {{ .Summary | safeHTML }} </div> {{ end }} {{ if and (.Truncated) (.Site.Params.readMore) }} |