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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-11 17:27:23 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-11 17:27:23 +0300
commita2662603dfda86d2be2ba0de06809a7e7e7b4f65 (patch)
tree49fe83d2f4881f4e85583a9f2ba2a93b801beedd /layouts/partials/article/components/details.html
parentcfd4cdb731750786f787b7aaea6a9f411caa5af2 (diff)
feat(helper/image): new way to set default image
Diffstat (limited to 'layouts/partials/article/components/details.html')
-rw-r--r--layouts/partials/article/components/details.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html
index 9ba972c..0a8f777 100644
--- a/layouts/partials/article/components/details.html
+++ b/layouts/partials/article/components/details.html
@@ -1,4 +1,4 @@
-{{ $image := partial "helper/image" . }}
+{{ $image := partial "helper/image" (dict "Context" .) }}
{{ $context := . }}
<div class="article-details">
{{ with $categories := .Params.categories }}