feat(helper/image): new way to set default image

This commit is contained in:
Jimmy Cai
2020-09-11 16:27:23 +02:00
parent cfd4cdb731
commit a2662603df
9 changed files with 45 additions and 16 deletions
@@ -1,4 +1,4 @@
{{ $image := partial "helper/image" . }}
{{ $image := partial "helper/image" (dict "Context" .) }}
{{ $context := . }}
<div class="article-details">
{{ with $categories := .Params.categories }}