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

header.html « partials « layouts - github.com/tylerjlawson/simple-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d7f5dfdda45062bea77fb16fbc3411b9de2ae159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<header>
  <div class="page-title">
    <h1>{{ .name }}</h1>
    <div class="address">{{ .address }}</div>
  </div>
  <div>
    {{ with .email }}
    <a href="mailto:{{ . }}">{{ . }}</a>
    {{ end }}
    {{ with .phone }}
    <a href="tel:{{ . }}">({{substr . 0 3}}) {{substr . 3 3}}-{{substr . 6 4}}</a>
    {{ end }}
    {{ with .website}}
    <a href="https://{{ . }}">{{ . }}</a>
    {{ end }}
    {{ with .github }}
    <a href="https://github.com/{{ . }}"
      ><i class="fab fa-github"></i> {{ . }}</a
    >
    {{ end }}
  </div>
</header>