* refactor: simplify image partial logic, remove generation of different image sizes * Remove `defaultImage.opengraph` configuration from `params.toml`.
4 lines
201 B
HTML
4 lines
201 B
HTML
{{ $image := partial "helper/image" (dict "Image" .Params.image "Resources" .Resources) }}
|
|
<article class="{{ if $image }}has-image{{ end }}">
|
|
{{ partial "article/components/header" . }}
|
|
</article> |