$dispatch('document:updated', {doc}))"
@popstate.window="fetchHTML().then(doc => { $dispatch('document:loaded', {doc}); sidebarOpenMobile = false})"
@sidebar:toggle.window="sidebarOpenMobile = !sidebarOpenMobile"
:style="`grid-template-columns: ${$store.nav.width}px 1px 1fr;`"
class="md:grid w-screen h-screen"
>
<%= render "shared/sidebar" %>
<%= yield %>