datocms-plugin-tree-like-slugs

0.1.0 • Public • Published

Tree-like Slugs

A plugin that makes it so the slugs in tree-like records are passed down to the child records

Add it to the slug field you want as a field addon, the model where that slug is in must be set with a "Tree-like" presentation. From then on, all of the slugs in the tree-like configuration will inherit as a prefix the slug on the parent record.

The slug field must have the "Match a specific pattern" validation disabled! Otherwise the plugin won't be able to insert '/' in the slug.

Package Sidebar

Install

npm i datocms-plugin-tree-like-slugs

Weekly Downloads

4

Version

0.1.0

License

none

Unpacked Size

4.41 MB

Total Files

22

Last publish

Collaborators

  • marcelofinamorvieira