-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (39 loc) · 1.1 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
---
layout: default
---
<div class="home">
<h1 class="page-heading">Projects</h1>
<ul class="post-list">
{% for post in site.posts %}
<li id="{{ post.title }}" data-type="{{ post.type }}">
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>{{ post.title }}</h2>
{% if post.image %}
<p>
<a href="{{ post.location }}">
<img src="{{ post.image }}" alt="{{ post.title }}">
</a>
</p>
{% endif %}
<ul>
{% if post.location %}
<li>
<a href="{{ post.location }}">Try it</a>
</li>
{% endif %}
{% if post.blog %}
<li>
<a href="{{ post.blog }}">I wrote some words about this project</a>
</li>
{% endif %}
{% if post.code %}
<li>
<a href="{{ post.code }}">Check out the code</a>
</li>
{% endif %}
</ul>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>