Skip to content

Comments

hugo book upgrade and improvements#194

Merged
poettering merged 9 commits intouapi-group:mainfrom
anthraxx:feat/hugo-book-upgrade
Nov 28, 2025
Merged

hugo book upgrade and improvements#194
poettering merged 9 commits intouapi-group:mainfrom
anthraxx:feat/hugo-book-upgrade

Conversation

@anthraxx
Copy link
Contributor

It's just a legacy alias for UAPI.4. Hence should continue to exist, but
not be visible in the index.
We need to explicitly mount the content directory if we want it to be
considered while also being extended.
Remove custom footer template and only override the edit link partial
with the custom book index replace logic. This helps to reduce future
incompatibility by minimizing overwritten templates.
This makes the menu separator a stylistic element and reduces the need
for a custom hugo-menu template to skip treating the menu element as a
link item. This helps to reduce future incompatibility by minimizing
overwritten templates.
By using relative URLs, which are resolved from the defined base url,
the menu link will not be considered a remote link and will subsequently
leave the link to be opened in the same page. The hugo resolved URL on
build will be the same as the absolute variant.

This helps to reduce future incompatibility by minimizing overwritten
templates.
Copy link
Member

@t-lo t-lo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, LGTM. Thank you!

@poettering poettering merged commit eeb0f8c into uapi-group:main Nov 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants