_layouts/blog.html in appscms-tools-theme-0.6.5 vs _layouts/blog.html in appscms-tools-theme-0.6.6
- old
+ new
@@ -22,11 +22,11 @@
<div class="row">
{% for post in paginator.posts %}
<div class="col-lg-4 col-md-6 mb-4 card-group">
<div class="card h-100">
<a href="{{ post.url }}">
- <img src="{{ post.image }}" class="card-img-top" alt="">
+ <img src="{{ post.image }}" loading="lazy" height="208px" width="100%" class="card-img-top" alt="">
</a>
<div class="card-body">
<a href="{{ post.url }}" class="anchor_link">
<h4 class="card-title mb-4">{{ post.title }}</h4>
</a>
@@ -34,10 +34,10 @@
{%- include authors/authors.html -%}
<div class="card-footer bg-white">
<div class="wrapfooter">
{% if post.author %}
<span class="meta-footer-thumb">
- <img class="author-thumb" src="{{ image }}" alt="{{ authorName }}">
+ <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
</span>
{% endif %}
<span class="author-meta">
<span class="post-name">
\ No newline at end of file