remove unecessary components
This commit is contained in:
@@ -9,14 +9,13 @@ let posts = await res.json()
|
||||
<Layout>
|
||||
<Container>
|
||||
{
|
||||
posts.map((post) => (
|
||||
<article>
|
||||
<h2>
|
||||
<a href={`/blog/${post.slug}`} set:html={post.title.rendered} />
|
||||
</h2>
|
||||
<!-- <Fragment set:html={post.content.rendered} /> -->
|
||||
</article>
|
||||
))
|
||||
posts.map((post) => (
|
||||
<article>
|
||||
<h2>
|
||||
<a href={`/blog/${post.slug}`} set:html={post.title.rendered} />
|
||||
</h2>
|
||||
</article>
|
||||
))
|
||||
}
|
||||
</Container>
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user