Skip to content

Commit 07ab837

Browse files
Redirect Summit page to the canonical event site (#83)
1 parent b152841 commit 07ab837

8 files changed

Lines changed: 29 additions & 118 deletions

File tree

CONTEXT.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,8 @@ whose archived episodes also live under `/podcast/`. A distinct podcast from **T
4444
PowerShell Podcast** despite sharing the section — it has its own hosts and is not
4545
covered by the Podbean feed or the sync. Episodes are told apart by their audio host:
4646
Podbean (`mcdn.podbean.com`) means The PowerShell Podcast; libsyn means PowerScripting.
47+
48+
**PowerShell Summit**:
49+
The event whose canonical public website is `https://powershellsummit.org/`.
50+
PowerShell.org refers visitors to that site rather than presenting a separate
51+
event-information destination.

content/summit/_index.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

hugo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ menu:
3838
- name: "Podcast"
3939
url: "/podcast/"
4040
weight: 20
41-
- name: "Summit"
42-
url: "/summit/"
43-
weight: 30
4441
- name: "Articles"
4542
url: "/articles/"
4643
weight: 40

netlify.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
command = "hugo --minify"
44
publish = "public"
55

6+
[[redirects]]
7+
from = "/summit"
8+
to = "https://powershellsummit.org/"
9+
status = 301
10+
force = true
11+
12+
613
[build.environment]
714
HUGO_VERSION = "0.155.1"
815
HUGO_ENVIRONMENT = "production"

static/summit/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<meta name="robots" content="noindex">
7+
<meta http-equiv="refresh" content="0; url=https://powershellsummit.org/">
8+
<link rel="canonical" href="https://powershellsummit.org/">
9+
<title>PowerShell Summit</title>
10+
</head>
11+
<body>
12+
<p>The PowerShell Summit site has moved to <a href="https://powershellsummit.org/">powershellsummit.org</a>.</p>
13+
<script>window.location.replace("https://powershellsummit.org/");</script>
14+
</body>
15+
</html>

themes/powershell-community/layouts/_default/summit.html

Lines changed: 0 additions & 106 deletions
This file was deleted.

themes/powershell-community/layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1 class="text-4xl lg:text-6xl font-black mb-6 leading-tight">
2222
</p>
2323

2424
<div class="space-y-4 sm:space-y-0 sm:space-x-4 sm:flex">
25-
<a href="/summit/"
25+
<a href="{{ .Site.Params.summit.registration_url }}"
2626
class="inline-block bg-blue-400 text-blue-900 px-8 py-3 rounded-lg font-bold hover:bg-blue-300 transition-all duration-200 transform hover:scale-105">
2727
<i class="fas fa-ticket-alt mr-2"></i>Get Summit Tickets
2828
</a>

themes/powershell-community/layouts/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h3 class="text-lg font-semibold text-white">PowerShell.org</h3>
3737
<h3 class="text-lg font-semibold text-white mb-4">Quick Links</h3>
3838
<ul class="space-y-2 text-sm">
3939
<li><a href="/podcast/" class="text-gray-400 hover:text-white transition-colors duration-200">Podcast</a></li>
40-
<li><a href="/summit/" class="text-gray-400 hover:text-white transition-colors duration-200">Summit</a></li>
40+
<li><a href="{{ .Site.Params.summit.registration_url }}" class="text-gray-400 hover:text-white transition-colors duration-200">Summit</a></li>
4141
<li><a href="/learning/" class="text-gray-400 hover:text-white transition-colors duration-200">Learning Resources</a></li>
4242
<li><a href="/community/" class="text-gray-400 hover:text-white transition-colors duration-200">Community</a></li>
4343
<li><a href="{{ .Site.Params.social.forums }}" target="_blank" rel="noopener" class="text-gray-400 hover:text-white transition-colors duration-200">Forums</a></li>

0 commit comments

Comments
 (0)