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

Add option for additional pages not within SvelteKit #45

Closed
ZachSaucier opened this issue Nov 23, 2023 · 5 comments · May be fixed by #51
Closed

Add option for additional pages not within SvelteKit #45

ZachSaucier opened this issue Nov 23, 2023 · 5 comments · May be fixed by #51
Assignees
Labels
enhancement New feature or request

Comments

@ZachSaucier
Copy link

I use SvelteKit for my blog but not my main site. I'd like to add some additional pages by hand if possible.

I'll make a PR for adding the support!

@ZachSaucier
Copy link
Author

PR here #46

@emilianocalzada
Copy link

Thanks @ZachSaucier
I also need this feature to be added

@fxxmr
Copy link

fxxmr commented Aug 10, 2024

I also need this feature since some of my pages are SSR and I still would like to add them to the sitemap. Thanks @ZachSaucier for the PR.
@bartholomej would it be possible to merge #46 ?

@bartholomej bartholomej self-assigned this Aug 20, 2024
@bartholomej bartholomej added the enhancement New feature or request label Aug 20, 2024
@bartholomej
Copy link
Owner

bartholomej commented Aug 20, 2024

Hi guys, thanks for your contribution. Especially Zach, of course!
I just released slightly modified version of Zachs's PR which you can see here: #51

You can try it like this: npm install svelte-sitemap@beta (make sure it is 2.7+ version).

If you confirm I will release stable version ;)

@pixelreseller
Copy link

pixelreseller commented Oct 30, 2024

Hi! Looking for this. You lib is great but i need to add some extra entries.
Tried it, like:
npx svelte-sitemap --domain https://www.mydomain.fr --additional ['justatest','justasecondtest']
but i don't get the expected result:

<url>
  <loc>https://www.albadecouverte.fr/[justatest,justasecondtest]</loc>
</url>

"svelte-sitemap": "^2.7.0-beta.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants