Use dot notation

This commit is contained in:
Jonathan Rehm 2017-07-13 18:09:33 -07:00
parent fe68c8a7f8
commit 51bd2f89df

View File

@ -4,7 +4,7 @@
{% if author is not none %} {% if author is not none %}
<section class="author-bio"> <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"> <img src="{{author.image_url}}" alt="{{author.name}}" class="author-photo pull-left">
{% endif %} {% endif %}