public
Description:
Homepage: http://bettong.net
Clone URL: git://github.com/ujh/bettong.net.git
bettong.net / index.html
100644 29 lines (28 sloc) 0.712 kb
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
---
layout: default
title: Home
---
{% for post in paginator.posts %}
<div class="post">
  <h2>
    <a href="{{ post.url }}">{{ post.title }}</a>
  </h2>
  <p class="auth">
    [Posted by Urban Hafner on {{ post.date | date_to_string }}]
  </p>
  {{ post.content }}
  {% include tag_links.html %}
</div>
{% endfor %}
<div class="prev_next">
  {% if paginator.previous_page %}
    {% if paginator.previous_page == 1 %}
    <a class="previous" href="/">« previous</a>
    {% else %}
    <a class="previous" href="/page{{ paginator.previous_page}}">« previous</a>
    {% endif %}
  {% endif %}
  {% if paginator.next_page %}
  <a class="next" href="/page{{ paginator.next_page}}">next »</a>
  {% endif %}
</div>