Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
If author biography is empty, don't display.
Browse files Browse the repository at this point in the history
See #139
  • Loading branch information
paragonie-security committed Aug 30, 2016
1 parent 9503a49 commit 7206bb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Cabin/Hull/Lens/cargo/blog_read_author.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% if author.biography|length > 1 %}
<h2 id="about-the-author">{{ __("About the Author") }}</h2>
{% set avatar = get_avatar(author.authorid, 'bio') %}
<div id="author-wrap">
Expand All @@ -21,4 +22,5 @@
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}

0 comments on commit 7206bb0

Please sign in to comment.