Skip to content

Commit 174ad59

Browse files
Sort user groups alphabetically
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 475cf9a commit 174ad59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • themes/powershell-community/layouts/user-groups

‎themes/powershell-community/layouts/user-groups/list.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1 class="text-4xl lg:text-5xl font-bold mb-2">{{ .Title }}</h1>
2020
<div class="prose prose-lg max-w-3xl mx-auto text-center mb-10">{{ . }}</div>
2121
{{ end }}
2222

23-
{{ $groups := .Pages.ByTitle }}
23+
{{ $groups := sort .RegularPages "Title" "asc" }}
2424
{{ if $groups }}
2525
<!-- User Group Grid -->
2626
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">

0 commit comments

Comments
 (0)