Hugo PageInner links render hook field
Straight from the Hugo docs (pageinner-details) :
The primary use case for
PageInneris to resolve links and page resources relative to an includedPage. For example, create an “include” shortcode to compose a page from multiple content files, while preserving a global context for footnotes and the table of contents.
This doesn’t at all match my use case: notes / Link render hooks.
I think the section’s last paragraph explains what’s going on though:
PageInnerfalls back to the value ofPageif not relevant, and always returns a value.
References
Hugo Documentation. “PageInner details.”, Last updated: December 19, 2025. https://gohugo.io/render-hooks/links/#pageinner-details .