forked from johno/pixyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (26 loc) · 817 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
27
28
29
30
31
---
layout: default
---
{% assign posts_count = (paginator.posts | size) %}
<div class="home">
{% if posts_count > 0 %}
<div class="posts py2">
{% for post in paginator.posts %}
<div class="post py3">
<a href="{{ post.url | prepend: site.baseurl }}" class="post-link"><h3 class="h1 post-title">{{ post.title }}</h3></a>
<p class="post-meta small">{{ post.date | date: site.date_format }}</p>
<span class="post-summary">
{% if post.summary %}
{{ post.summary }}
{% else %}
{{ post.excerpt }}
{% endif %}
</span>
</div>
{% endfor %}
{% include pagination.html %}
</div>
{% else %}
<h1 class='center'>{{ site.text.index.coming_soon }}</h1>
{% endif %}
</div>