Can slug be generated from title automatically?

How do I automatically set post slug from title in front matter?

I’d like to not rely on the post filename and not have to set slug in front matter. I already set post title in front matter. Is there a way to use the title from front matter to automatically generate the slug?

Thanks

https://gohugo.io/content-management/urls/#tokens

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.