FIX display of content and image of posts, FIX image in link list
This commit is contained in:
parent
58274050ef
commit
e03ec741e6
3 changed files with 8 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
|||
<div class="cardContent">
|
||||
{{ if .image }}
|
||||
{{ $style := "cardImage" }}
|
||||
{{ if .Params.image.cover }}
|
||||
{{ if .image.cover }}
|
||||
{{ $style = "cardImage cover" }}
|
||||
{{ end }}
|
||||
{{- partial "components/image.html" (dict "style" $style "url" .image.url "alt" .image.alt) -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue