Skip to content

resolve page-bundle banners with .RelPermalink#203

Open
CodexRaunak wants to merge 1 commit into
layer5io:masterfrom
CodexRaunak:fix-banner
Open

resolve page-bundle banners with .RelPermalink#203
CodexRaunak wants to merge 1 commit into
layer5io:masterfrom
CodexRaunak:fix-banner

Conversation

@CodexRaunak
Copy link
Copy Markdown
Contributor

@CodexRaunak CodexRaunak commented Jun 2, 2026

Notes for Reviewers

  • resolve page-bundle banners with .RelPermalink

Signed commits

  • Yes, I signed my commits.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🚀 Preview deployment: https://layer5io.github.io/academy-theme/pr-preview/pr-203/

Copy link
Copy Markdown
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 updates JSON partials to handle missing banner URLs by outputting null and enhances the resolve-local-resource.html partial to support external, root-relative, and local resource paths. Feedback suggests optimizing the URL resolution logic to support protocol-relative URLs, dynamically match the base path instead of hardcoding /academy/, and simplify redundant string operations.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread layouts/partials/resolve-local-resource.html Outdated
Signed-off-by: Raunak Madan <madanraunak24@gmail.com>
@CodexRaunak CodexRaunak changed the title emit canonical relative URLs for academy banner assets resolve page-bundle banners with .RelPermalink Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant