Skip to content

Conversation

@jeckersb
Copy link
Collaborator

@jeckersb jeckersb commented Dec 9, 2025

Previously with it being page-relative, the logo would render on the
main page at '/' but would not work for nested pages such as
'/about/'.

I've updated both the "main" template and the juice template, although
it appears that only the juice template is actually used by the site.

Signed-off-by: John Eckersberg jeckersb@redhat.com

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly fixes an issue where the CNCF logo was not displaying on nested pages by changing the image path to be root-relative. The changes are applied to both the main and theme templates. I've added a couple of suggestions to use the get_url template function, which is a more robust and idiomatic way to handle asset URLs in this context, ensuring they work correctly even when the site is deployed in a subdirectory.

Previously with it being page-relative, the logo would render on the
main page at '/' but would not work for nested pages such as
'/about/'.

I've updated both the "main" template and the juice template, although
it appears that only the juice template is actually used by the site.

Signed-off-by: John Eckersberg <jeckersb@redhat.com>
@cgwalters cgwalters merged commit 7fe5512 into bootc-dev:main Dec 9, 2025
3 of 6 checks 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.

2 participants