mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 07:55:42 +00:00
Update changefreq in sitemap
This commit is contained in:
parent
e3d378ccdc
commit
1c917ed26d
@ -13,7 +13,7 @@ async function createSitemap(pages: string[]) {
|
||||
`<url>
|
||||
<loc>${url}</loc>
|
||||
<lastmod>${new Date().toISOString()}</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>`).join('')}
|
||||
</urlset>`.replace(/(\s\s+|\t)/g, ' ').trim()
|
||||
|
Loading…
Reference in New Issue
Block a user