feat(helper/image): new way to set default image
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user