mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
Fix in case author has no image
This commit is contained in:
parent
4bd2ce6740
commit
6659c9514a
@ -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 New Issue
Block a user