mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-08-07 09:58:01 +02:00
fix: use aliase #199
This commit is contained in:
@@ -138,7 +138,7 @@ module.exports = {
|
||||
{
|
||||
site {
|
||||
siteMetadata {
|
||||
url
|
||||
siteUrl: url
|
||||
}
|
||||
}
|
||||
allSitePage(
|
||||
@@ -156,7 +156,7 @@ module.exports = {
|
||||
`,
|
||||
output: '/sitemap.xml',
|
||||
serialize: ({ site, allSitePage }) => allSitePage.edges.map((edge) => ({
|
||||
siteUrl: site.siteMetadata.url + edge.node.path,
|
||||
url: site.siteMetadata.siteUrl + edge.node.path,
|
||||
changefreq: 'daily',
|
||||
priority: 0.7
|
||||
}))
|
||||
|
Reference in New Issue
Block a user