Welcome to mirror list, hosted at ThFree Co, Russian Federation.

header.html « partials « layouts - gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2ddd55d4a1e64ed62b840aeb667a538f19be7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<div class="title">
	{{ with .Data.features.about }}
		<h1 class="name">{{ .name }}</h1>
		{{ if $.Header.tagline }}<h2 class="tagline">{{ .tagline }}</h2>{{end}}
		{{ 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 -}}
					<a href="mailto:{{- . -}}" class="no-external-icon">
						{{- if $.useFontAwesome }}<i class="fas fa-envelope"></i> {{ end -}}
						{{- . -}}
					</a>
				{{- 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>
		{{ end }}
	{{ end }}
</div>
{{ if .Header.avatar }}
<div><img class="avatar right" src="{{ .Header.avatar }}"></div>
{{ end }}