Remove grow from featured image on the preview.

This commit is contained in:
Andrey Romancev 2018-12-16 15:05:42 +03:00
parent 33d202b7c6
commit dceb73a24e
No known key found for this signature in database
GPG Key ID: 9C1C0E0087F14BD9

View File

@ -6,7 +6,7 @@
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
{{ $featured_image := (trim $featured_image "/") | absURL }}
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
<a href="{{.URL}}" class="db grow">
<a href="{{.URL}}" class="db">
<img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}">
</a>
</div>