mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
7eaa7170ec
refs https://github.com/TryGhost/Ghost/issues/7860 - load 30 posts per page - clean up unnecessary styles, match class name to component name - start moving towards desired content/styles end goal
31 lines
1.1 KiB
Handlebars
31 lines
1.1 KiB
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'}}">
|
|
{{#if showNavMenu}}
|
|
{{gh-nav-menu open=autoNavOpen toggleMaximise="toggleAutoNav" openAutoNav="openAutoNav" showMarkdownHelp="toggleMarkdownHelpModal" closeMobileMenu="closeMobileMenu"}}
|
|
{{/if}}
|
|
|
|
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
|
|
{{outlet}}
|
|
{{/gh-main}}
|
|
|
|
|
|
{{gh-notifications}}
|
|
|
|
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
|
|
|
|
{{outlet "settings-menu"}}
|
|
</div>{{!gh-viewport}}
|
|
{{/gh-app}}
|
|
|
|
{{#if showMarkdownHelpModal}}
|
|
{{gh-fullscreen-modal "markdown-help"
|
|
close=(route-action "toggleMarkdownHelpModal")
|
|
modifier="wide"}}
|
|
{{/if}}
|
|
|
|
{{ember-load-remover}}
|