-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (49 loc) · 1.78 KB
/
index.html
File metadata and controls
55 lines (49 loc) · 1.78 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
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
---
title: Blog
layout: blog
lang: de
description: Erfahren Sie mehr über unsere aktuellen Tätigkeiten und News.
---
<section id="bloglist">
<div class="container">
<h2>Blog</h2>
{% if site.posts.size > 0 %}
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-12">
{% for post in paginator.posts %}
{% include post_preview.html %}
{% endfor %}
</div>
<div class="col-lg-3 col-md-3 col-sm-12">
{% include blog_sidebar.html %}
</div>
</div>
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Zurück</a>
{% else %}
<span>« Zurück</span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<em>{{ page }}</em>
{% elsif page == 1 %}
<a href="/{{ site.baseurl }}{{site.blogname}}/">{{ page }}</a>
{% else %}
<a href="/{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Weiter »</a>
{% else %}
<span>Weiter »</span>
{% endif %}
</div>
{% endif %}
{% else %}
<div class="row"><div class="col-lg-12"><h4>Tut uns Leid, im Moment stehen keine Beiträge zu diesem Thema zur Verfügung.</h4></div></div>
{% endif %}
<p class="rss-subscribe">folgen <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
</div>
</section>