datocms-plugin-dynamic-slug-prefix

0.1.4 • Public • Published

DatoCMS Dynamic Slug Prefix

Global settings

{
  "globalDomain": "https://store.pwc.de",
  "globalPrefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/",
  "env": "",
  "readonlyApiToken": "f8ca75782963871e2b548240679c00"
}

Mappings

{
  "de-DE": "de",
  "en-DE": "en"
}

Examples

{
  "prefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/{API_NAME=publicationsPage}"
}
{
  "prefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/{API_NAME=productsPage}/{PARENT=product.productSlug}"
}

Package Sidebar

Install

npm i datocms-plugin-dynamic-slug-prefix

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

4.21 MB

Total Files

16

Last publish

Collaborators

  • tproli