sitemap updated
This commit is contained in:
parent
0acbea84bf
commit
b41a0c0ee2
File diff suppressed because one or more lines are too long
@ -77,6 +77,11 @@ const blogPosts = [
|
|||||||
{ slug: 'how-to-overcome-the-biggest-challenges-in-cold-emailing-b2b-success' },
|
{ slug: 'how-to-overcome-the-biggest-challenges-in-cold-emailing-b2b-success' },
|
||||||
{ slug: '9-powerful-free-google-tools-to-grow-your-business' },
|
{ slug: '9-powerful-free-google-tools-to-grow-your-business' },
|
||||||
{ slug: '5-digital-marketing-mistakes-every-small-business-must-avoid' },
|
{ slug: '5-digital-marketing-mistakes-every-small-business-must-avoid' },
|
||||||
|
{ slug: 'how-digital-solutions-drove-success-for-a-local-business' },
|
||||||
|
{ slug: 'ai-driven-seo-how-to-future-proof-your-search-strategy' },
|
||||||
|
{ slug: 'mastering-omnichannel-marketing-strategies-for-2026' },
|
||||||
|
{ slug: 'how-metatroncube-solutions-improve-local-seo-waterloo' },
|
||||||
|
{ slug: 'why-metatroncube-solutions-top-choice-social-media-marketing-waterloo' },
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -95,7 +100,7 @@ const allLinks = [...staticLinks, ...blogLinks].map(link => ({
|
|||||||
async function generateSitemap() {
|
async function generateSitemap() {
|
||||||
try {
|
try {
|
||||||
const sitemap = new SitemapStream({ hostname: hostname });
|
const sitemap = new SitemapStream({ hostname: hostname });
|
||||||
const writeStream = fs.createWriteStream(path.resolve(__dirname, '../out/sitemap.xml'));
|
const writeStream = fs.createWriteStream(path.resolve(__dirname, '../public/sitemap.xml'));
|
||||||
|
|
||||||
sitemap.pipe(writeStream);
|
sitemap.pipe(writeStream);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user