-
Notifications
You must be signed in to change notification settings - Fork 3
/
aktionen.html
45 lines (43 loc) · 1.2 KB
/
aktionen.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
---
title: Aktionen
permalink: aktionen.html
layout: page
---
{% assign sorted = site.list | reverse %}
{% assign last = sorted.first.date %}
<h2>Aktion vom {{ last | date: "%-d. %-m. %Y" }}</h2>
<p>
{% for action in site.actions %}
{% assign a = action.date | date: "%B%Y" %}
{% assign b = last | date: "%B%Y" %}
{% if a == b %}
<a href="{{ site.baseurl }}{{ action.url }}" class="button">Als Druckdatei</a><br>
{% endif %}
{% endfor %}
Verlegte Stolpersteine:
</p>
<ul>
{% for page in sorted %}
{% if page.date == last %}
<li><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}<br>  {{ page.address }}</a></li>
{% else %}
</ul>
{% assign last = page.date %}
<h2>Aktion vom {{ last | date: "%-d. %-m. %Y" }}</h2>
<p>
{% for action in site.actions %}
{% assign a = action.date | date: "%B%Y" %}
{% assign b = last | date: "%B%Y" %}
{% if a == b %}
<a href="{{ site.baseurl }}{{ action.url }}" class="button">Als Druckdatei</a><br>
{% endif %}
{% endfor %}
Verlegte Stolpersteine:
</p>
<ul>
<li><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
<hr>
<a href="{{ site.baseurl }}/feed.xml" class="button"><i class="icon ion-social-rss"></i> Aktionen RSS</a>