forked from opitzconsulting/opitzconsulting.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (31 loc) · 1 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
---
layout: default
title: Beiträge
---
<div class="home">
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<span class="post-meta">{% include date.html date=post.date %}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<p>{{ post.excerpt | strip_html }}</p>
</li>
{% endfor %}
</ul>
</div>
<nav id="pagination">
<ul class="pagination clearfix">
{% if paginator.next_page %}
<li class="prev"><a href="/pages/{{ paginator.next_page }}" title="Ältere Beiträge">← Ältere Beiträge</a></li>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li class="next"><a href="/" title="Neuere Beiträge">Neuere Beiträge →</a></li>
{% else %}
<li class="next"><a href="/pages/{{ paginator.previous_page }}" title="Neuere Beiträge">Neuere Beiträge →</a></li>
{% endif %}
{% endif %}
</ul>
</nav>