mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Use gh-path for nav bar dfallback avatar
Closes #4344 - Uses the `{{gh-path}}` helper to make the fellback avatar src work when Ghost is in a sub-directory
This commit is contained in:
parent
4f74ce4c82
commit
39b1c0775f
@ -34,7 +34,7 @@
|
||||
{{#if session.user.image}}
|
||||
<div class="image"><img {{bind-attr src="session.user.image"}} alt="{{session.user.name}}'s profile picture" /></div>
|
||||
{{else}}
|
||||
<div class="image"><img src="/shared/img/user-image.png" alt="Profile picture" /></div>
|
||||
<div class="image"><img src="{{gh-path "blog" "shared/img/user-image.png"}}" alt="Profile picture" /></div>
|
||||
{{/if}}
|
||||
<div class="name">
|
||||
{{session.user.name}} <i class="icon-chevron-down"></i>
|
||||
|
Loading…
Reference in New Issue
Block a user