Fix no author img
Signed-off-by: Nistor Cristian <contact@nistorcristian.com>
This commit is contained in:
parent
e37c4c23f7
commit
f641f1837d
12
post.hbs
12
post.hbs
|
@ -20,9 +20,15 @@
|
|||
<ul class="authors">
|
||||
{{#foreach authors}}
|
||||
<li>
|
||||
<a href="{{url}}" data-toggle="tooltip" data-placement="top" title="{{name}}">
|
||||
<img src="{{img_url profile_image}}" alt="{{name}}" />
|
||||
</a>
|
||||
{{#if profile_image}}
|
||||
<a href="{{url}}" data-toggle="tooltip" data-placement="top" title="{{name}}">
|
||||
<img src="{{img_url profile_image}}" alt="{{name}}" />
|
||||
</a>
|
||||
{{else}}
|
||||
<a href="{{url}}">
|
||||
{{name}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue