Welcome to mirror list, hosted at ThFree Co, Russian Federation.

teams.html « shortcodes « layouts - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4bd2753da0e2bae88288cc01ccb5f5b69f93da7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ $_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 }}