Don't render anything on docs if /docs

pull/8435/head
Puru Vijay 3 years ago
parent 1f0f6d7680
commit 2ad6029750

@ -14,6 +14,7 @@
{/if}
</svelte:head>
<div style:display={$page.url.pathname !== '/docs' ? 'contents' : 'none'}>
<Shell nav_visible={$page.url.pathname !== '/repl/embed'}>
<Nav logo="/svelte-logo.svg">
<svelte:fragment slot="nav-center">
@ -48,6 +49,7 @@
<slot />
</Shell>
</div>
{#if browser}
<SearchBox />

Loading…
Cancel
Save