gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.38k stars 7.49k forks source link

Default title for nested taxonomies should be the base name #10380

Closed bep closed 9 months ago

bep commented 2 years ago

Currently it's possible to do:

[taxonomies]
"news/category" = "news/categories"

And the taxonomy pages will get the paths as expected. The default title, however (when no _index.md file is found) is set to News/Categories, which I suspect is not a great title.

I'm doing some simplification work in this department now, and had a failing test above, so I'll create an issue to mark that I'll change it so the title becomes the base name (e.g. Categories).

jmooring commented 9 months ago

Pretty sure we can close this as a duplicate of https://github.com/gohugoio/hugo/issues/11808

bep commented 9 months ago

This issue will be auto closed with my PR, so I will make the other a duplicate.

bep commented 9 months ago

Never mind, I had them mixed ....

github-actions[bot] commented 8 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.