-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adding ability to set url prefix A new option has been added to allow us to set a URL prefix this is useful for when you have a site that want to sit on a url like `http://example.com/en/` * test: adding test to for urlPrefix Added test for the urlPrefix also noticed that I neeeded to add a conditional check for when to add the prefix * fix: forgot to add the new input to the manifest * fix: double trailing slash for index url If the urlPrefix contains a trailing slash ie `/en/` then when we create the sitemap item for the index `/` the URL would end up with a double trailing slash `/en//` so we need to replace this with a single slash
- Loading branch information
1 parent
fca7f22
commit e30fc70
Showing
5 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters