Skip to content

Commit cd2cf77

Browse files
committed
Fix card post when no cover image has been specified
1 parent 94c5a88 commit cd2cf77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_includes/theme/cards/card-post.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
</div>
4040
{% else %}
4141
<div class="card-thumbnail {% if thumbnail_size %}card-thumbnail-{{ thumbnail_size }}{% endif %}">
42-
<a href="{{ site.url }}{{ url }}"><img alt="{{ title }}"
43-
src="{{ site.url }}/assets/images/nocoverimagecoverimage.png" /></a>
42+
<a href="{{ url }}"><img alt="{{ title }}" src="{{ site.url }}/assets/images/nocoverimagecoverimage.png" /></a>
4443
</div>
4544
{% endif %}
4645

0 commit comments

Comments
 (0)