-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (98 loc) · 4.01 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
layout: index
---
<article>
{% for pos in (0..100) %}
{% for post in site.posts %}
{% if post.pos == pos %}
{% if post.a != nil %}
<section id="{{ post.a }}">
<h2>{{ post.title }}{% if post.en != nil %}<a class="flag en" href="#{{ post.en }}"></a>{% elsif post.de != nil %}<a class="flag de" href="#{{ post.de }}"></a>{% endif %}</h2>
{{ post.content }}
</section>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
<nav>
<h3>Meetings</h3>
{% assign num = 1 %}
{% for post in site.posts %}
{% if post.tags contains "meeting" %}
{% assign num = num | plus:1 %}
{% endif %}
{% endfor %}
{% for pos in (0..100) %}
{% for post in site.posts %}
{% assign rpos = 100 | minus:pos %}
{% if post.pos == rpos %}
{% if post.tags contains "meeting" %}
{% assign num = num | minus:1 %}
<a href="#{{ post.a }}" class="button">
<span>Meeting #{{ num }}</span>
<small>{% if post.subtitle != nil %}{{ post.subtitle }}{% else %}{{ post.date | date:"%B, %dth %Y" }}{% endif %}</small>
</a>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</nav>
</article>
<footer>
<div>
<nav class="column">
{% for pos in (0..100) %}
{% for post in site.posts %}
{% if post.pos == pos %}
{% if post.tags contains "col1" %}
{% if post.link != nil %}
<a target="_blank" href="{{ post.link }}" class="button">
{% else %}
<a href="#{{ post.a }}" class="button">
{% endif %}
<span>{{ post.title }}</span>
<small>{{ post.subtitle }}</small>
</a>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</nav>
<nav class="column">
{% for pos in (0..100) %}
{% for post in site.posts %}
{% if post.pos == pos %}
{% if post.tags contains "col2" %}
{% if post.link != nil %}
<a target="_blank" href="{{ post.link }}" class="button">
{% else %}
<a href="#{{ post.a }}" class="button">
{% endif %}
<span>{{ post.title }}</span>
<small>{{ post.subtitle }}</small>
</a>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</nav>
<nav class="column">
{% for pos in (0..100) %}
{% for post in site.posts %}
{% if post.pos == pos %}
{% if post.tags contains "col3" %}
{% if post.link != nil %}
<a target="_blank" href="{{ post.link }}" class="button">
{% else %}
<a href="#{{ post.a }}" class="button">
{% endif %}
<span>{{ post.title }}</span>
<small>{{ post.subtitle }}</small>
</a>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</nav>
</div>
</footer>