-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv.html
48 lines (44 loc) · 1.54 KB
/
cv.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
---
layout: default
title: "CV"
permalink: /cv/
excerpt: |
I'm Tom Hodson. Welcome to my little home on the web! Take a look at my CV below
or have a look at my blog.
img:
src: /assets/images/avatar.jpeg
alt: A picture of me.
---
<p>Welcome to my little home on the web! Take a look at my CV below
or have a look at my <a href="/blog">blog</a>. Click any item for a little more detail.
</p>
{% for topic in site.data.cv_topics %}
{% assign work = site.cv_entries | where:'type', topic.id %}
{% if work.size > 0 %}
<div class = "cv-title-container">
<h2>{{topic.name}}</h2>
<a onClick='toggle_summary_by_class(this, "{{topic.id}}");'>Expand all</a>
</div>
{% for entry in work %}
<details class="{{topic.id}}">
<summary class="cv"><time>{{entry.period}}</time>
<div class = "title-column">
<h3>{{entry.title}}</h3>
<span class="location">{{entry.location}}</span>
</div>
</summary>
<div class = "details-container">
<div class = "details-img">
<a href="{{entry.url}}">
<img class="u-photo {{entry.img.class}}" src = "{{entry.img.src}}" alt="{{entry.img.alt}}">
</a>
</div>
<div class = "details-text">
{{entry.excerpt}}
{% if entry.read_more %}<a href = "{{entry.url}}">Read more.</a>{% endif %}
</div>
</div>
</details>
{% endfor %}
{% endif %}
{% endfor %}