-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (66 loc) · 2.45 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
---
layout: default
title: Douglas Duhaime
---
<div class='home'>
<div class='container'>
<h1>Douglas Duhaime</h1>
<div class='about'>Product Engineer at <a href='https://ycombinator.com' target='_blank'>Y Combinator</a></div>
<!-- Posts -->
<div class='home-posts'>
{% assign posts = site.records | sort: 'date' | reverse %}
{% for post in posts %}
{% if post.categories contains 'posts' and post.thumbnail and post.displayed != false %}
<div class='home-post'>
{% if post.route %}
{% assign url = post.route %}
{% else %}
{% assign url = post.url | prepend: site.baseurl %}
{% endif %}
<a href='{{ url }}'>
<div class='post-thumbnail'
style='background-color: #{{ post.thumbnail_color }}; background-image: url("{{ post.thumbnail | prepend : site.baseurl }}")'>
</div>
<div class='title'>{{ post.title }}</div>
<div class='date'>{{ post.date | date_to_string }}</div>
</a>
</div>
{% endif %}
{% endfor %}
</div>
<!-- Projects -->
<div class='home-projects'>
<h2>Selected Projects</h2>
{% assign projects = site.records | sort: 'order' | reverse %}
{% for project in projects %}
{% if project.categories contains 'projects' and project.displayed != false %}
<div class='home-project'>
<div class='project-image'
style='background-color: #{{ project.thumbnail_color }}; background-image: url("{{ project.image | prepend : site.baseurl }}")'>
<div class='project-links'>
{% if project.site %}
<a href='{{ project.site }}'>Site</a>
<span>|</span>
{% endif %}
<a href='{{ project.source }}'>Source</a>
</div>
</div>
<div class='project-content'>
<div class='project-title'>{{ project.title }}</div>
<div class='project-tech'>
{% for item in project.tech %}
<div>{{ item }}</div>
{% endfor %}
</div>
<div class='project-text'>{{ project.content }}</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class='home-footer'>
{% assign icon_style='light' %}
{% include icons.html %}
</div>
</div>
</div>