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: 307bc5bbb1a49351b9ce57743a4989ab53596945 (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
<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>