Some changes to try to make routing work
This commit is contained in:
parent
d51d3a0603
commit
67a1acd0a1
@ -9,6 +9,7 @@
|
||||
props: {
|
||||
latestPosts: blogPostsContent.posts.items,
|
||||
// TODO Check if not bugged FIXME
|
||||
// TODO remove console.logs
|
||||
segment: '',
|
||||
},
|
||||
}
|
||||
|
@ -47,6 +47,7 @@
|
||||
<title>My blog @michalvankodev</title>
|
||||
</svelte:head>
|
||||
|
||||
{@debug posts}
|
||||
{#if posts.items.length === 0}
|
||||
<p class="no-posts">You've found void in the space.</p>
|
||||
{:else}
|
||||
|
Loading…
Reference in New Issue
Block a user