-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (43 loc) · 1.89 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
42
43
44
45
46
47
48
---
layout: default
---
<main id="content" class="content" role="main">
<div class="extra-pagination inner">
<nav class="pagination" role="navigation">
{% if paginator.previous_page %}
<a class="newer-posts" href="{{ paginator.previous_page_path }}">← Neuere Beiträge</a>
{% endif %}
<span class="page-number">Seite {{ paginator.page }} von {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="older-posts" href="{{ paginator.next_page_path }}">Ältere Beiträge →</a>
{% endif %}
</nav>
</div>
{% for post in paginator.posts %}
<article class="post">
<header class="post-header">
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt">
<p>{{ post.excerpt }}<a class="read-more" href="{{ post.url }}">»</a></p>
</section>
<footer class="post-meta">
<img class="author-thumb" src="//www.gravatar.com/avatar/ce15da66a37ccd143de83061f68f90c1?d=404&s=250" alt="Author image" nopin="nopin" />
<a href="#">Hauke</a> in
{% for tag in post.tags %}
<a href="/tag/{{ tag }}/">{{ tag }}</a>{% if tag != page.tags.last %}, {% endif %}
{% endfor %}
<time class="post-date" datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date: "%d.%B %Y" }}</time>
</footer>
</article>
{% endfor %}
<nav class="pagination" role="navigation">
{% if paginator.previous_page %}
<a class="newer-posts" href="{{ paginator.previous_page_path }}">← Neuere Beiträge</a>
{% endif %}
<span class="page-number">Seite {{ paginator.page }} von {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="older-posts" href="{{ paginator.next_page_path }}" class="next">Ältere Beiträge →</a>
{% endif %}
</nav>
</main>