Skip to content

Conversation

@anthraxx
Copy link
Contributor

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.

I've tested this with a local Hugo server, LGTM. Thank you!

@poettering poettering merged commit 0df7593 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants