-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.go.tmpl
85 lines (85 loc) · 2.67 KB
/
template.go.tmpl
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Resume</title>
</head>
<body>
<article class="markdown-body">
<h1>{{ .Author }}</h1>
<header>
<p>{{ .Location }}</p>
<section>
<a href="tel:{{ .Phone }}">{{ .Phone }}</a>
<a href="mailto:{{ .Email }}">{{ .Email }}</a>
<a href="https://{{ .Website }}">{{ .Website }}</a>
{{ with .Socials }}
<a href="https://github.com/{{ .Github }}">github.com/{{ .Github }}</a>
<a href="https://www.linkedin.com/in/{{ .Linkedin }}"
>linkedin.com/in/{{ .Linkedin }}</a
>
{{ end }}
</section>
</header>
<hr />
<h2 id="profile">Profile</h2>
<p>{{ .Profile }}</p>
<h2 id="education">Education</h2>
{{ with .Education }}
<div class="xp-h"><span>{{ .School }}</span><span>{{ .Location }}</span></div>
<div class="xp-s">
<span>{{ .Program }} in {{ .Major }}</span
><span>Graduation: {{ .End }}</span>
</div>
<p>
<strong>Notable Courses</strong>: {{ join .Courses ", " }}
</p>
{{ end }}
<h2 id="experience">Experience</h2>
{{ range .Experiences }}{{ if .Summarize.Bool }}
<p>
<strong class="bold">{{ .Name }}</strong> (<em
>{{ .Role }}, {{ .Start }}-{{ .End }}</em
>) {{ .Description }}
<strong>[{{ join .Skills ", " }}]</strong>
</p>
{{ else }}
<div class="xp-h"><span>{{ .Name }}</span><span>{{ .Location }}</span></div>
<div class="xp-s">
<span>{{ .Role }}</span><span>{{ .Start }} - {{ .End }}</span>
</div>
<ul>
{{ range .Attributes }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}{{ end }}
<h2 id="projects">Projects</h2>
{{ range .Projects }}{{ if .Summarize.Bool }}
<p>
<strong>{{ .Name }}</strong> (<a href="https://{{ .Url }}">{{ .Url }}</a>) {{ .Description }} <strong>[{{ join .Skills ", " }}]</strong>
</p>
{{ else }}
<div class="xp-h">
<span>{{ .Name }}</span
><span><a href="https://{{ .Url }}">{{ .Url }}</a></span>
</div>
<div class="xp-s">
<span>{{ .Role }}</span><span>{{ .Start }} - {{ .End }}</span>
</div>
<ul>
{{ range .Attributes }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}{{ end }}
<h2 id="skills">Skills</h2>
<p>
{{ range .Skills }}
<strong>{{ .Name }}</strong>: {{ join .Attributes ", " }}<br />
{{ end }}
</p>
</article>
</body>
</html>