mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
85954a1a57
refs #5652 - handles the skip link using js so that ember doesn't interfere with the anchor - uses the code suggested here: https://www.codehive.io/boards/pZUuwIk
24 lines
886 B
Handlebars
24 lines
886 B
Handlebars
{{#gh-app showSettingsMenu=showSettingsMenu}}
|
|
{{#gh-skip-link anchor=".gh-main"}}Skip to main content{{/gh-skip-link}}
|
|
|
|
{{gh-alerts notify="topNotificationChange"}}
|
|
|
|
<div class="gh-viewport {{if autoNav 'gh-autonav'}} {{if showSettingsMenu 'settings-menu-expanded'}} {{if showMobileMenu 'mobile-menu-expanded'}}">
|
|
{{#unless signedOut}}
|
|
{{gh-nav-menu open=autoNavOpen onMouseEnter="openAutoNav" toggleMaximise="toggleAutoNav" openModal="openModal" closeMobileMenu="closeMobileMenu"}}
|
|
{{/unless}}
|
|
|
|
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
|
|
{{outlet}}
|
|
{{/gh-main}}
|
|
|
|
|
|
{{gh-notifications}}
|
|
|
|
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
|
|
|
|
{{outlet "modal"}}
|
|
{{outlet "settings-menu"}}
|
|
</div>{{!gh-viewport}}
|
|
{{/gh-app}}
|