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 f6762c3 commit fa262d0Copy full SHA for fa262d0
app/sitemap.ts
@@ -5,7 +5,8 @@ import siteMetadata from '@/data/siteMetadata'
5
export default function sitemap(): MetadataRoute.Sitemap {
6
const siteUrl = siteMetadata.siteUrl
7
8
- const blogRoutes = allBlogs.filter((post) => !post.draft)
+ const blogRoutes = allBlogs
9
+ .filter((post) => !post.draft)
10
.map((post) => ({
11
url: `${siteUrl}/${post.path}`,
12
lastModified: post.lastmod || post.date,
0 commit comments