Thanks for your help, Maiki.
I think using title is fairly standard, like, everywhere (after modifying it, ie lowercase and hyphenating).
I’m not sure about that. I agree most systems choose the title as the default but I think most platforms store that information elsewhere. WordPress sets it in a permalink field and Jekyll uses the file name.
Using the title sounds dangerous and prone unknowingly breaking pages—especially for editors who don’t fully understand the concepts of the CMS.
Also, I’d be surprised if the norm is for the URL to match the title on most websites with a large number of articles. You often see abbreviated versions of the titles in the URL, here’s an example: How To Create A Particle Trail Animation In JavaScript — Smashing Magazine
Using the title makes the filename redundant which feels odd and confusing. I imagine most peoples mental model of how the contents folder works is to create folders and files and for them to directly correspond in the URL structure.
You called them above, those are the ways I’m aware of.
I think I’ve found another way. I’ve removed the date from the file name and moved it into front matter. This means I can now use the :filename as the permalink. This actually feels better than Jekyll because although it doesn’t order the files chronologically in the folder, it is an accurate representation of the URL structure for the website.
It occurs to me that when we build the feature to generate content pages from data sources (rather than content text files) we’ll need a way to standardize the titles and URLs, so something (a new config or a new method of building content) may be baking that addresses your concern.
It would be great to see some more options around this. If for nothing else, to make the transition from Jekyll to Hugo easier for lots of people.
Thanks again for your help, Maiki.