Closed mrustl closed 4 years ago
Appears to be a limitation of Hugo - raised a Hugo issue at https://github.com/gohugoio/hugo/issues/7274
Closing this as it appears to be a limitation/bug in Hugo. For any users affected, I suggest upvoting and/or commenting on gohugoio/hugo#7274 .
So would it not be better to roll-back to "plural" (i.e. "authors") as long as the upstream bug hasn`t been fixed?
It is actually possible to override the section names by using the url
option. In the example below:
config/_default/config.yaml:
permalinks:
authors: "author/:slug/"
... <existing permalinks>
content/authors/_index.md:
---
url: author
... <existing metadata>
both the archive page and the individual author pages are singular. The reverse can also be done for the project and publication sections to make them plural
Describe the bug
Authors overview page is still located in https://academic-demo.netlify.app/authors/ but page for each author now served from https://academic-demo.netlify.app/author/robert-ford.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Authors overview page should be also available at: https://academic-demo.netlify.app/author/
which is currently not the case and inconsistent with previous behavior in former hugo-academic versions (e.g. v4.8), where both where served from .../authors/.
Technical details:
Your Netlifly deploy (https://github.com/gcushen/hugo-academic/blob/14839190f693c19969000d451e6308dd3f92586e/netlify.toml).