-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (41 loc) · 1.6 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
49
50
51
52
53
54
55
56
57
---
layout: default
title: KOPIS.DE - Ein persönlicher Blog
description: Auf diesen Seiten findest Du die Projekte und Blogposts von Carsten Ringe.
featured_image: /images/52935489_2344037732297346_4359112039860273152_n.jpg
---
<section class="blog single">
<div class="wrap">
{% for post in paginator.posts %}
<article class="blog-post">
<div class="blog-post__header">
<h2 class="blog-post__title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
<p class="blog-post__subtitle">{{ post.date | date_to_long_string }}</p>
</div>
{% if post.featured_image %}
<a href="{{ post.url | prepend: site.baseurl }}" class="blog-post__image"
style="background-image: url({{ post.featured_image | prepend: site.baseurl }});"></a>
{% endif %}
<div class="blog-post__content">
<p>{{ post.excerpt }}</p>
<p><a href="{{ post.url | prepend: site.baseurl }}" class="button">Mehr →</a>
</div>
</article>
{% endfor %}
</div>
</section>
{% if paginator.total_pages > 1 %}
<section class="pagination">
{% if paginator.previous_page %}
<div class="pagination__prev">
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="button button--large"><i
class="fa fa-angle-left" aria-hidden="true"></i> <span>Neuere Beiträge</span></a>
</div>
{% endif %}
{% if paginator.next_page %}
<div class="pagination__next">
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="button button--large"><span>Ältere Beiträge</span> <i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
{% endif %}
</section>
{% endif %}