Initial Commit
This commit is contained in:
parent
bdbb15e52e
commit
c20d262f7c
26 changed files with 1006 additions and 0 deletions
35
layouts/partials/team.html
Normal file
35
layouts/partials/team.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
{{- $team := .Site.Params.team }}
|
||||
{{ $length := len $team.members }}
|
||||
{{- $services := .Site.Params.services }}
|
||||
{{ $servicesLength := len $services }}
|
||||
{{ $odd := mod $servicesLength 2}}
|
||||
<div id="team" class="section {{if eq $odd 0}} section-even {{end}}">
|
||||
<div class="section-content team">
|
||||
<div class="title">
|
||||
<h1 class="content-title">{{ $team.title }}</h1>
|
||||
<div class="divider"></div>
|
||||
</div>
|
||||
{{- range first 3 $team.members }}
|
||||
<div class="teammember">
|
||||
<img class="avatar" src="{{ .image }}" alt="Avatar">
|
||||
<h1 class="teammember-title">{{ .name }}</h1>
|
||||
{{- range .jobs }}
|
||||
<p>{{ . }}</p>
|
||||
{{- end }}
|
||||
<div class="social-media">
|
||||
<span>
|
||||
{{- range .social}}
|
||||
<a href="{{ .url }}"><i class="fab fa-{{ .type }}"></i></a>
|
||||
{{- end}}
|
||||
{{if .mail}}
|
||||
<a href="mailto:{{ .mail }}"><i class="fas fa-at"></i></a>
|
||||
{{end}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{if gt $length 3}}
|
||||
<div><a href="#"> > Weitere Teammitglieder < </a></div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue