mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Show the mobile nav only when logged in
closes https://github.com/TryGhost/Team/issues/3134 - the mobile nav was showing for 404 pages when not logged in - this adds an additional check, so that the nav is only shown when user is logged in, not only when the user is not contributor
This commit is contained in:
parent
c0b3aab4f2
commit
116e09af95
1 changed files with 5 additions and 3 deletions
|
@ -30,9 +30,11 @@
|
|||
|
||||
<GhContentCover />
|
||||
|
||||
{{#unless this.session.user.isContributor}}
|
||||
<GhMobileNavBar />
|
||||
{{/unless}}
|
||||
{{#if this.session.user}}
|
||||
{{#unless this.session.user.isContributor}}
|
||||
<GhMobileNavBar />
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#if this.settings.accentColor}}
|
||||
|
|
Loading…
Add table
Reference in a new issue