diff options
author | Jimmy Cai <jimmehcai@gmail.com> | 2020-09-11 17:27:23 +0300 |
---|---|---|
committer | Jimmy Cai <jimmehcai@gmail.com> | 2020-09-11 17:27:23 +0300 |
commit | a2662603dfda86d2be2ba0de06809a7e7e7b4f65 (patch) | |
tree | 49fe83d2f4881f4e85583a9f2ba2a93b801beedd /layouts/partials/article/components/details.html | |
parent | cfd4cdb731750786f787b7aaea6a9f411caa5af2 (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.html | 2 |
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 }} |