mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
fix: use aliase #199
This commit is contained in:
parent
63675a65f2
commit
46743e9e1a
@ -138,7 +138,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
site {
|
site {
|
||||||
siteMetadata {
|
siteMetadata {
|
||||||
url
|
siteUrl: url
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
allSitePage(
|
allSitePage(
|
||||||
@ -156,7 +156,7 @@ module.exports = {
|
|||||||
`,
|
`,
|
||||||
output: '/sitemap.xml',
|
output: '/sitemap.xml',
|
||||||
serialize: ({ site, allSitePage }) => allSitePage.edges.map((edge) => ({
|
serialize: ({ site, allSitePage }) => allSitePage.edges.map((edge) => ({
|
||||||
siteUrl: site.siteMetadata.url + edge.node.path,
|
url: site.siteMetadata.siteUrl + edge.node.path,
|
||||||
changefreq: 'daily',
|
changefreq: 'daily',
|
||||||
priority: 0.7
|
priority: 0.7
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user