Skip to content

Commit

Permalink
added generated sitemap on blob storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Dec 15, 2023
1 parent 5a0704b commit 3ca7d6c
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
/** @type {import('next-sitemap').IConfig} */

module.exports = {
siteUrl: process.env.SITE_URL,
changefreq: "daily",
priority: 0.7,
sitemapSize: 5000,
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [
{
userAgent: "*",
allow: "/",
disallow: "/404",
},
],
additionalSitemaps: [
// TODO: add sitemaps for other sites when they are available
// 'https://www.ssw.com.au/people/sitemap.xml',
// 'https://www.ssw.com.au/rules/sitemap.xml',
"https://www.ssw.com.au/ssw/sitemap.xml",
],
},
};
/** @type {import('next-sitemap').IConfig} */

module.exports = {
siteUrl: process.env.SITE_URL,
changefreq: "daily",
priority: 0.7,
sitemapSize: 5000,
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [
{
userAgent: "*",
allow: "/",
disallow: "/404",
},
],
additionalSitemaps: [
// TODO: add sitemaps for other sites when they are available
// 'https://www.ssw.com.au/people/sitemap.xml',
// 'https://www.ssw.com.au/rules/sitemap.xml',
"https://www.ssw.com.au/ssw/sitemap.xml",
"https://www.ssw.com.au/history/sitemap.xml",
],
},
};

0 comments on commit 3ca7d6c

Please sign in to comment.