I’m trying to set the linktitle on an _index.md page because its page title is too long to be reasonable in the menu. I’m using Docdock as the theme, and on “normal” pages, the site menu displays the value for linktitle when present. Otherwise it displays the value for title. On the _index.md page, however, the title displays even when the linktitle is set.
The Hugo docs make it seem like linktitle will be used for automatically-generated links whenever it’s set in the Front Matter.
I’m realizing I’m not clear on where Hugo ends and the theme begins with respect to behaviors like this, and I’m wondering if others might know:
- Is it expected that an
_index.mdpage would ignore thelinktitlesetting? - Is it Hugo that ignores it? Or the theme?
- How might one achieve the goal of setting a
linktitlefor an_index.mdpage?
