Use dot notation
This commit is contained in:
parent
fe68c8a7f8
commit
51bd2f89df
@ -4,7 +4,7 @@
|
||||
|
||||
{% if author is not none %}
|
||||
<section class="author-bio">
|
||||
{%if author['image_url'] is not none %}
|
||||
{%if author.image_url is not none %}
|
||||
<img src="{{author.image_url}}" alt="{{author.name}}" class="author-photo pull-left">
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user