Fix in case author has no image
This commit is contained in:
parent
4bd2ce6740
commit
6659c9514a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<p>{{excerpt words="30"}} <a class="read-more" href="{{url}}">»</a></p>
|
||||
</section>
|
||||
<footer class="post-meta">
|
||||
<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />
|
||||
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />{{/if}}
|
||||
<a href="{{@blog.url}}/author/{{author.slug}}">{{author.name}}</a>
|
||||
{{tags prefix=" on "}}
|
||||
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
|
||||
|
|
Loading…
Reference in a new issue