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

github.com/tylerjlawson/simple-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..d7f5dfd
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,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>