_layouts/blog.html in appscms-tools-theme-0.2.3 vs _layouts/blog.html in appscms-tools-theme-0.2.4

- old
+ new

@@ -7,11 +7,14 @@ <section class="section_post"> <div class="container"> <div class="row justify-content-center section-title-wrap"> <div class="col-lg-12"> - <h1 style="font-weight: 900;" class="display-4 mb-5">{{ site.data.blog.h1 }}</h1> + <h1 style="font-weight: 900;" class="display-4 m-0">{{ site.data.blog.h1 }}</h1> + <p class="lead mb-5 mt-1" style="font-size: 18px;"> + {{ site.data.blog.description }} + </p> </div> </div> <!-- categories post --> <div class="main-content"> @@ -29,20 +32,22 @@ <div class="card-body"> <a href="{{ post.url }}" class="anchor_link"> <h4 class="card-title mb-4">{{ post.title }}</h4> </a> </div> + + {% assign author = site.data.authors[post.author] %} <div class="card-footer bg-white"> <div class="wrapfooter"> + {% if post.author %} <span class="meta-footer-thumb"> - <img class="author-thumb" src="{{ page.author.image }}" - alt="{{ post.author.name }}"> + <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}"> </span> + {% endif %} <span class="author-meta"> <span class="post-name"> - <a target="_blank" - href="{{ site.data.authors.author.image }}">{{post.author}}</a> + <a target="_blank" href="/blog">{{post.author}}</a> </span><br> <span class="post-date">{{post.date | date_to_string }}</span> </span> <span class="post-read-more"><a href="{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewBox="0 0 25 25"> \ No newline at end of file