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 26c323b commit e170404Copy full SHA for e170404
gatsby-config.ts
@@ -50,8 +50,8 @@ module.exports = {
50
`,
51
resolvePages: ({ allSitePage }: { allSitePage: any }) =>
52
allSitePage.nodes,
53
- serialize: ({ site, path }: { site: any; path: string }) => ({
54
- url: `${site.siteMetadata.siteUrl}${path}`,
+ serialize: ({ path }: { path: string }) => ({
+ url: path,
55
lastmod: new Date().toISOString(),
56
priority: path === "/" ? 1.0 : 0.8,
57
}),
0 commit comments