feat(image): add article and article list default image settings

This commit is contained in:
Jimmy Cai
2020-09-11 18:07:29 +02:00
parent 2acd380e98
commit a2732a312a
6 changed files with 13 additions and 5 deletions
@@ -1,5 +1,5 @@
<header class="article-header">
{{ $image := partial "helper/image" (dict "Context" .) }}
{{ $image := partial "helper/image" (dict "Context" . "Type" "article") }}
{{ if $image.exists }}
<div class="article-image">