summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 6a8b3c9..01f2a62 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -65,7 +65,11 @@
</header>
{{- if (ne (.Param "hideSummary") true) }}
<section class="entry-content">
- <p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
+ {{ if .Description }}
+ <p>{{ .Description | plainify | htmlUnescape }}</p>
+ {{ else }}
+ <p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
+ {{ end }}
</section>
{{- end }}
{{- if not (.Param "hideMeta") }}