Added visible blog link
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
<script lang="ts">
|
||||
import Navbar from "$lib/components/Navbar.svelte";
|
||||
import { page } from '$app/stores';
|
||||
</script>
|
||||
|
||||
<Navbar>
|
||||
<div slot="title">
|
||||
<a href="/blog">Блог</a>
|
||||
{#if $page.url.pathname !== '/blog'}
|
||||
<a href="/blog">Назад</a>
|
||||
{/if}
|
||||
</div>
|
||||
</Navbar>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user