Skip to content

Commit

Permalink
Merge pull request #27 from jbuendia1y/develop
Browse files Browse the repository at this point in the history
+ property xmlns:xhtml and merge
  • Loading branch information
jbuendia1y authored Sep 16, 2021
2 parents 9648b8f + 87a5053 commit 34af4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const generateURL = (url) => {
return `<url><loc>${completeUrl}</loc></url>`;
};
const generateTemplate = (urls) =>
`<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">${urls}</urlset>`;
`<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">${urls}</urlset>`;

const pages = fs
.readdirSync(path.join(__dirname, "../dist/"))
Expand Down

1 comment on commit 34af4a5

@vercel
Copy link

@vercel vercel bot commented on 34af4a5 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.