fix on author bio
This commit is contained in:
parent
242a5391fa
commit
9a24473823
2 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue