Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Conversation

Copy link
Contributor

Copilot AI commented Aug 26, 2025

This PR implements a site-wide redirect to https://github.com/social-impact/focus-areas/skilling-equity-and-community as requested in the issue.

Implementation

The solution adds a single line of JavaScript to the default layout template (_layouts/default.html) that immediately redirects all pages:

<script>window.location.href = 'https://github.com/social-impact/focus-areas/skilling-equity-and-community';</script>

Why this approach

  • Minimal impact: Only 1 file changed, 1 line added
  • Complete coverage: All pages inherit from the default layout, ensuring every page redirects
  • Immediate execution: The redirect script runs as soon as any page loads
  • Jekyll-aware: Works with the existing Jekyll site structure without breaking builds

Verification

  • All HTML pages in the repository use layout: default (either explicitly or through Jekyll's default configuration)
  • The redirect script is placed in the <head> section for immediate execution
  • Tested that the implementation covers all site pages including index, maintainers, access, community, and error pages

When deployed, visitors to any page on the All-In website will be automatically redirected to the specified GitHub repository.

Fixes #62.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: philernst <7658603+philernst@users.noreply.github.com>
Copilot AI changed the title [WIP] Redirect the site Redirect all site pages to focus-areas repository Aug 26, 2025
Copilot AI requested a review from philernst August 26, 2025 20:01
@philernst philernst marked this pull request as ready for review August 27, 2025 10:48
@philernst philernst merged commit 4309d1b into main Aug 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirect the site

2 participants