Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Mitrichius/hugo-theme-anubis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kolosov <Mitrichius@users.noreply.github.com>2021-10-20 14:55:39 +0300
committerGitHub <noreply@github.com>2021-10-20 14:55:39 +0300
commit27d8b86b44333355e664901d7e0129853ff06e9b (patch)
tree5c5eeae5713687efae7ada96a7d3814c6377ea3b
parent552820a9822d697316e1d473fcb3c4c05d5e334d (diff)
Revert "Tweak theme to detect and use front matter "description" field"
-rw-r--r--layouts/partials/post-summary.html6
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 }}&hellip;
- {{ end }}
+ {{ .Summary | safeHTML }}
</div>
{{ end }}
{{ if and (.Truncated) (.Site.Params.readMore) }}