prettier
This commit is contained in:
parent
f6762c350a
commit
fa262d0419
@ -5,7 +5,8 @@ import siteMetadata from '@/data/siteMetadata'
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const siteUrl = siteMetadata.siteUrl
|
||||
|
||||
const blogRoutes = allBlogs.filter((post) => !post.draft)
|
||||
const blogRoutes = allBlogs
|
||||
.filter((post) => !post.draft)
|
||||
.map((post) => ({
|
||||
url: `${siteUrl}/${post.path}`,
|
||||
lastModified: post.lastmod || post.date,
|
||||
|
Loading…
x
Reference in New Issue
Block a user