Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sitemap): add separator option #11898

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Hacksore
Copy link

@Hacksore Hacksore commented Sep 2, 2024

Copy link

changeset-bot bot commented Sep 2, 2024

🦋 Changeset detected

Latest commit: f6843bf

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Sep 2, 2024
this allow you to output sitemap files without dashes
@Hacksore Hacksore changed the title feat(sitemap): add separator options feat(sitemap): add separator option Sep 2, 2024
@@ -64,6 +66,6 @@ export async function writeSitemap(
});

let src = Readable.from(sourceData);
const indexPath = resolve(destinationDir, `./sitemap-index.xml`);
Copy link
Author

Choose a reason for hiding this comment

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

not sure if we want to change this at all but if we set separator: "" then it'd be sitemapindex.xml.

This makes sense for sitemap-0.xml => sitemap0.xml but not sure about the index?

happy to change anything if we need to.

@Hacksore Hacksore marked this pull request as ready for review September 2, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant