sitemap-module icon indicating copy to clipboard operation
sitemap-module copied to clipboard

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

Open 29avet1 opened this issue 3 years ago • 0 comments

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.

29avet1 avatar Feb 21 '22 13:02 29avet1