2022-03-19 22:54:55 +00:00
|
|
|
{{- $team := .team }}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{- $pages := .pages}}
|
|
|
|
{{- $defaultimage := .defaultimage}}
|
2022-03-19 22:54:55 +00:00
|
|
|
{{- $odd := .odd }}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{- $id := "team"}}
|
|
|
|
{{if $team.id}}
|
|
|
|
{{- $id := $team.id}}
|
|
|
|
{{else if .id}}
|
|
|
|
{{- $id := .id }}
|
|
|
|
{{end}}
|
|
|
|
<div id="{{ $id }}" class="section {{if eq $odd 0}} section-even {{end}}">
|
2021-02-25 21:23:58 +00:00
|
|
|
<div class="section-content team">
|
|
|
|
<div class="title">
|
|
|
|
<h1 class="content-title">{{ $team.title }}</h1>
|
|
|
|
<div class="divider"></div>
|
|
|
|
</div>
|
2022-06-27 14:09:44 +00:00
|
|
|
<div class="team-list">
|
|
|
|
{{- range first 4 $pages.ByDate }}
|
|
|
|
<a href="{{.Permalink}}">
|
|
|
|
<div class="teammember">
|
|
|
|
{{ if .Params.image }}
|
|
|
|
<img class="avatar" src="{{ .Params.image }}" alt="Avatar">
|
|
|
|
{{ else }}
|
|
|
|
<img class="avatar" src="{{ $defaultimage }}" alt="Avatar">
|
|
|
|
{{ end }}
|
|
|
|
<h1 class="teammember-title">{{ .Params.name }}</h1>
|
|
|
|
{{- range .Params.jobs }}
|
|
|
|
<p>{{ . }}</p>
|
|
|
|
{{- end }}
|
|
|
|
<div class="social-media">
|
|
|
|
<span>
|
|
|
|
{{- range .Params.social}}
|
|
|
|
<a href="{{ .url }}"><i class="fab fa-{{ .type }}"></i></a>
|
|
|
|
{{- end}}
|
|
|
|
{{if .Params.mail}}
|
|
|
|
<a href="mailto:{{ .Params.mail }}"><i class="fas fa-at"></i></a>
|
|
|
|
{{end}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
2021-02-25 21:23:58 +00:00
|
|
|
{{- end }}
|
|
|
|
</div>
|
2022-06-27 14:09:44 +00:00
|
|
|
<div class="more-button"><a href="{{ $team.id }}"> {{ $team.moretext }} </a></div>
|
2021-02-25 21:23:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|