Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ params:
github: "https://github.com/powershellOrg"
discord: "https://aka.ms/psdiscord"
bluesky: "https://bsky.app/profile/powershell.org"
forums: "https://forums.powershell.org"

# GitHub repository URL
github_repo: "https://github.com/PowerShellOrg/PowerShellOrgWebsite"

# Podcast settings
podcast:
Expand Down
4 changes: 2 additions & 2 deletions themes/powershell-community/layouts/_default/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1 class="text-4xl lg:text-5xl font-bold mb-2">{{ .Title }}</h1>

<!-- Author Info -->
<h2 class="text-2xl font-bold text-center text-gray-900 mb-2">
<a href="{{ .Page.Permalink }}" class="hover:text-blue-600 transition-colors duration-200">
<a href="{{ .Page.RelPermalink }}" class="hover:text-blue-600 transition-colors duration-200">
{{ .Page.Title }}
</a>
</h2>
Expand All @@ -58,7 +58,7 @@ <h2 class="text-2xl font-bold text-center text-gray-900 mb-2">
</p>

<!-- View Profile Button -->
<a href="{{ .Page.Permalink }}"
<a href="{{ .Page.RelPermalink }}"
class="block w-full bg-blue-600 text-white text-center px-4 py-2 rounded-lg font-medium hover:bg-blue-700 transition-colors duration-200">
<i class="fas fa-arrow-right mr-2"></i>View Profile
</a>
Expand Down
4 changes: 2 additions & 2 deletions themes/powershell-community/layouts/_default/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="text-4xl lg:text-5xl font-bold mb-2">{{ .Title }}</h1>
<p class="text-xl opacity-90 max-w-2xl mx-auto">{{ .Params.description }}</p>
{{ with .OutputFormats.Get "Calendar" }}
<div class="mt-6">
<a href="{{ .Permalink }}" class="inline-flex items-center bg-white bg-opacity-20 hover:bg-opacity-30 text-white px-5 py-2 rounded-lg font-medium transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="inline-flex items-center bg-white bg-opacity-20 hover:bg-opacity-30 text-white px-5 py-2 rounded-lg font-medium transition-colors duration-200">
<i class="fas fa-calendar-plus mr-2"></i>Subscribe (.ics)
</a>
</div>
Expand Down Expand Up @@ -146,7 +146,7 @@ <h3 class="font-semibold text-gray-700">{{ .Title }}</h3>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center text-white">
<h2 class="text-3xl font-bold mb-2">Have an Event to Share?</h2>
<p class="text-xl mb-6 opacity-90">Submit your PowerShell-related conference, meetup, or community event by opening a GitHub issue.</p>
<a href="https://github.com/PowerShellOrg/PowerShellOrgWebsite/issues/new?template=community-event.yml" target="_blank" rel="noopener"
<a href="{{ .Site.Params.github_repo }}/issues/new?template=community-event.yml" target="_blank" rel="noopener"
class="inline-flex items-center bg-white text-purple-600 px-6 py-3 rounded-lg font-semibold hover:bg-gray-100 transition-colors duration-200">
<i class="fab fa-github mr-2"></i>Submit an Event
</a>
Expand Down
6 changes: 3 additions & 3 deletions themes/powershell-community/layouts/_default/learning.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2 class="text-3xl font-bold text-gray-900">Videos & YouTube</h2>
</div>
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">

<a href="https://youtube.com/PowerShellOrg" target="_blank" rel="noopener"
<a href="{{ .Site.Params.social.youtube }}" target="_blank" rel="noopener"
class="block bg-white rounded-xl p-6 border border-gray-200 hover:border-red-400 hover:shadow-md transition-all duration-200">
<div class="flex items-start">
<div class="w-10 h-10 bg-red-600 rounded-lg flex items-center justify-center flex-shrink-0 mr-4">
Expand Down Expand Up @@ -175,7 +175,7 @@ <h2 class="text-3xl font-bold text-gray-900">Recommended Conferences</h2>
</div>
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">

