Automatically create slug based on document title

Currently, I have a hard time explaining to some of my customers (who are used to WordPress) why they have to manually set a slug for each document.

To make life easier for my customers and myself, I would love for caisy to just automatically set and update a slug based on the title of the Document, converting spaces to hyphens and dealing with Umlaute automatically.

Demo:

document_title: "Über uns",
autogen_slug: "ueber-uns",


Why is this important?

If I don't want my customers to manually add slugs, I currently have to fetch all Documents just to convert the title of these Documents to a slug-version. With the converted titles, I can then perform a .find() on them to match the current URL to one of the converted slug.

Please authenticate to join the conversation.

Upvoters
Status

Planned

Board

πŸ’‘ Feature Request

Date

7 months ago

Author

An Anonymous User

Subscribe to post

Get notified by email when there are changes.