forked from transparenzunion/transparenzunion.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (48 loc) · 1.66 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
---
title: Volle Transparenz! Ehrenwort!
layout: home
description: Eine kuratierte Sammlung von Korruptionsverdachtsfällen und Lobbyismus in der Union von CDU/CSU.
---
<div class="container">
<h1 class="home mt-3">#Clan­krimi­nalität</h1>
<ul class="timeline mt-5">
{% assign current_year = nil %}
{% for post in site.posts %}
{% if current_year != post.year %}
{% assign current_year = post.year %}
<li class="year-item text-white ml-3">
<h3 class="h1"><strong> {{ current_year }} </strong></h3>
</li>
{% endif %}
<li class="timeline-item bg-white rounded ml-3 p-4 shadow">
<div class="timeline-arrow"></div>
<a name="{{ post.id }}"/>
<h2 class="h1 mb-2 text-break">
<a href="{{ post.url }}">{{ post.title }}</a>
</h2>
<h3>
{% for tag in post.tags %}
<a href="/menschen/{{ tag | slugify }}">{{ tag }}</a>
{% endfor %}
</h3>
<p class="text-muted mb-3">
{% assign m = post.date | date: "%-m" | minus: 1 %}
{{ site.data.de.month_names[m] }}
{{ post.date | date: "%Y" }}
</p>
{% if post.image %}
<figure>
<img src="/assets/images/{{post.image}}"/>
</figure>
{% endif %}
<div class="mt-2 text-justify clearfix">
{{ post.excerpt }}
{% if post.image %}
<p class="text-muted text-left text-break"><small>Bild: {{ post.image_credit }}</small></p>
{% endif %}
</div>
<a href="{{ post.url }}" class="btn btn-secondary">Mehr dazu!</a>
</li>
{% endfor %}
</ul>
</div>