Wocart

@wocart/storefront v3.1.0


@wocart/storefront / server / sitemapXml

Function: sitemapXml()

sitemapXml(paths, routing, origin): string

The sitemap of paths — unprefixed page paths (/products/robe) — on origin, in every language routing publishes. A path given twice is listed once.

Parameters

paths

readonly string[]

routing

LocaleRouting

origin

string

Returns

string