-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_template.html
329 lines (304 loc) · 13 KB
/
index_template.html
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Site Info -->
<title>{{ name }} - Portfolio</title>
<meta name="description" content="{{ name }} - {{ summary }}">
<meta name="author" content="{{ name }}">
<!-- Open Graph Tags: The title of the page for social media sharing. It can match the title tag or be more descriptive. -->
<meta property="og:title" content="{{ name }}">
<!-- Open Graph Tags: Typically set to "website" for static sites or "article" for content-heavy pages. -->
<meta property="og:type" content="website">
<!-- Open Graph Tags: The URL of the page, used to ensure link previews resolve to the correct page. -->
<meta property="og:url" content="{{ url }}">
<!-- Open Graph Tags: URL of an image that represents the page. Useful for link previews. -->
<meta property="og:image" content="{{ base_url }}/{{ image_path }}">
<!-- Open Graph Tags: Provides an alternative text for the image to improve accessibility. -->
<meta property="og:image:alt" content="{{ name }} Profile Image">
<!-- Preconnect for Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Custom Font -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"
rel="stylesheet">
<!-- Stylesheet -->
<link rel="stylesheet" href="css/modern_normalize.css" />
<link rel="stylesheet" href="css/html5bp.css">
<link rel="stylesheet" href="css/main.css">
<!-- Set a theme color that matches your website's primary color -->
<meta name="theme-color" content="#fafafa">
<!-- Favicon for all browsers -->
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<!-- Apple touch icon for iOS devices -->
<link rel="apple-touch-icon" sizes="180x180" href="/icon.png">
<!-- Web app manifest for Progressive Web Apps -->
<link rel="manifest" href="/site.webmanifest">
<!-- Content Security Policy: Uncomment to enhance security by restricting where content can be loaded from (useful for preventing certain attacks like XSS). Update if adding external sources (e.g., Google Fonts, Bootstrap CDN, analytics, etc). -->
<!-- <meta http-equiv="Content-Security-Policy" content=" default-src 'self'; script-src 'self' code.jquery.com; style-src 'self' fonts.googleapis.com; font-src fonts.gstatic.com; img-src 'self' images.examplecdn.com; "> -->
</head>
<body>
<header class="page-header">
<div class="container">
<div class="header-top flex-responsive">
{% if image_path %}
<img class="header-image"
width="256"
height="256"
src="{{ image_path }}"
alt="{{ name }} Profile Image" />
{% endif %}
<div class="header-info">
<h1>{{ name }}</h1>
{% if label %}<h2 class="header-label">{{ label }}</h2>{% endif %}
{% if contact.email or contact.phone or contact.location %}
<address>
<ul class="inline-list flex-responsive">
{% if contact.email %}
<li>
<a href="mailto:{{ contact.email }}">{{ contact.email }}</a>
</li>
{% endif %}
{% if contact.phone %}
<li>
<a href="tel:+{{ contact.phone | replace('-', '') }}">{{ contact.phone }}</a>
</li>
{% endif %}
{% if contact.location %}<li>{{ contact.location }}</li>{% endif %}
</ul>
</address>
{% endif %}
{% if social_links %}
<ul class="inline-list flex-responsive">
{% for link in social_links %}
<li>
<a href="{{ link.url }}"
rel="noopener noreferrer"
aria-label="{{ link.label }}"
class="link-with-icon">
{% if link.svg_data %}{{ link.svg_data | safe }}{% endif %}
{{ link.label }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if summary %}<p class="header-summary">{{ summary }}</p>{% endif %}
</div>
</div>
</div>
</header>
<div class="page-content">
<div class="container">
<main>
{% if work_experience %}
<section>
<h2 class="section-heading">Work Experience</h2>
{% for job in work_experience %}
<section>
<h3>
{% if job.url %}
{{ job.position }} at <a href="{{ job.url }}">{{ job.company }}</a>
{% else %}
{{ job.position }} at {{ job.company }}
{% endif %}
</h3>
{% if job.start_date and job.end_date %}
<p class="section-label">{{ job.start_date }} - {{ job.end_date }}</p>
{% endif %}
{% if job.summary %}<p>{{ job.summary }}</p>{% endif %}
{% if job.highlights %}
<ul>
{% for highlight in job.highlights %}<li>{{ highlight }}</li>{% endfor %}
</ul>
{% endif %}
</section>
{% endfor %}
</section>
{% endif %}
{% if projects %}
<section>
<h2 class="section-heading">Projects</h2>
{% for project in projects %}
<section>
<h3>
{% if project.url %}
<a href="{{ project.url }}">{{ project.title }}</a>
{% else %}
{{ project.title }}
{% endif %}
</h3>
{% if project.summary %}<p>{{ project.summary }}</p>{% endif %}
{% if project.highlights %}
<ul>
{% for highlight in project.highlights %}<li>{{ highlight }}</li>{% endfor %}
</ul>
{% endif %}
{% if project.images %}
<div class="gallery main-gallery">
{% for img in project.images %}
<figure>
<img width="600"
height="338"
src="{{ img.img_path }}"
alt="{{ img.caption }}">
<figcaption>{{ img.caption }}</figcaption>
</figure>
{% endfor %}
</div>
{% endif %}
</section>
{% endfor %}
</section>
{% endif %}
{% if volunteer_experience %}
<section>
<h2 class="section-heading">Volunteer Experience</h2>
{% for vol in volunteer_experience %}
<section>
<h3>
{% if vol.url %}
{{ vol.position }} at <a href="{{ vol.url }}">{{ vol.organization }}</a>
{% else %}
{{ vol.position }} at {{ vol.organization }}
{% endif %}
</h3>
{% if vol.start_date and vol.end_date %}
<p class="section-label">{{ vol.start_date }} - {{ vol.end_date }}</p>
{% endif %}
{% if vol.summary %}<p>{{ vol.summary }}</p>{% endif %}
{% if vol.highlights %}
<ul>
{% for highlight in vol.highlights %}<li>{{ highlight }}</li>{% endfor %}
</ul>
{% endif %}
</section>
{% endfor %}
</section>
{% endif %}
{% if references %}
<section>
<h2 class="section-heading">References</h2>
{% for ref in references %}
<section>
{% if ref.name %}<h3>{{ ref.name }}</h3>{% endif %}
{% if ref.relation %}<p class="section-label">{{ ref.relation }}</p>{% endif %}
{% if ref.reference %}
<blockquote>
{{ ref.reference }}
</blockquote>
{% endif %}
</section>
{% endfor %}
</section>
{% endif %}
</main>
<!-- Sidebar Section -->
<aside>
{% if education %}
<section>
<h2 class="section-heading">Education</h2>
{% for edu in education %}
<section>
<h3>
{% if edu.url %}
<a href="{{ edu.url }}">{{ edu.institution }}</a>
{% else %}
{{ edu.institution }}
{% endif %}
</h3>
{% if edu.location %}<p class="section-label">{{ edu.location }}</p>{% endif %}
{% if edu.degrees %}
<h4>Degrees</h4>
<ul>
{% for deg in edu.degrees %}<li>{{ deg }}</li>{% endfor %}
</ul>
{% endif %}
{% if edu.honors %}
<h4>Honors</h4>
<ul>
{% for hon in edu.honors %}<li>{{ hon }}</li>{% endfor %}
</ul>
{% endif %}
{% if edu.gpa_major or edu.gpa_cumulative or edu.graduation_date %}
<p>
{% if edu.gpa_major %}<span class="block">GPA in Major: {{ edu.gpa_major }}</span>{% endif %}
{% if edu.gpa_cumulative %}<span class="block">Cumulative GPA: {{ edu.gpa_cumulative }}</span>{% endif %}
{% if edu.graduation_date %}<span class="block">Graduation Date: {{ edu.graduation_date }}</span>{% endif %}
</p>
{% endif %}
</section>
{% endfor %}
</section>
{% endif %}
{% if skills %}
<section>
<h2 class="section-heading">Skills</h2>
<ul class="unstyled-list">
{% for skill in skills %}
<li>
<h3>{{ skill.name }}</h3>
<div class="skill-bar">
<div class="skill-bar-fill w-{{ skill.proficiency }}"
role="meter"
aria-valuenow="{{ skill.proficiency }}"
aria-valuemin="0"
aria-valuemax="100">
<span class="skill-bar-label">{{ skill.proficiency_label }}</span>
</div>
</div>
</li>
{% endfor %}
</ul>
</section>
{% endif %}
{% if languages %}
<section>
<h2 class="section-heading">Languages</h2>
<ul class="unstyled-list">
{% for lang in languages %}
<li>
<h3>{{ lang.language }}</h3>
<p class="section-label">{{ lang.fluency }}</p>
</li>
{% endfor %}
</ul>
</section>
{% endif %}
{% if interests %}
<section>
<h2 class="section-heading">Interests</h2>
{% for interest in interests %}
<section>
<h3>{{ interest.name }}</h3>
{% if interest.summary %}<p>{{ interest.summary }}</p>{% endif %}
{% if interest.images %}
<div class="gallery side-gallery">
{% for img in interest.images %}
<figure>
<img width="600"
height="338"
src="{{ img.img_path }}"
alt="{{ img.caption }}">
<figcaption>{{ img.caption }}</figcaption>
</figure>
{% endfor %}
</div>
{% endif %}
</section>
{% endfor %}
</section>
{% endif %}
</aside>
</div>
</div>
<footer class="page-footer">
<div class="container">
<p>© {{ current_year }} {{ name }}. All rights reserved.</p>
</div>
</footer>
<script src="js/app.js"></script>
</body>
</html>