Skip to content

Commit b7a6f81

Browse files
author
John O'Nolan
committed
Removed conditional author check
Because a post always has an author. Except when Ghost first runs, and there is the welcome post with no author. But in this case Ghost simply outputs nothing - I haven’t been able to make anything explode.
1 parent 61cfb30 commit b7a6f81

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

post.hbs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@
3131

3232
<footer class="post-footer">
3333

34-
{{#if author}}
35-
<section class="author">
36-
<h4>{{author.name}}</h4>
37-
<p>{{author.bio}}</p>
38-
</section>
39-
{{/if}}
34+
<section class="author">
35+
<h4>{{author.name}}</h4>
36+
<p>{{author.bio}}</p>
37+
</section>
4038

4139
<section class="share">
4240
<h4>Share this post</h4>

0 commit comments

Comments
 (0)