Skip to content

Commit

Permalink
use banner image fields
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgallant committed Feb 17, 2018
1 parent e94870a commit 7348d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2> Related Posts </h2>
<div class="card">
<div class="card-header">
{% if post.thumbnail and post.thumbnail != "" %}
<img src="{{ post.thumbnail | absolute_url }}" alt="{{ post.title }}">
<img src="{{ post.banner_image | absolute_url }}" alt="{{ post.title }}">
{% else %}
<img src="{{ "/img/placeholder.png" | absolute_url }}" alt="{{ post.title }}">
{% endif %}
Expand Down

0 comments on commit 7348d2b

Please sign in to comment.