Skip to content

fix(pages): root index redirect to /site/#261

Merged
jphein merged 1 commit into
mainfrom
fix/pages-root-redirect
Jul 4, 2026
Merged

fix(pages): root index redirect to /site/#261
jphein merged 1 commit into
mainfrom
fix/pages-root-redirect

Conversation

@jphein

@jphein jphein commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

The Pages build (main:/docs, jekyll) had no top-level index — the root URL 404'd while /site/ carried the real site. Adds a meta-refresh + canonical redirect.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 4, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jphein, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 12 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 64564de5-bdd1-46a4-b4fa-9a1b714c0510

📥 Commits

Reviewing files that changed from the base of the PR and between 2ced067 and 85c0e3e.

📒 Files selected for processing (1)
  • docs/index.html
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/pages-root-redirect

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jphein jphein merged commit c6a24d3 into main Jul 4, 2026
4 checks passed
@jphein jphein deleted the fix/pages-root-redirect branch July 4, 2026 15:38

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

Copy link
Copy Markdown

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 adds a redirect page docs/index.html to point users to the SME results site. The reviewer suggests using Jekyll front matter and Liquid variables instead of a hardcoded absolute URL to ensure the canonical link and redirect paths remain portable and fork-friendly.

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 docs/index.html
Comment on lines +1 to +12
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=site/">
<link rel="canonical" href="https://techempower-org.github.io/multipass-structural-memory-eval/site/">
<title>SME — Structural Memory Evaluation</title>
</head>
<body>
<p>Redirecting to the <a href="site/">SME results site</a>…</p>
</body>
</html>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Since this site is built using Jekyll on GitHub Pages, hardcoding the absolute URL (https://techempower-org.github.io/multipass-structural-memory-eval/) in the canonical link makes the page less portable. If the repository is forked or if a custom domain is configured in the future, the canonical link will still point to the original repository's GitHub Pages domain.

By adding empty YAML front matter (---) to the top of the file, we can instruct Jekyll to process this file and use Liquid variables ({{ site.url }} and {{ site.baseurl }}). This dynamically resolves the correct absolute and relative paths, making the redirect and canonical link fully portable and fork-friendly.

Suggested change
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=site/">
<link rel="canonical" href="https://techempower-org.github.io/multipass-structural-memory-eval/site/">
<title>SME — Structural Memory Evaluation</title>
</head>
<body>
<p>Redirecting to the <a href="site/">SME results site</a></p>
</body>
</html>
---
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url={{ site.baseurl }}/site/">
<link rel="canonical" href="{{ site.url }}{{ site.baseurl }}/site/">
<title>SME — Structural Memory Evaluation</title>
</head>
<body>
<p>Redirecting to the <a href="{{ site.baseurl }}/site/">SME results site</a></p>
</body>
</html>

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