Skip to content

Commit 1d99d58

Browse files
committed
updates
1 parent 5d47160 commit 1d99d58

10 files changed

Lines changed: 36 additions & 11 deletions

File tree

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656
"Bash(hugo --quiet)",
5757
"Bash(head -5 /c/scripts/PowerShellOrgWebsite/content/articles/*.md)",
5858
"Bash(head -5 /c/scripts/PowerShellOrgWebsite/content/podcast/*.md)",
59-
"Bash(grep:*)"
59+
"Bash(grep:*)",
60+
"Bash(hugo --printPathWarnings)",
61+
"Bash(hugo --templateMetrics)",
62+
"Bash(hugo)"
6063
]
6164
}
6265
}

content/code-of-conduct/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
title: "Code of Conduct"
33
description: "PowerShell.org community and event code of conduct."
4-
layout: "page"
4+
layout: "staticpage"
55
---
66

7-
# PowerShellOrg Code of Conduct
8-
97
PowerShellOrg has adopted the Contributor Covenant version 3.0 as our Code of
108
Conduct. The full text follows, with PowerShellOrg-specific reporting and
119
enforcement details filled in.

content/community-awards/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "PowerShell Community Awards"
33
description: "Recognizing outstanding contributions to the PowerShell community."
4-
layout: "page"
4+
layout: "staticpage"
55
---
66

77
The DevOps Collective has established a set of three awards to recognize and honor the contributions of community members who have gone above and beyond in their efforts to support and promote the PowerShell community. The awards are presented at the annual PowerShell + DevOps Global Summit. It is hoped that these awards will motivate and inspire members of the PowerShell community.

content/contact/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Contact Us"
33
description: "Get in touch with the PowerShell.org community team."
4-
layout: "page"
4+
layout: "staticpage"
55
---
66

77
## Get in Touch

content/contributing/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Contributing"
33
description: "How to contribute to PowerShell.org - blogging, ebooks, forums, and more."
4-
layout: "page"
4+
layout: "staticpage"
55
---
66

77
You're not only welcome to contribute to PowerShell.org, everyone who helps runs it, and everyone who visits, would deeply appreciate it. This is an all-volunteer situation, so we only get as much help, assistance, and education as we're all willing to provide each other. It doesn't need to be a proud, elite few doing all the work - *everyone* has something valuable to offer.

content/privacy/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Privacy Policy"
33
description: "PowerShell.org privacy policy and data handling practices."
4-
layout: "page"
4+
layout: "staticpage"
55
---
66

77
## Who We Are

content/terms/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Terms of Use"
33
description: "Terms and conditions for using PowerShell.org website and services."
4-
layout: "page"
4+
layout: "staticpage"
55
---
66

77
## Terms of Use

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,30 @@
4242

4343
<!-- Custom CSS -->
4444
<style>
45+
/* Prose typography styles (Tailwind CDN doesn't include @tailwindcss/typography) */
46+
.prose { color: #374151; line-height: 1.75; }
47+
.prose h2 { font-size: 1.5em; font-weight: 700; color: #111827; margin-top: 2em; margin-bottom: 1em; line-height: 1.33; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.3em; }
48+
.prose h3 { font-size: 1.25em; font-weight: 600; color: #111827; margin-top: 1.6em; margin-bottom: 0.6em; line-height: 1.6; }
49+
.prose h4 { font-size: 1em; font-weight: 600; color: #111827; margin-top: 1.5em; margin-bottom: 0.5em; }
50+
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
51+
.prose ul { list-style-type: disc; padding-left: 1.625em; margin-top: 1.25em; margin-bottom: 1.25em; }
52+
.prose ol { list-style-type: decimal; padding-left: 1.625em; margin-top: 1.25em; margin-bottom: 1.25em; }
53+
.prose li { margin-top: 0.5em; margin-bottom: 0.5em; }
54+
.prose a { color: #2563eb; text-decoration: underline; }
55+
.prose a:hover { color: #1d4ed8; }
56+
.prose strong { font-weight: 700; color: #111827; }
57+
.prose em { font-style: italic; }
58+
.prose blockquote { border-left: 4px solid #e5e7eb; padding-left: 1em; color: #6b7280; font-style: italic; margin-top: 1.6em; margin-bottom: 1.6em; }
59+
.prose code { color: #7c3aed; background-color: #f5f3ff; padding: 0.125em 0.25em; border-radius: 0.25rem; font-size: 0.875em; font-weight: 500; }
60+
.prose pre { background-color: #111827; color: #e5e7eb; padding: 1em 1.5em; border-radius: 0.5rem; overflow-x: auto; margin-top: 1.75em; margin-bottom: 1.75em; }
61+
.prose pre code { background: none; color: inherit; padding: 0; font-size: 0.875em; font-weight: 400; }
62+
.prose hr { border-color: #e5e7eb; margin-top: 3em; margin-bottom: 3em; }
63+
.prose table { width: 100%; border-collapse: collapse; margin-top: 2em; margin-bottom: 2em; }
64+
.prose th { font-weight: 600; border-bottom: 2px solid #d1d5db; padding: 0.5em 0.75em; text-align: left; }
65+
.prose td { border-bottom: 1px solid #e5e7eb; padding: 0.5em 0.75em; }
66+
.prose img { margin-top: 2em; margin-bottom: 2em; border-radius: 0.5rem; }
67+
.prose > :first-child { margin-top: 0; }
68+
4569
.powershell-blue {
4670
background: linear-gradient(135deg, #0078D4 0%, #00BCF2 100%);
4771
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h3 class="font-semibold text-gray-900">Listen to this Episode</h3>
9999
{{ end }}
100100

101101
<!-- Article Content -->
102-
<div class="prose prose-lg max-w-none prose-blue prose-headings:font-bold prose-headings:text-gray-900 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-strong:text-gray-900 prose-code:text-purple-600 prose-code:bg-purple-50 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:font-medium prose-pre:bg-gray-900 prose-pre:text-gray-100">
102+
<div class="prose" style="max-width: none; font-size: 1.125rem;">
103103
{{ .Content }}
104104
</div>
105105

themes/powershell-community/layouts/_default/page.html renamed to themes/powershell-community/layouts/_default/staticpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1 class="text-4xl lg:text-5xl font-bold mb-2">
1616
<section class="py-10 bg-gray-50">
1717
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
1818
<div class="bg-white rounded-xl shadow-md p-8 lg:p-12">
19-
<div class="prose prose-lg max-w-none prose-blue prose-headings:font-bold prose-headings:text-gray-900 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-strong:text-gray-900 prose-code:text-purple-600 prose-code:bg-purple-50 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:font-medium prose-pre:bg-gray-900 prose-pre:text-gray-100">
19+
<div class="prose" style="max-width: none; font-size: 1.125rem;">
2020
{{ .Content }}
2121
</div>
2222
</div>

0 commit comments

Comments
 (0)