38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
|
{{ define "main" }}
|
||
|
<div class="content">
|
||
|
<article>
|
||
|
<div class="title">
|
||
|
<h1 class="content-title">{{ .Title }}</h1>
|
||
|
<div class="divider"></div>
|
||
|
</div>
|
||
|
{{.Content}}
|
||
|
</article>
|
||
|
<div class="team-list">
|
||
|
{{ range .Pages.ByDate }}
|
||
|
<a href="{{.Permalink}}">
|
||
|
<div class="teammember">
|
||
|
{{ if .Params.image }}
|
||
|
<img class="avatar" src="{{ .Params.image }}" alt="Avatar">
|
||
|
{{ else }}
|
||
|
<img class="avatar" src="{{ $.Site.Params.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>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ end }}
|