Split project members into current and former #29
5 changed files with 142 additions and 2 deletions
|
|
@ -15,5 +15,3 @@ as:
|
||||||
- [Scientific Advisory Board]({{< relref "/roles/sab-member" >}})
|
- [Scientific Advisory Board]({{< relref "/roles/sab-member" >}})
|
||||||
- [Equal Opportunity Committee]({{< relref "/roles/eoc-member" >}})
|
- [Equal Opportunity Committee]({{< relref "/roles/eoc-member" >}})
|
||||||
- [Citizen Advisory Board]({{< relref "/roles/cab-member" >}})
|
- [Citizen Advisory Board]({{< relref "/roles/cab-member" >}})
|
||||||
|
|
||||||
The following individuals are contributing to this effort.
|
|
||||||
|
|
|
||||||
4
i18n/de.toml
Normal file
4
i18n/de.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
contributors = "Beitragende"
|
||||||
|
contributors_long = "Die folgenden Personen leisten einen Beitrag zu diesem Projekt."
|
||||||
|
past_contributors = "ehemalige Beitragende"
|
||||||
|
past_contributors_long = "Die folgenden Personen haben früher zu diesem Projekt beigetragen."
|
||||||
4
i18n/en.toml
Normal file
4
i18n/en.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
contributors = "contributors"
|
||||||
|
contributors_long = "The following individuals are contributing to this effort."
|
||||||
|
past_contributors = "past contributors"
|
||||||
|
past_contributors_long = "The following individuals contributed to this effort previously."
|
||||||
62
layouts/_default/project.html
Normal file
62
layouts/_default/project.html
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<header>
|
||||||
|
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
|
||||||
|
{{ partial "breadcrumbs.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title }}</h1>
|
||||||
|
</header>
|
||||||
|
{{ if .Content }}
|
||||||
|
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
||||||
|
<div class="min-h-0 min-w-0 grow">
|
||||||
|
{{ .Content | emojify }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<section>
|
||||||
|
{{ $cc := slice }}
|
||||||
|
{{ $pc := slice }}
|
||||||
|
{{ range .Params.current_contributors }}{{ with $.Site.GetPage . }}{{ $cc = $cc | append . }}{{ end }}{{ end }}
|
||||||
|
{{ range .Params.past_contributors }}{{ with $.Site.GetPage . }}{{ $pc = $pc | append . }}{{ end }}{{ end }}
|
||||||
|
{{ if $cc }}
|
||||||
|
<h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutral-300">{{ T "contributors" | title }}</h2>
|
||||||
|
<hr class="w-36 border-dotted border-neutral-400" />
|
||||||
|
{{ range $cc.ByParam "sortkey" }}
|
||||||
|
{{ partial "article-link.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if $pc }}
|
||||||
|
<h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutral-300">{{ T "past_contributors" | title }}</h2>
|
||||||
|
<hr class="w-36 border-dotted border-neutral-400" />
|
||||||
|
{{ range $pc.ByParam "sortkey" }}
|
||||||
|
{{ partial "article-link.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
{{ $taxPages := where .Pages "Section" "ne" "contributors" }}
|
||||||
|
{{ if $taxPages }}
|
||||||
|
<section>
|
||||||
|
{{ $groupedPages := $taxPages.GroupBy "Type" }}
|
||||||
|
{{ range (.Paginate $groupedPages).PageGroups }}
|
||||||
|
<h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutral-300">
|
||||||
|
{{ .Key | title }}
|
||||||
|
</h2>
|
||||||
|
<hr class="w-36 border-dotted border-neutral-400" />
|
||||||
|
<section>
|
||||||
|
{{ range .Pages.ByParam "sortkey" }}
|
||||||
|
{{ partial "article-link.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
{{ else }}
|
||||||
|
<section class="prose mt-10 dark:prose-invert">
|
||||||
|
<p class="border-t py-8">
|
||||||
|
<em>{{ i18n "list.no_articles" | emojify }}</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
72
layouts/contributors/taxonomy.html
Normal file
72
layouts/contributors/taxonomy.html
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<header>
|
||||||
|
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
|
||||||
|
{{ partial "breadcrumbs.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title }}</h1>
|
||||||
|
</header>
|
||||||
|
{{ if .Content }}
|
||||||
|
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
||||||
|
<div class="min-h-0 min-w-0 max-w-prose grow">
|
||||||
|
{{ .Content | emojify }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
{{ $showInactive := false }}
|
||||||
|
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
||||||
|
<div class="min-h-0 min-w-0 max-w-prose grow">
|
||||||
|
{{ T "contributors_long" }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="-mx-2 flex flex-wrap overflow-hidden">
|
||||||
|
{{ range .Data.Terms }}
|
||||||
|
{{ if (and (isset .Page.Params "active") (not .Page.Params.active)) }}
|
||||||
|
{{/* explicit active=false -> skip & show later */}}
|
||||||
|
{{ $showInactive = true }}
|
||||||
|
{{ else }}
|
||||||
|
<article class="my-3 w-full overflow-hidden px-2 sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/5">
|
||||||
|
<h2 class="flex items-center">
|
||||||
|
<a
|
||||||
|
class="text-xl font-medium decoration-primary-500 hover:underline hover:underline-offset-2"
|
||||||
|
href="{{ .Page.Permalink }}"
|
||||||
|
>{{ .Page.Title }}</a>
|
||||||
|
{{ if $.Site.Params.taxonomy.showTermCount | default true }}
|
||||||
|
<span class="px-2 text-base text-primary-500">·</span>
|
||||||
|
<span class="text-base text-neutral-400">
|
||||||
|
{{ .Count }}
|
||||||
|
</span>
|
||||||
|
{{ end }}
|
||||||
|
</h2>
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{{ if $showInactive }}
|
||||||
|
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
|
||||||
|
<div class="min-h-0 min-w-0 max-w-prose grow">
|
||||||
|
{{ T "past_contributors_long" }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="-mx-2 flex flex-wrap overflow-hidden">
|
||||||
|
{{ range .Data.Terms }}
|
||||||
|
{{ if (and (isset .Page.Params "active") (not .Page.Params.active)) }}
|
||||||
|
<article class="my-3 w-full overflow-hidden px-2 sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/5">
|
||||||
|
<h2 class="flex items-center">
|
||||||
|
<a
|
||||||
|
class="text-xl font-medium decoration-primary-500 hover:underline hover:underline-offset-2"
|
||||||
|
href="{{ .Page.Permalink }}"
|
||||||
|
>{{ .Page.Title }}</a>
|
||||||
|
{{ if $.Site.Params.taxonomy.showTermCount | default true }}
|
||||||
|
<span class="px-2 text-base text-primary-500">·</span>
|
||||||
|
<span class="text-base text-neutral-400">
|
||||||
|
{{ .Count }}
|
||||||
|
</span>
|
||||||
|
{{ end }}
|
||||||
|
</h2>
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue