Like the preview path, the `slug` should also be able to use placeholders: https://frontmatter.codes/docs/content-creation/placeholders - that way, users can use any fields to include their slugs. The configuration should be on the global level and content type level.
Activity
estruyf commentedon Jan 29, 2024
To be tested after the change:
#746 - Placeholder support in slug
estruyf commentedon Jan 30, 2024
New settings:
{ "frontMatter.taxonomy.slugTemplate": "{{title}}", "frontMatter.taxonomy.contentTypes": [ { "name": "default", "pageBundle": false, "slugTemplate": "{{fm.pubDate|format:yyyy-MM}}-{{title}}", "fields": [] } ] }#746 - placeholder support for slug field
#746 - Slug handling when none is defined
#746 - Fix in path placeholders on content creation