Skip to content

Redirect Summit page to the canonical event site - #83

Merged
HeyItsGilbert merged 2 commits into
mainfrom
redirect-summit-site
Aug 26, 2026
Merged

Redirect Summit page to the canonical event site#83
HeyItsGilbert merged 2 commits into
mainfrom
redirect-summit-site

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Summary

  • issue a forced Netlify 301 from /summit/ to https://powershellsummit.org/
  • retain a GitHub Pages-compatible HTML redirect fallback
  • remove the redundant Summit navigation entry and direct home/footer links to the canonical site

Verification

  • npm run build is currently blocked because Hugo attempts to load modules but go is unavailable in the environment.
  • The deployment preview should verify the Netlify 301 and the static fallback behavior.

Copilot AI lite review requested due to automatic review settings August 26, 2026 22:48
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit cf1539e
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a8f71670023ff0008b3b729
😎 Deploy Preview https://deploy-preview-83--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR redirects the site’s /summit/ destination to the PowerShell Summit canonical website (https://powershellsummit.org/), and updates site navigation/links so visitors are sent to the canonical Summit site instead of a separate PowerShell.org Summit section.

Changes:

  • Add a forced Netlify 301 redirect from /summit/ to https://powershellsummit.org/, and add a GitHub Pages-compatible static HTML redirect fallback at static/summit/index.html.
  • Remove the Summit section content/layout and remove the Summit item from the main Hugo menu.
  • Update home page and footer links to use .Site.Params.summit.registration_url instead of /summit/.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
themes/powershell-community/layouts/partials/footer.html Updates footer “Summit” quick link to point to the canonical Summit URL (via params).
themes/powershell-community/layouts/index.html Updates the home hero CTA link to point to the canonical Summit URL (via params).
themes/powershell-community/layouts/_default/summit.html Removes the dedicated Summit layout (no longer serving a Summit page from Hugo).
static/summit/index.html Adds a static HTML redirect fallback for GitHub Pages at /summit/.
netlify.toml Adds a Netlify redirect rule for /summit/ (but currently contains TOML-breaking corruption that must be fixed).
hugo.yaml Removes the Summit entry from the main navigation menu.
CONTEXT.md Documents that the Summit canonical public website is https://powershellsummit.org/.
content/summit/_index.md Removes the Summit section landing content so Hugo no longer builds /summit/ as a section page.
Suppressed comments (1)

netlify.toml:50

  • netlify.toml is missing the for = "/*.woff2" line in the font headers block (it currently contains an HTML fragment), which makes the TOML invalid and prevents the intended cache headers from applying to WOFF2 files.
[[headers]]
                    <li><a href="{{ .Site.Params.summit.registration_url }}" class="text-gray-400 hover:text-white transition-colors duration-200">Summit</a></li>
  [headers.values]
    Cache-Control = "public, max-age=31536000, immutable"

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread netlify.toml
Comment thread netlify.toml
Comment on lines +6 to +11
[[redirects]]
from = "/summit/"
to = "https://powershellsummit.org/"
status = 301
force = true

Comment thread static/summit/index.html
@HeyItsGilbert
HeyItsGilbert merged commit 07ab837 into main Aug 26, 2026
5 checks passed
@HeyItsGilbert
HeyItsGilbert deleted the redirect-summit-site branch August 26, 2026 23:11
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