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 -1
View File
@@ -15,7 +15,7 @@
{{ end }}
</div>
{{ $image := partial "helper/image" . }}
{{ $image := partial "helper/image" (dict "Context" .) }}
{{ if $image.exists }}
<div class="taxonomy-image">
{{ if $image.resource }}