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