-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
88 lines (85 loc) · 2.97 KB
/
index.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
---
layout: default
---
<main>
<section>
<header>Hayden McAfee</header>
<p>Hello, I'm Hayden!</p>
<p>I love learning and building all sorts of things, but I mainly create software.</p>
<p>Check out some of my work below!</p>
</section>
<section>
<header>Projects</header>
<ul>
{% assign sorted_projects = site.projects | sort: 'date' | reverse %}
{% for project in sorted_projects limit: 3 %}
<li>
<header>
{% if project.icon %}
{% include {{ project.icon | prepend: 'svg/' }} %}
{% endif %}
<div class="text">
<div class="team"><a href="{{ project.url }}">{{ project.title }}</a></div>
<div class="title">{{ project.subtitle }}</div>
<div class="time">{{ project.date | date: "%Y" }}</div>
</div>
</header>
<p>{{ project.description }}</p>
</li>
{% endfor %}
<li>
<a href="{% link projects.html %}">
{% include svg/doublechevron.svg %}
<div>All Projects</div>
</a>
</li>
</ul>
</section>
<section>
<header>Work</header>
<ul>
{% assign sorted_work = site.work | reverse %}
{% for work in sorted_work limit: 3 %}
<li>
<header>
{% if work.icon %}
{% include {{ work.icon | prepend: 'svg/' }} %}
{% endif %}
<div class="text">
<div class="team"><a href="{{ work.url }}">{{ work.team }}</a></div>
<div class="title">{{ work.role }} at {{ work.company }}</div>
<div class="time">{{ work.start_year }}—{{ work.end_year }}</div>
</div>
</header>
<p>{{ work.description }}</p>
</li>
{% endfor %}
<li>
<a href="{% link work.html %}">
{% include svg/doublechevron.svg %}
<div>All Work</div>
</a>
</li>
</ul>
</section>
<section>
<header>Posts</header>
<ul>
{% for post in site.posts limit: 3 %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<div class="subtitle">
<time>{{ post.date | date: "%Y-%m-%d" }}</time>
</div>
{{ post.excerpt }}
</li>
{% endfor %}
<li>
<a href="{% link posts.html %}">
{% include svg/doublechevron.svg %}
<div>All Posts</div>
</a>
</li>
</ul>
</section>
</main>