We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669d821 commit a06efeaCopy full SHA for a06efea
app/tags/[tag]/page.tsx
@@ -34,8 +34,8 @@ export default function TagPage({ params }: { params: { tag: string } }) {
34
const tag = decodeURI(params.tag)
35
// Capitalize first letter and convert space to dash
36
const title = tag[0].toUpperCase() + tag.split(' ').join('-').slice(1)
37
- const filteredPosts = allCoreContent(sortPosts(
38
- allBlogs.filter((post) => post.tags && post.tags.map((t) => slug(t)).includes(tag))
39
- ))
+ const filteredPosts = allCoreContent(
+ sortPosts(allBlogs.filter((post) => post.tags && post.tags.map((t) => slug(t)).includes(tag)))
+ )
40
return <ListLayout posts={filteredPosts} title={title} />
41
}
0 commit comments