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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYogendra Rampuria - Yogi <yogendrarampuria@gmail.com>2022-04-11 17:07:08 +0300
committerYogendra Rampuria - Yogi <yogendrarampuria@gmail.com>2022-04-11 17:27:32 +0300
commit3a66c1be283ef00bb5662ff2110b6ff5c0015a0c (patch)
treef8d80cca8edf0f91b94a76b727c2d89a197ea52d /layouts
parentf40414b5292c3af64ee46adc9efb8f034c7465e2 (diff)
Add Page to argument so that the usePageBundle check works
Currently `$bundle := .Page.Site.Params.usePageBundles` does not set `$bundle` As a result in page bundle config, thumbnail in page directory do not show up on the list. Signed-off-by: Yogendra Rampuria - Yogi <yogendrarampuria@gmail.com>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/excerpt.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/excerpt.html b/layouts/partials/excerpt.html
index 8bdaa79..0e2c355 100644
--- a/layouts/partials/excerpt.html
+++ b/layouts/partials/excerpt.html
@@ -9,7 +9,7 @@
{{- with .Params.thumbnail }}
<div class="excerpt_footer partition">
<div class="excerpt_thumbnail">
- {{- partial "image" (dict "file" . "alt" $.Title "type" "thumbnail") }}
+ {{- partial "image" (dict "file" . "alt" $.Title "type" "thumbnail" "Page" $.Page ) }}
</div>
{{ else }}
<div class="excerpt_footer">