<a href="https://powershellsummit.org" target="_blank" rel="noopener"
<a href="{{ .Site.Params.summit.registration_url }}" target="_blank" rel="noopener"
class="block bg-gray-50 rounded-xl overflow-hidden border border-gray-200 hover:border-blue-400 hover:shadow-md transition-all duration-200">
<div class="bg-gradient-to-r from-blue-600 to-blue-800 p-6 text-white">
<i class="fas fa-terminal text-3xl mb-3"></i>
Expand Down Expand Up @@ -226,7 +226,7 @@ <h3 class="text-xl font-bold">SQL Saturday Baton Rouge</h3>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center text-white">
<h2 class="text-3xl font-bold mb-2">Know a Great Resource?</h2>
<p class="text-xl mb-6 opacity-90">Help us grow this list. Submit a pull request to add your favorite PowerShell learning resources.</p>
<a href="https://github.com/PowerShellOrg/PowerShellOrgWebsite" target="_blank" rel="noopener"
<a href="{{ .Site.Params.github_repo }}" target="_blank" rel="noopener"
class="inline-flex items-center bg-white text-green-600 px-6 py-3 rounded-lg font-semibold hover:bg-gray-100 transition-colors duration-200">
<i class="fab fa-github mr-2"></i>Contribute on GitHub
</a>
Expand Down
10 changes: 5 additions & 5 deletions themes/powershell-community/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ <h1 class="text-4xl lg:text-5xl font-bold mb-2">
{{ end }}
</div>
<h2 class="text-xl font-bold text-gray-900 mb-3">
<a href="{{ .Permalink }}" class="hover:text-purple-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-purple-600 transition-colors duration-200">
{{ .Title }}
</a>
</h2>
<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>
<div class="flex items-center space-x-4">
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="inline-flex items-center bg-purple-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-purple-700 transition-colors duration-200">
<i class="fas fa-play mr-2"></i>Listen
</a>
Expand All @@ -101,7 +101,7 @@ <h2 class="text-xl font-bold text-gray-900 mb-3">
<time>{{ .Date.Format "Jan 2, 2006" }}</time>
{{ with .Params.author }}
<span>•</span>
<span>{{ . }}</span>
<a href="{{ "/authors/" | relURL }}{{ . | urlize }}/" class="hover:text-blue-600 transition-colors duration-200">{{ . }}</a>
{{ end }}
</div>
{{ with .Params.categories }}
Expand All @@ -112,15 +112,15 @@ <h2 class="text-xl font-bold text-gray-900 mb-3">
</div>

<h2 class="text-xl font-bold text-gray-900 mb-3">
<a href="{{ .Permalink }}" class="hover:text-blue-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-blue-600 transition-colors duration-200">
{{ .Title }}
</a>
</h2>

<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>

