Add conditional around 'bio' in author.hbs
This commit is contained in:
parent
e264f609de
commit
ff591092e2
1 changed files with 3 additions and 1 deletions
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue