mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
fix: use aliase #199
This commit is contained in:
parent
63675a65f2
commit
46743e9e1a
@ -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
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user