-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (31 loc) · 992 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
32
33
34
35
36
---
layout: default
title: blog, ideas, etc.
---
{% for post in paginator.posts %}
<h3 class="excerpt"><a href="{{ post.url }}">{{ post.title }}</a></h3>
<p class="excerpt">
{{ post.excerpt | strip_html | truncate: 160 }}
<a href="{{ post.url }}" class="read-more">read more</a>
</p>
<small class="meta">
{{ post.date | date:"%d %b %Y" }}
{% for t in post.tags %}
{% if forloop.first == true %} | {% endif %}
<a href="/tags#{{ t | escape }}">{{ t }}</a>{% if forloop.last == false %}, {% endif %}
{% endfor %}
</small>
{% endfor %}
<div class="paging">
{% if paginator.next_page %}
<a href="/page{{paginator.next_page}}" class="older">Older Posts</a>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/" class="newer">Newer Posts</a>
{% else %}
<a href="/page{{paginator.previous_page}}" class="newer">Newer Posts</a>
{% endif %}
{% endif %}
<div class="clear"></div>
</div>