-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (25 loc) · 844 Bytes
/
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
---
layout: default
---
<div id="content">
<div class="container-readable post-previews">
{% for post in site.posts %}
<a class="post-preview {% if post.draft %}draft{% endif %}" href="{{ post.url | prepend: site.baseurl }}">
<h2>{{ post.title | widont }}</h2>
<p class="date">{{ post.date | date: "%-d %B %Y" }}</p>
{% if post.summary %}
<p class="preview">{{ post.summary | widont }}</p>
{% endif %}
{% if post.image %}
{% blockimg %}
alt="{{ post.title }}"
src="{{ post.image }}"
{% if post.image2x %}
srcset="{{ post.image2x }} 2x, {{ post.image }} 1x"
{% endif %}
{% endblockimg %}
{% endif %}
</a>
{% endfor %}
</div>
</div>