feat(image): add article and article list default image settings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ $image := partial "helper/image" (dict "Context" .context) }}
|
||||
{{ $image := partial "helper/image" (dict "Context" .context "Type" .Type) }}
|
||||
<article class="{{ if $image.exists }}has-image{{ end }}">
|
||||
<a href="{{ .context.Permalink }}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user