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