2021-03-03 16:29:15 +01:00
|
|
|
<div class="title">
|
|
|
|
{{ with .Data.features.about }}
|
|
|
|
<h1 class="name">{{ .name }}</h1>
|
|
|
|
{{ if $.Header.tagline }}<h2 class="tagline">{{ .tagline }}</h2>{{end}}
|
2021-03-04 00:27:21 +01:00
|
|
|
{{ if $.Header.contact -}}
|
|
|
|
<span class="contact">
|
|
|
|
{{- with .phone -}}
|
|
|
|
{{- if $.useFontAwesome }}<i class="fas fa-phone-square-alt"></i> {{ end -}}
|
|
|
|
{{- . -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if and .phone .email }} | {{ end -}}
|
|
|
|
{{- with .email -}}
|
2022-04-10 12:42:30 +02:00
|
|
|
<a href="mailto:{{- . -}}" class="no-external-icon">
|
|
|
|
{{- if $.useFontAwesome }}<i class="fas fa-envelope"></i> {{ end -}}
|
|
|
|
{{- . -}}
|
|
|
|
</a>
|
2021-03-04 00:27:21 +01:00
|
|
|
{{- end -}}
|
|
|
|
</span>
|
|
|
|
{{- end }}
|
|
|
|
{{ if $.Header.links -}}
|
|
|
|
<span class="contact-links">
|
|
|
|
{{- $last := sub (len .links) 1 -}}
|
|
|
|
{{- range $i, $e := .links -}}
|
|
|
|
<a href="{{ $e.url }}" class="no-external-icon">
|
|
|
|
{{- if and $e.icon $.useFontAwesome }}<i class="{{ $e.icon }}"></i> {{ end -}}
|
|
|
|
{{- $e.title -}}
|
|
|
|
</a>
|
|
|
|
{{- if ne $i $last }} | {{ end -}}
|
|
|
|
{{- end -}}
|
|
|
|
</span>
|
2021-03-03 16:29:15 +01:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2020-09-01 00:03:58 +02:00
|
|
|
</div>
|
2021-03-03 16:29:15 +01:00
|
|
|
{{ if .Header.avatar }}
|
|
|
|
<div><img class="avatar right" src="{{ .Header.avatar }}"></div>
|
|
|
|
{{ end }}
|