Initial import of blog.ganneff.de into a jekyll based setup
[blog.git] / index.html
1 ---
2 layout: default
3 title: Solar Theme
4 ---
5
6 {% for post in paginator.posts %}
7
8 <article class="post">
9
10 {% if post.external-url %}
11 <h1>
12 <a href="{{ post.external-url }}">{{ post.title }}</a>
13 <a class="anchor" href="{{ post.url }}"><i class="icon-anchor"></i></a>
14 </h1>
15 {% else %}
16 <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
17 {% endif %}
18
19 <div class="post-content">{{ post.content }}</div>
20
21 </article>
22
23 {% endfor %}
24
25
26
27 {% if paginator.total_pages > 1 %}
28 <div class="postnavigation">
29
30 {% if paginator.previous_page %}
31 {% if paginator.page == 2 %}
32 <a class="prev left" href="/">&larr; Newer</a>
33 {% else %}
34 <a class="prev left" href="/page{{paginator.previous_page}}/">&larr; Newer</a>
35 {% endif %}
36 {% else %}
37 <span class="nope left">&larr; Newer</span>
38 {% endif %}
39
40 <span class="pages">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
41
42 {% if paginator.next_page %}
43 <a class="next right" href="/page{{paginator.next_page}}/">Older &rarr;</a>
44 {% else %}
45 <span class="nope right">Older &rarr;</span>
46 {% endif %}
47
48 </div>
49 {% endif %}