Redirect Summit page to the canonical event site - #83
Merged
Conversation
✅ Deploy Preview for powershellorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
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/tohttps://powershellsummit.org/, and add a GitHub Pages-compatible static HTML redirect fallback atstatic/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_urlinstead 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.tomlis missing thefor = "/*.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 on lines
+6
to
+11
| [[redirects]] | ||
| from = "/summit/" | ||
| to = "https://powershellsummit.org/" | ||
| status = 301 | ||
| force = true | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/summit/tohttps://powershellsummit.org/Verification
npm run buildis currently blocked because Hugo attempts to load modules butgois unavailable in the environment.