From e9eca208835ef8f69c35788254127d777a136262 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Tue, 22 Jul 2014 13:31:58 +0200 Subject: [PATCH] Add fallback text if user has no entered a bio --- post.hbs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/post.hbs b/post.hbs index 3793e6c..407fd5f 100644 --- a/post.hbs +++ b/post.hbs @@ -33,7 +33,11 @@ {{/if}}

{{author.name}}

-

{{author.bio}}

+ {{#if author.bio}} +

{{author.bio}}

+ {{else}} +

Read more posts by this author.

+ {{/if}}
{{#if author.location}} {{author.location}}{{/if}} {{#if author.website}} {{author.website}}{{/if}}