{{#discourse-root}}
  {{d-document}}
  {{plugin-outlet name="above-site-header" tagName=""}}
  {{site-header canSignUp=canSignUp
                showCreateAccount=(route-action "showCreateAccount")
                showLogin=(route-action "showLogin")
                showKeyboard=(route-action "showKeyboardShortcutsHelp")
                toggleMobileView=(route-action "toggleMobileView")
                toggleAnonymous=(route-action "toggleAnonymous")
                logout=(route-action "logout")}}
  {{software-update-prompt id="software-update-prompt"}}

  {{plugin-outlet name="below-site-header" tagName="" args=(hash currentPath=router._router.currentPath)}}

  <div id="main-outlet" class="wrap" role="main">
    {{plugin-outlet name="above-main-container" tagName=""}}
    <div class="container">
      {{#if showTop}}
        {{custom-html name="top"}}
      {{/if}}
      {{notification-consent-banner}}
      {{pwa-install-banner}}
      {{global-notice}}
      {{create-topics-notice}}
      {{plugin-outlet name="top-notices" tagName="" args=(hash currentPath=router._router.currentPath)}}
    </div>
    {{outlet}}
    {{outlet "user-card"}}
  </div>

  {{plugin-outlet name="above-footer" tagName="" args=(hash showFooter=showFooter)}}
  {{#if showFooter}}
    {{custom-html name="footer" triggerAppEvent="true"}}
  {{/if}}
  {{plugin-outlet name="below-footer" tagName="" args=(hash showFooter=showFooter)}}

  {{outlet "modal"}}
  {{topic-entrance}}
  {{outlet "composer"}}

  {{#if showFooterNav}}
    {{footer-nav}}
  {{/if}}
{{/discourse-root}}