<div class="flex items-center justify-between">
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="inline-flex items-center text-blue-600 font-medium hover:text-blue-700 transition-colors duration-200">
Read More <i class="fas fa-arrow-right ml-2"></i>
</a>
Expand Down
14 changes: 7 additions & 7 deletions themes/powershell-community/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h1 class="text-3xl lg:text-4xl font-bold text-gray-900 mb-4 leading-tight">{{ .
<div class="w-8 h-8 bg-blue-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-user text-white text-sm"></i>
</div>
<span class="font-medium">{{ . }}</span>
<a href="{{ "/authors/" | relURL }}{{ . | urlize }}/" class="font-medium hover:text-blue-600 transition-colors duration-200">{{ . }}</a>
</div>
{{ end }}
<span class="text-gray-400">•</span>
Expand Down Expand Up @@ -127,7 +127,7 @@ <h3 class="text-lg font-semibold text-gray-900 mb-3">Tags</h3>
<i class="fas fa-user text-white text-xl"></i>
</div>
<div class="flex-1">
<h3 class="text-lg font-semibold text-gray-900 mb-2">About {{ $.Params.author }}</h3>
<h3 class="text-lg font-semibold text-gray-900 mb-2">About <a href="{{ "/authors/" | relURL }}{{ $.Params.author | urlize }}/" class="hover:text-blue-600 transition-colors duration-200">{{ $.Params.author }}</a></h3>
<p class="text-gray-600">{{ . }}</p>
</div>
</div>
Expand All @@ -146,7 +146,7 @@ <h3 class="text-2xl font-bold text-gray-900 mb-6">Related Articles</h3>
<div class="p-6">
<div class="text-sm text-gray-500 mb-2">{{ .Date.Format "Jan 2, 2006" }}</div>
<h4 class="text-lg font-semibold text-gray-900 mb-3 line-clamp-2">
<a href="{{ .Permalink }}" class="hover:text-blue-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-blue-600 transition-colors duration-200">
{{ .Title }}
</a>
</h4>
Expand All @@ -157,22 +157,22 @@ <h4 class="text-lg font-semibold text-gray-900 mb-3 line-clamp-2">
</div>
</div>
{{ end }}

<!-- Navigation -->
<nav class="mt-8 pt-6 border-t border-gray-200">
<div class="flex justify-between items-center">
{{ with .PrevInSection }}
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="flex items-center text-blue-600 hover:text-blue-700 font-medium transition-colors duration-200">
<i class="fas fa-chevron-left mr-2"></i>
<span class="truncate max-w-xs">{{ .Title }}</span>
</a>
{{ else }}
<div></div>
{{ end }}

{{ with .NextInSection }}
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="flex items-center text-blue-600 hover:text-blue-700 font-medium transition-colors duration-200">
<span class="truncate max-w-xs">{{ .Title }}</span>
<i class="fas fa-chevron-right ml-2"></i>
Expand Down
12 changes: 6 additions & 6 deletions themes/powershell-community/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h3 class="text-lg font-bold text-gray-800 mb-4 flex items-center">
</div>

<div class="mt-4 pt-4 border-t border-gray-200">
<a href="https://forums.powershell.org"
<a href="{{ .Site.Params.social.forums }}"
class="text-blue-600 hover:text-blue-700 text-sm font-bold flex items-center transition-colors">
<i class="fas fa-comments mr-2"></i>
Visit Forums →
Expand Down Expand Up @@ -163,12 +163,12 @@ <h2 class="text-3xl font-bold text-gray-900 mb-2">Latest Podcast Episodes</h2>
{{ .Date.Format "Jan 2, 2006" }}
</div>
<h3 class="text-lg font-semibold text-gray-900 mb-3 line-clamp-2">
<a href="{{ .Permalink }}" class="hover:text-blue-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-blue-600 transition-colors duration-200">
{{ .Title }}
</a>
</h3>
<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="inline-flex items-center text-blue-600 font-medium hover:text-blue-700">
Listen Now <i class="fas fa-play ml-2"></i>
</a>
Expand Down Expand Up @@ -207,15 +207,15 @@ <h2 class="text-3xl font-bold text-gray-900 mb-2">Recent Articles</h2>
{{ end }}
</div>
<h3 class="text-lg font-semibold text-gray-900 mb-3 line-clamp-2">
<a href="{{ .Permalink }}" class="hover:text-blue-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-blue-600 transition-colors duration-200">
{{ .Title }}
</a>
</h3>
<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>
{{ with .Params.author }}
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-user-circle mr-2"></i>
<span>{{ . }}</span>
<a href="{{ "/authors/" | relURL }}{{ . | urlize }}/" class="hover:text-blue-600 transition-colors duration-200">{{ . }}</a>
</div>
{{ end }}
</div>
Expand Down Expand Up @@ -261,7 +261,7 @@ <h3 class="text-lg font-semibold text-gray-900 mb-2">Discord Community</h3>
</div>
<h3 class="text-lg font-semibold text-gray-900 mb-2">Forums</h3>
<p class="text-gray-600 text-sm mb-4">Ask questions and share knowledge</p>
<a href="https://forums.powershell.org" target="_blank" rel="noopener"
<a href="{{ .Site.Params.social.forums }}" target="_blank" rel="noopener"
class="text-green-600 font-medium hover:text-green-700">Browse Topics</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion themes/powershell-community/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3 class="text-lg font-semibold text-white mb-4">Quick Links</h3>
<li><a href="/summit/" class="text-gray-400 hover:text-white transition-colors duration-200">Summit</a></li>
<li><a href="/learning/" class="text-gray-400 hover:text-white transition-colors duration-200">Learning Resources</a></li>
<li><a href="/community/" class="text-gray-400 hover:text-white transition-colors duration-200">Community</a></li>
<li><a href="https://forums.powershell.org" target="_blank" rel="noopener" class="text-gray-400 hover:text-white transition-colors duration-200">Forums</a></li>
<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>
</ul>
</div>

Expand Down
4 changes: 2 additions & 2 deletions themes/powershell-community/layouts/podcast/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ <h1 class="text-4xl lg:text-5xl font-bold mb-2">{{ .Site.Params.podcast.title }}
{{ end }}
</div>
<h2 class="text-xl lg:text-2xl font-bold text-gray-900 mb-3">
<a href="{{ .Permalink }}" class="hover:text-purple-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-purple-600 transition-colors duration-200">
{{ .Title }}
</a>
</h2>
<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>
<div class="flex flex-wrap items-center gap-4">
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="inline-flex items-center bg-purple-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-purple-700 transition-colors duration-200">
<i class="fas fa-play mr-2"></i>Listen Now
</a>
Expand Down
8 changes: 4 additions & 4 deletions themes/powershell-community/layouts/taxonomy/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ <h2 class="text-3xl font-bold text-gray-900">{{ .Title }}</h2>
{{ end }}
</div>
<h2 class="text-xl lg:text-2xl font-bold text-gray-900 mb-3">
<a href="{{ .Permalink }}" class="hover:text-purple-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-purple-600 transition-colors duration-200">
{{ .Title }}
</a>
</h2>
<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>
<div class="flex flex-wrap items-center gap-4">
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="inline-flex items-center bg-purple-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-purple-700 transition-colors duration-200">
<i class="fas fa-play mr-2"></i>Listen to Episode
</a>
Expand All @@ -104,13 +104,13 @@ <h2 class="text-xl lg:text-2xl font-bold text-gray-900 mb-3">
{{ end }}
</div>
<h2 class="text-xl lg:text-2xl font-bold text-gray-900 mb-3">
<a href="{{ .Permalink }}" class="hover:text-blue-600 transition-colors duration-200">
<a href="{{ .RelPermalink }}" class="hover:text-blue-600 transition-colors duration-200">
{{ .Title }}
</a>
</h2>
<p class="text-gray-600 mb-4 line-clamp-3">{{ .Summary }}</p>
<div class="flex flex-wrap items-center gap-4">
<a href="{{ .Permalink }}"
<a href="{{ .RelPermalink }}"
class="inline-flex items-center bg-blue-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-blue-700 transition-colors duration-200">
<i class="fas fa-book mr-2"></i>Read Article
</a>
Expand Down
Loading