summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/list.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index edc9624..c0908c9 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -38,9 +38,11 @@
{{- if .Draft }}<div class="entry-isdraft"><sup>&nbsp&nbsp[draft]</sup></div>{{- end }}
</h2>
</header>
+ {{if (ne .Site.Params.hideSummary true)}}
<section class="entry-content">
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
</section>
+ {{ end }}
<footer class="entry-footer">
<time>{{ .Date.Format "January 2, 2006" }}</time>
{{ if $.Site.Params.ShowReadingTime }} .