Fix broken thumbnail in Blog index
This commit is contained in:
@@ -50,7 +50,7 @@ a.card.asset.card-image-fade(
|
|||||||
href="{{ node.url }}")
|
href="{{ node.url }}")
|
||||||
.card-thumbnail
|
.card-thumbnail
|
||||||
| {% if node.picture %}
|
| {% if node.picture %}
|
||||||
img.card-img-top(src="background-image: url({{ node.picture.thumbnail('m', api=api) }})", alt="{{ node.name }}")
|
img.card-img-top(src="{{ node.picture.thumbnail('m', api=api) }}", alt="{{ node.name }}")
|
||||||
| {% else %}
|
| {% else %}
|
||||||
.card-img-top
|
.card-img-top
|
||||||
i.pi-document-text
|
i.pi-document-text
|
||||||
|
Reference in New Issue
Block a user