Add conditional around 'bio' in author.hbs

This commit is contained in:
Robert Lyall 2014-10-21 16:10:20 +01:00
parent e264f609de
commit ff591092e2

View File

@ -19,7 +19,9 @@
</figure> </figure>
{{/if}} {{/if}}
<h1 class="author-title">{{name}}</h1> <h1 class="author-title">{{name}}</h1>
<h2 class="author-bio">{{bio}}</h2> {{#if bio}}
<h2 class="author-bio">{{bio}}</h2>
{{/if}}
<div class="author-meta"> <div class="author-meta">
{{#if location}}<span class="author-location icon-location">{{location}}</span>{{/if}} {{#if location}}<span class="author-location icon-location">{{location}}</span>{{/if}}
{{#if website}}<span class="author-link icon-link"><a href="{{website}}">{{website}}</a></span>{{/if}} {{#if website}}<span class="author-link icon-link"><a href="{{website}}">{{website}}</a></span>{{/if}}