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

Update cache.js to make option to specify route name in dynamic routes for grouping to hreflang links #241

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

29avet1
Copy link

@29avet1 29avet1 commented Feb 21, 2022

sitemap groups links to xhtml:link format based on route names.
when we have a list of dynamic routes, it does not have name and can't be grouped.
With this pr there will be an ability to group routes by manually giving specific names to dynamic routes.
basically it checks whether route has "name" parameter, and adds that to an object along with "url" parameter.

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

Successfully merging this pull request may close these issues.

None yet

1 participant