_includes/section/recent_posts.html in blogging-site-theme-0.1.1 vs _includes/section/recent_posts.html in blogging-site-theme-0.1.2
- old
+ new
@@ -2,13 +2,13 @@
<div class="relatedPosts">
<h1 class="related_post_heading">Recent Posts</h1>
<div class="row">
{% for recent in site.posts offset:1 limit:3 %}
{% if recent.url != page.url %}
-<div class="col-lg-4 col-md-6 mb-4 card-group">
+<div class="col-lg-4 col-md-6 mb-5 card-group">
<div class="card h-100">
<a href="{{ recent.url }}">
- <img src="{{ recent.image }}" class="card-img-top" alt="" style="height: 180px">
+ <img src="{{ recent.image }}" class="card-img-top" alt="{{recent.url}}" style="width:100%; border-radius: 4px; height: 180px;">
</a>
<div class="card-body">
<a class="text-decoration-none text-dark" href="{{ recent.url }}" class="anchor_link">
<h4 class="card-title mb-4 text-left">{{ recent.title }}</h4>
</a>
\ No newline at end of file