Skip to content

Commit

Permalink
Merge pull request #486 from spyrkob/issue_482
Browse files Browse the repository at this point in the history
[#482] Fix nil check in post.html
  • Loading branch information
bstansberry authored Nov 20, 2023
2 parents 076ccc8 + 6f639ec commit d00684b
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 @@ -19,7 +19,7 @@ <h1 class="title">{{page.title}}</h1>
{% for a in page.author %}
{% assign author_data = site.data.authors[a] %}
<p class="byline">
{% if author_data.avatar != %}
{% if author_data.avatar != nil %}
<img class="avatar" height="60px" width="60px" src="/assets/img/authors/{{author_data.avatar}}"/>
{% else %}
<img class="avatar" height="60px" width="60px" src="/assets/img/contribute/wildfly_icons_contribute-blog.png"/>
Expand Down

0 comments on commit d00684b

Please sign in to comment.