Use dot notation

pull/226/head
Jonathan Rehm 7 years ago
parent fe68c8a7f8
commit 51bd2f89df

@ -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 %}

Loading…
Cancel
Save