fix on author bio

This commit is contained in:
Arul 2016-09-18 00:53:14 +05:30
parent 242a5391fa
commit 9a24473823
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@
<div class="clear"></div> <div class="clear"></div>
{% for author in article.authors %} {% for author in article.authors %}
{% if AUTHORS_BIO and AUTHORS_BIO[author.name.lower()] != None %} {% if AUTHORS_BIO and author.name.lower() in AUTHORS_BIO %}
<aside class="post-author"> <aside class="post-author">
{% if AUTHORS_BIO[author.name.lower()].image %} {% if AUTHORS_BIO[author.name.lower()].image %}
<figure class="post-author-avatar"> <figure class="post-author-avatar">

View file

@ -40,7 +40,7 @@
</div> </div>
</header> </header>
{% if AUTHORS_BIO and AUTHORS_BIO[author.name.lower()] != None %} {% if AUTHORS_BIO and author.name.lower() in AUTHORS_BIO %}
<section id="blog-author" class="has-cover" > <section id="blog-author" class="has-cover" >
<div class="inner"> <div class="inner">
<aside class="post-author"> <aside class="post-author">