Following up on this Discourse topic, I'd like to request a method, perhaps a global config setting, to set the default permalink format. That is, if there is no entry for a section in the [permalinks] config, it would fall back on this new setting. Currently, it appears to be hard-coded to /:slug/.
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
I think this issue is relevant and valuable because, without the requested feature, one must create a separate permalinks entry for each section of the site. If one adds a new section and forgets, one might end up with a URL one doesn't want. It's nice to have the ability to set the default rather than rely on a hard-coded default.
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
Thanks for keeping this alive, @moorereason.
... I also heartily support this issue.
Come on.... this needs to be done...
I was just about to create a new issue with this very same feature enhancement request, but managed to find an existing one first. I have the same situation, we'll be using the same URL format for all posts on the site, regardless of section. It doesn't make sense to redundantly specify the same configuration directive for every section, and take the risk of publishing incorrectly formatted URLs in case you'd forget to reconfigure things when you add a new section for your posts, as these may end up used by others.
Most helpful comment
I think this issue is relevant and valuable because, without the requested feature, one must create a separate
permalinksentry for each section of the site. If one adds a new section and forgets, one might end up with a URL one doesn't want. It's nice to have the ability to set the default rather than rely on a hard-coded default.