forked from roidrage/paperplanes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (40 loc) · 1.26 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
---
layout: default
title: mathias meyer.
hide_twitter_card: true
---
<div id="articles">
{% for post in paginator.posts limit:3 %}
<article>
<div class="item">
<div class="item_details">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<h4><a href="{{ post.url }}" title="{{ post.title }}">{{ post.date | date_to_long_string }}</a> by <a href="http://twitter.com/roidrage">Mathias Meyer</a></h4>
</div>
<div class="item_content">
{{ post.content }}
</div>
<div class="item_meta">
<span class="item_tags">
Tags:
{% for tag in post.tags %}
<a href="/tags/{{ tag }}.html" title="View posts tagged with "{{ tag }}"">{{ tag }}</a>{% if forloop.last != true %}, {% endif %}
{% endfor %}
</span>
</div>
</div>
</article>
{% endfor %}
</div>
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/" class="previous">Newer Posts</a>
{% else %}
<a href="/page{{ paginator.previous_page }}" class="previous">Newer Posts</a>
{% endif %}
{% endif %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" class="next">Older Posts</a>
{% endif %}
</div>