mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-23 03:57:38 +00:00
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
2
post.hbs
2
post.hbs
@ -31,12 +31,10 @@
|
|||||||
|
|
||||||
<footer class="post-footer">
|
<footer class="post-footer">
|
||||||
|
|
||||||
{{#if author}}
|
|
||||||
<section class="author">
|
<section class="author">
|
||||||
<h4>{{author.name}}</h4>
|
<h4>{{author.name}}</h4>
|
||||||
<p>{{author.bio}}</p>
|
<p>{{author.bio}}</p>
|
||||||
</section>
|
</section>
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
<section class="share">
|
<section class="share">
|
||||||
<h4>Share this post</h4>
|
<h4>Share this post</h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user