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.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b196ae5..b6ddbfa 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -31,7 +31,8 @@
{{- $class = "post-entry tag-entry" }}
{{- end }}
<article class="{{ $class }}">
- {{- partial "cover.html" (dict "cxt" . "IsHome" true) }}
+ {{- $isHidden := (.Site.Params.cover.hidden | default .Site.Params.cover.hiddenInList)}}
+ {{- partial "cover.html" (dict "cxt" . "IsHome" true "isHidden" $isHidden) }}
<header class="entry-header">
<h2>
{{ .Title }}