diff options
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/cover.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html index 86ee489..5ff16bc 100644 --- a/layouts/partials/cover.html +++ b/layouts/partials/cover.html @@ -1,5 +1,5 @@ {{- with .cxt}} {{/* Apply proper context from dict */}} -{{- if .Params.cover.image }} +{{- if (and .Params.cover.image (not $.isHidden)) }} {{- $alt := (.Params.cover.alt | default .Params.cover.caption | plainify) }} <figure class="entry-cover"> {{- $addLink := (and .Site.Params.cover.linkFullImages (not $.IsHome)) }} |
