Files
Andre Beging 3ad32d10b5 init
2020-03-05 16:54:34 +01:00

58 lines
1.9 KiB
HTML

{{ "<!-- Team Section -->" | safeHTML }}
<section id="team" class="bg-light-gray">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading">{{ with .Site.Params.team.title }}{{ . | markdownify }}{{ end }}</h2>
<h3 class="section-subheading text-mutedwith ">{{ with .Site.Params.team.subtitle }}{{ . | markdownify }}{{ end }}</h3>
</div>
</div>
<div class="row flexbox{{ if .Site.Params.team.center }} flexbox-center{{ end }}">
{{ range .Site.Params.team.members }}
<div class="col-sm-4 col">
<div class="team-member">
{{ $url := printf "img/team/%s" .img }}
<img src="{{ $url | absURL }}" class="img-responsive img-circle" alt="{{ .name }}">
<h3>{{ .name | markdownify }}</h3>
{{ with .position }}
<h4>{{ . | markdownify }}</h4>
{{ end }}
{{ with .reportsTo }}
<h5 class="report">Reports to {{ . | markdownify }}</h5>
{{ end }}
{{ with .livesIn }}
<h5>Lives in {{ . | markdownify }}</h5>
{{ end }}
{{ with .scope }}
<ul>
{{ range . }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
{{ end }}
<ul class="list-inline social-buttons">
{{ range .social }}
<li><a href="{{ index . 1 }}"><i class="fa {{ index . 0 }}"></i></a></li>
{{ end }}
</ul>
{{ with .bio }}
<p class="team-bio">{{ . | markdownify }}</p>
{{ end }}
</div>
</div>
{{ end }}
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<p class="large text-muted">{{ with .Site.Params.team.description }}{{ . | markdownify }}{{ end }}</p>
</div>
</div>
</div>
</section>