_includes/author_bio.html in appscms-tools-theme-0.6.2 vs _includes/author_bio.html in appscms-tools-theme-0.6.3
- old
+ new
@@ -1,12 +1,16 @@
+{%- include /authors/authors.html -%}
<div class="wrapfooter">
<span class="author_image">
- <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}" id="author_img">
+ <img class="author-thumb" src="{{ image }}" alt="{{ authorName}}" id="author_img">
</span>
<span class="author-meta">
<span class="post-name">
- <a class="postName" target="_blank" href="{{author.twitter}}">{{author.name}}</a>
- <a class="btn_follow text-decoration-none" target="_blank" href="{{author.twitter}}">Follow</a>
+ <a class="postName" target="_blank" href="{{twitter}}">{{authorName}}</a>
+ {%- if twitter != 'N/A' -%}
+ <a class="btn_follow text-decoration-none" target="_blank" href="{{twitter}}">Follow</a>
+ {%- endif -%}
+
</span><br>
- <span class="author_bio">{{author.bio}}</span>
+ <span class="author_bio">{{bio}}</span>
</span>
</div>
\ No newline at end of file