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.
This commit is contained in:
parent
61cfb3064b
commit
b7a6f81a18
1 changed files with 4 additions and 6 deletions
10
post.hbs
10
post.hbs
|
@ -31,12 +31,10 @@
|
|||
|
||||
<footer class="post-footer">
|
||||
|
||||
{{#if author}}
|
||||
<section class="author">
|
||||
<h4>{{author.name}}</h4>
|
||||
<p>{{author.bio}}</p>
|
||||
</section>
|
||||
{{/if}}
|
||||
<section class="author">
|
||||
<h4>{{author.name}}</h4>
|
||||
<p>{{author.bio}}</p>
|
||||
</section>
|
||||
|
||||
<section class="share">
|
||||
<h4>Share this post</h4>
|
||||
|
|
Loading…
Reference in a new issue