forked from okfde/offenesparlament.de
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (43 loc) · 926 Bytes
/
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
---
layout: default
sections:
- id: why
title: Warum?
- id: data
title: Daten
- id: contact
title: Kontakt
- id: archive
title: Wo ist das alte OffenesParlament hin?
---
<header>
<div class="container">
<h1 class="site-heading">
Offenes Parlament
</h1>
</div>
<nav>
<ul class="container">
{% for section in page.sections %}
<li><a href="#{{ section.id }}">{{ section.title }}</a></li>
{% endfor %}
</ul>
</nav>
</header>
<main>
{% for section in page.sections %}
<section id="{{ section.id }}">
<div class="container">
<h1>{{ section.title }}</h1>
{% capture content %}{% include {{ section.id }}.md %}{% endcapture %}
{{ content | markdownify }}
</div>
</section>
{% endfor %}
</main>
<footer>
<div class="container">
{% capture footer %}{% include footer.md %}{% endcapture %}
{{ footer | markdownify }}
</div>
</footer>