_includes/card_preview.html in just-the-cards-0.2.0 vs _includes/card_preview.html in just-the-cards-0.2.1

- old
+ new

@@ -1,8 +1,12 @@ <div class="card mb-4" style="min-width: 15rem; max-width: 30rem;"> + {% if include.image != nil %} + <img class="card-img-top" src="{{ include.image }}" alt="Card preview image"> + {% endif %} + <div class="card-body"> <h5 class="card-title"> - <a href="{{ include.url }}" class="">{{ include.title }}</a> + <a href="{{site.baseurl}}{{ include.url }}" class="">{{ include.title }}</a> </h5> {% if include.date != nil %} <p class="card-text"> <small class="text-muted"> Added on {{ include.date | date: "%-d %B %Y" }} \ No newline at end of file