File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ <h2 class="text-3xl font-semibold mb-8 text-center lg:text-left">Contributions</
43
43
{{ $initiatives := sort $initiatives_unsorted "Title" }}
44
44
{{ if $initiatives }}
45
45
< div class ="mb-12 ">
46
- < h3 class ="text-2xl font-semibold mb-5 border-b-2 border-primary dark:border-darkmode-primary pb-2 "> Initiatives Led </ h3 >
46
+ < h3 class ="text-2xl font-semibold mb-5 border-b-2 border-primary dark:border-darkmode-primary pb-2 "> Initiatives</ h3 >
47
47
< div class ="grid md:grid-cols-2 gap-6 ">
48
48
{{ range $initiatives }}
49
49
< div >
Original file line number Diff line number Diff line change @@ -7,7 +7,14 @@ <h3 class="text-2xl font-semibold mb-2">
7
7
</ h3 >
8
8
{{ if $item.Params.author }}
9
9
< p class ="text-sm text-gray-600 dark:text-gray-400 mb-2 ">
10
- Led by: {{ partial "components/author-links.html" $item }}
10
+ {{ $label := "Contributor" }}
11
+ {{ if gt (len $item.Params.author) 1 }}
12
+ {{ $label = "Contributors" }}
13
+ {{ end }}
14
+ {{ with $item.Params.author_label }}
15
+ {{ $label = . }}
16
+ {{ end }}
17
+ {{ $label }}: {{ partial "components/author-links.html" $item }}
11
18
</ p >
12
19
{{ end }}
13
20
< p class ="mb-3 text-text dark:text-darkmode-text flex-grow "> {{ $item.Description | truncate 150 }}</ p >
You can’t perform that action at this time.
0 commit comments