Merge pull request #141 from rglyall/master

Add conditional around 'bio' in author.hbs
This commit is contained in:
John O'Nolan 2015-01-22 08:51:14 -08:00
commit 9cf7aea47c

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