mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +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
edef2ec941
commit
17d662bff9
@ -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