You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
427 B
18 lines
427 B
5 years ago
|
{{ $_hugo_config := `{ "version": 1 }` }}
|
||
|
{{ $site := .Site }}
|
||
|
{{ range (split (.Get "types") ",") }}
|
||
|
<section class="members">
|
||
|
{{ $typeLabel := (split . "=") }}
|
||
|
{{ $type := (index $typeLabel 0) }}
|
||
|
{{ $label := (index $typeLabel 1) }}
|
||
|
|
||
|
<h2>{{ $label }}</h2>
|
||
|
|
||
|
<ul class="members shuffle">
|
||
|
{{ range where $site.AllPages "Params.type" $type }}
|
||
|
<li>{{ partial "team.html" . }}</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</section>
|
||
|
{{ end }}
|