_includes/appscms/customblog/relatedBlogs.html in appscms-tools-theme-4.1.2 vs _includes/appscms/customblog/relatedBlogs.html in appscms-tools-theme-4.1.3

- old
+ new

@@ -3,11 +3,11 @@ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%} <div class="row"> <div class="col-md-9 mx-auto"> {%- endif -%} - <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2> + <p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p> {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%} </div> </div> {%- endif -%} @@ -34,39 +34,38 @@ <div class=" {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} "> <div class=" card h-100 appscms-blog-cards"> <a href="/blog/{{ post.metadata.url }}"> - <img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="auto" + <img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="250" width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}> </a> <div class="card-body"> <a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link"> <h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4> </a> - </div> - <div class="card-footer bg-white"> <div class="wrapfooter"> - {% if post.metadata.author %} - <span class="meta-footer-thumb"> - <img class="author-thumb" loading="lazy" src="{{ image }}" - alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif - -%}> - </span> - {% endif %} - - <span class="author-meta"> - <span class="post-name"> - <a target="_blank" href="/blog">{{authorName}}</a> - </span><br> - <span class="post-date">{{post.metadata.date | date_to_string }}</span> - </span> - <span class="post-read-more"><a class="text-dark" href="/blog/{{ post.metadata.url }}" - title="Read Story">Read - More</a></span> - </div> + {% if post.metadata.author %} + <span class="meta-footer-thumb"> + <img class="author-thumb" loading="lazy" src="{{ image }}" + alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif + -%}> + </span> + {% endif %} + + <span class="author-meta"> + + <a target="_blank" href="/blog">{{authorName}}</a> + <br> + <span class="post-date">{{post.metadata.date | date_to_string }}</span> + </span> + + </div> </div> + + + </div> </div> {% endfor %} {% endif %} \ No newline at end of file