mi-jekyll-theme 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +46 -0
- data/_includes/functions/gallery.html +69 -0
- data/_includes/functions/proposals.html +27 -0
- data/_includes/functions/resolve-dates.html +27 -0
- data/_includes/functions/resolve-names.html +9 -0
- data/_includes/functions/resolve-types.html +5 -0
- data/_includes/functions/resolve-urls.html +5 -0
- data/_includes/functions/resolve-voraussetzungen.html +18 -0
- data/_includes/functions/zeitplan.html +26 -0
- data/_includes/image.html +8 -0
- data/_includes/news-overview.html +32 -0
- data/_includes/news.html +10 -0
- data/_includes/proposal.html +30 -0
- data/_includes/reading-time.html +8 -0
- data/_includes/termine-auf-veranstaltungsseite.html +33 -0
- data/_includes/timetable-day-float.html +111 -0
- data/_includes/timetable-day.html +140 -0
- data/_includes/veranstaltungsinfo-klein.html +55 -0
- data/_includes/workshop-overview.html +36 -0
- data/_includes/zwischenstand.html +16 -0
- data/_layouts/bigtext.html +8 -0
- data/_layouts/codesnippets.html +43 -0
- data/_layouts/default.html +89 -0
- data/_layouts/einspalter.html +7 -0
- data/_layouts/faq.html +40 -0
- data/_layouts/hauptspalteMarginalie.html +8 -0
- data/_layouts/home.html +25 -0
- data/_layouts/lehrveranstaltung.html +61 -0
- data/_layouts/links.html +70 -0
- data/_layouts/markdownAjax.html +15 -0
- data/_layouts/modul-overview.html +9 -0
- data/_layouts/news.html +40 -0
- data/_layouts/page-einspalter.html +23 -0
- data/_layouts/page.html +24 -0
- data/_layouts/post.html +17 -0
- data/_layouts/projekt.html +81 -0
- data/_layouts/workshop.html +43 -0
- data/_layouts/zweispalter.html +7 -0
- data/_sass/lib/README.md +1 -0
- data/_sass/lib/_highlights.scss +84 -0
- data/_sass/lib/_overrides.scss +16 -0
- data/_sass/lib/_reset.scss +53 -0
- data/_sass/lib/_svg-icons.scss +20 -0
- data/_sass/lib/_variables-mi-colors.scss +11 -0
- data/_sass/lib/_variables.scss +21 -0
- data/_sass/lib/bulma.sass +8 -0
- data/_sass/lib/sass/base/_all.sass +5 -0
- data/_sass/lib/sass/base/generic.sass +127 -0
- data/_sass/lib/sass/base/helpers.sass +203 -0
- data/_sass/lib/sass/base/minireset.sass +80 -0
- data/_sass/lib/sass/components/_all.sass +15 -0
- data/_sass/lib/sass/components/breadcrumb.sass +74 -0
- data/_sass/lib/sass/components/card.sass +67 -0
- data/_sass/lib/sass/components/dropdown.sass +68 -0
- data/_sass/lib/sass/components/level.sass +74 -0
- data/_sass/lib/sass/components/media.sass +44 -0
- data/_sass/lib/sass/components/menu.sass +50 -0
- data/_sass/lib/sass/components/message.sass +79 -0
- data/_sass/lib/sass/components/modal.sass +111 -0
- data/_sass/lib/sass/components/nav.sass +125 -0
- data/_sass/lib/sass/components/navbar.sass +301 -0
- data/_sass/lib/sass/components/pagination.sass +134 -0
- data/_sass/lib/sass/components/panel.sass +101 -0
- data/_sass/lib/sass/components/tabs.sass +141 -0
- data/_sass/lib/sass/elements/_all.sass +16 -0
- data/_sass/lib/sass/elements/box.sass +24 -0
- data/_sass/lib/sass/elements/button.sass +201 -0
- data/_sass/lib/sass/elements/container.sass +25 -0
- data/_sass/lib/sass/elements/content.sass +145 -0
- data/_sass/lib/sass/elements/form.sass +603 -0
- data/_sass/lib/sass/elements/icon.sass +21 -0
- data/_sass/lib/sass/elements/image.sass +36 -0
- data/_sass/lib/sass/elements/notification.sass +35 -0
- data/_sass/lib/sass/elements/other.sass +39 -0
- data/_sass/lib/sass/elements/progress.sass +35 -0
- data/_sass/lib/sass/elements/table.sass +98 -0
- data/_sass/lib/sass/elements/tag.sass +89 -0
- data/_sass/lib/sass/elements/title.sass +55 -0
- data/_sass/lib/sass/grid/_all.sass +4 -0
- data/_sass/lib/sass/grid/columns.sass +328 -0
- data/_sass/lib/sass/grid/tiles.sass +32 -0
- data/_sass/lib/sass/layout/_all.sass +5 -0
- data/_sass/lib/sass/layout/footer.sass +5 -0
- data/_sass/lib/sass/layout/hero.sass +155 -0
- data/_sass/lib/sass/layout/section.sass +13 -0
- data/_sass/lib/sass/utilities/_all.sass +8 -0
- data/_sass/lib/sass/utilities/animations.sass +5 -0
- data/_sass/lib/sass/utilities/controls.sass +41 -0
- data/_sass/lib/sass/utilities/derived-variables.sass +81 -0
- data/_sass/lib/sass/utilities/functions.sass +28 -0
- data/_sass/lib/sass/utilities/initial-variables.sass +64 -0
- data/_sass/lib/sass/utilities/mixins.sass +224 -0
- data/_sass/lib/sass/utilities/variables.sass +150 -0
- data/_sass/mi-jekyll.scss +821 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/mi-box-100.png +0 -0
- data/assets/images/mi-box-150.png +0 -0
- data/assets/images/mi-box-470.png +0 -0
- data/assets/images/mi-box.svg +34 -0
- data/assets/images/th-logo.png +0 -0
- data/assets/js/mi-jekyll.js +359 -0
- data/assets/libs/octokit-rest.min.js +16 -0
- data/assets/styles/mi-jekyll.scss +11 -0
- data/assets/th-logo.png +0 -0
- metadata +191 -0
@@ -0,0 +1,140 @@
|
|
1
|
+
{% assign day = include.day %}
|
2
|
+
{% assign difftime = include.difftime %}
|
3
|
+
{% assign starttime = include.starttime %}
|
4
|
+
{% assign time-correction = include.time-correction %}
|
5
|
+
|
6
|
+
{% assign lehrveranstaltungen = (site.lehrveranstaltungen | sort: 'dauer,typ')) %}
|
7
|
+
{% assign overlap-0 = 0 %}
|
8
|
+
{% assign overlap-1 = 0 %}
|
9
|
+
{% assign overlap-2 = 0 %}
|
10
|
+
{% assign overlap-3 = 0 %}
|
11
|
+
{% assign overlap-4 = 0 %}
|
12
|
+
{% assign overlap-5 = 0 %}
|
13
|
+
{% assign overlap-6 = 0 %}
|
14
|
+
{% assign overlap-7 = 0 %}
|
15
|
+
{% assign overlap-8 = 0 %}
|
16
|
+
{% assign overlap-9 = 0 %}
|
17
|
+
|
18
|
+
<!--div class="column"-->
|
19
|
+
<h3 class="datum is-3 title">{{day.name}}, {{day.datum | date: '%d. %B %Y' | replace:"January","Januar" | replace:"Februar","February" | replace:"March","März" | replace:"May","Mai" | replace:"June","Juni" | replace:"July","Juli" | replace:"December","Dezember" | replace:"October","Oktober" }}</h3>
|
20
|
+
|
21
|
+
<script>
|
22
|
+
//dataObject = {}
|
23
|
+
//datenLehrveranstaltungen.push(dataObject)
|
24
|
+
//console.log(Date())
|
25
|
+
</script>
|
26
|
+
<div class="timetable-wrap">
|
27
|
+
|
28
|
+
{% for i in (0..difftime) %}
|
29
|
+
|
30
|
+
<div class="timetable-grid">
|
31
|
+
<div class="columns is-gapless">
|
32
|
+
<div class="column is-1">
|
33
|
+
{% assign stunde = i | plus: starttime | append: "" %}
|
34
|
+
|
35
|
+
<p class="grid-time">{{stunde | append: ":00"}}</p>
|
36
|
+
</div>
|
37
|
+
{% assign offset = 0 %}
|
38
|
+
{% if i==0 %}{% assign offset = overlap-0 %}{% endif %}
|
39
|
+
{% if i==1 %}{% assign offset = overlap-1 %}{% endif %}
|
40
|
+
{% if i==2 %}{% assign offset = overlap-2 %}{% endif %}
|
41
|
+
{% if i==3 %}{% assign offset = overlap-3 %}{% endif %}
|
42
|
+
{% if i==4 %}{% assign offset = overlap-4 %}{% endif %}
|
43
|
+
{% if i==5 %}{% assign offset = overlap-5 %}{% endif %}
|
44
|
+
{% if i==6 %}{% assign offset = overlap-6 %}{% endif %}
|
45
|
+
{% if i==7 %}{% assign offset = overlap-7 %}{% endif %}
|
46
|
+
{% if i==8 %}{% assign offset = overlap-8 %}{% endif %}
|
47
|
+
{% if i==9 %}{% assign offset = overlap-9 %}{% endif %}
|
48
|
+
|
49
|
+
{% capture offset-divs %}
|
50
|
+
{% for os in (1..offset) %}
|
51
|
+
<div class="column"></div>
|
52
|
+
{% endfor %}
|
53
|
+
{% endcapture %}
|
54
|
+
|
55
|
+
{{offset-divs}}
|
56
|
+
|
57
|
+
{% for veranstaltung in lehrveranstaltungen %}
|
58
|
+
|
59
|
+
{% assign termine = veranstaltung.termine | split: "," %}
|
60
|
+
|
61
|
+
{% for entry in termine %}
|
62
|
+
|
63
|
+
{% assign entry-data = entry | split: "|" %}
|
64
|
+
{% assign termin = entry-data[0] %}
|
65
|
+
{% assign raum = entry-data[1] %}
|
66
|
+
{% assign dozent = entry-data[3] %}
|
67
|
+
{% assign termin-start-min = termin | date: '%M' %}
|
68
|
+
{% assign startzeit = termin | date: "%H" | append: "" %}
|
69
|
+
{% assign termin-zone = termin | date: '%s' | minus: time-correction %}
|
70
|
+
{% assign termin-to-check = termin-zone | date: '%Y-%m-%d' %}
|
71
|
+
{% assign aktueller-tag = day.datum | date: '%Y-%m-%d' %}
|
72
|
+
|
73
|
+
|
74
|
+
{% if stunde == "8" %}{% assign stunde = "08" %}{% endif %}
|
75
|
+
{% if stunde == "9" %}{% assign stunde = "09" %}{% endif %}
|
76
|
+
|
77
|
+
{% if startzeit == stunde %}
|
78
|
+
|
79
|
+
{% if termin-to-check == aktueller-tag %}
|
80
|
+
{% assign raumnummer = "" %}
|
81
|
+
<div class="column">
|
82
|
+
{% include /functions/resolve-types.html typ=veranstaltung.typ %}
|
83
|
+
|
84
|
+
<a href="{{site.baseurl}}{{veranstaltung.url}}">
|
85
|
+
<div class="veranstaltung {{veranstaltung.typ}}" style="margin-top: {{termin-start-min}}px; height: {{veranstaltung.dauer}}px">
|
86
|
+
{% assign verantwortlich = veranstaltung.verantwortlich %}
|
87
|
+
{% if dozent != "" and dozent != nil %}
|
88
|
+
{% assign verantwortlich = dozent %}
|
89
|
+
{% endif %}
|
90
|
+
{% include /functions/resolve-names.html verantwortlich=verantwortlich %}
|
91
|
+
<p class="title"><span class="is-hidden-tablet">{{termin | date: '%d. %B %Y, %H:%M Uhr'}}: </span>{{veranstaltung.titel}}</p>
|
92
|
+
<script>
|
93
|
+
cal.addEvent("{{veranstaltung.titel}}","Web-Technologien", "{{veranstaltung.raum}}", "{{termin}}", "{{termin}}");
|
94
|
+
</script>
|
95
|
+
|
96
|
+
{% if (veranstaltung.raum | append: "") != "" %}
|
97
|
+
{% assign raumnummer = veranstaltung.raum | append: "" %}
|
98
|
+
{% endif %}
|
99
|
+
|
100
|
+
{% if raum.size > 1 %}
|
101
|
+
{% assign raumnummer = raum | append: "" %}
|
102
|
+
{% endif %}
|
103
|
+
|
104
|
+
{% assign check = typ-max-teilnehmer | strip_newlines %}
|
105
|
+
{% if check != "" %}
|
106
|
+
<p class="subtitle">{{verantwortliche}} // {{typ-name}} {% if termine.size > 1 %} ({{termine.size}} Termine){% endif %}{% if raumnummer.size > 1 %} // Raum {{raumnummer}}{% endif %}</p>
|
107
|
+
{% endif %}
|
108
|
+
|
109
|
+
</div>
|
110
|
+
</a>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
{% assign dauer-in-std = veranstaltung.dauer | divided_by: 60 %}
|
114
|
+
{% assign i2 = dauer-in-std | plus: i | minus: 1 %}
|
115
|
+
{% for ol in (i..i2) %}
|
116
|
+
{% if ol==0 %}{% assign overlap-0 = overlap-0 | plus: 1 %}{% endif %}
|
117
|
+
{% if ol==1 %}{% assign overlap-1 = overlap-1 | plus: 1 %}{% endif %}
|
118
|
+
{% if ol==2 %}{% assign overlap-2 = overlap-2 | plus: 1 %}{% endif %}
|
119
|
+
{% if ol==3 %}{% assign overlap-3 = overlap-3 | plus: 1 %}{% endif %}
|
120
|
+
{% if ol==4 %}{% assign overlap-4 = overlap-4 | plus: 1 %}{% endif %}
|
121
|
+
{% if ol==5 %}{% assign overlap-5 = overlap-5 | plus: 1 %}{% endif %}
|
122
|
+
{% if ol==6 %}{% assign overlap-6 = overlap-6 | plus: 1 %}{% endif %}
|
123
|
+
{% if ol==7 %}{% assign overlap-7 = overlap-7 | plus: 1 %}{% endif %}
|
124
|
+
{% if ol==8 %}{% assign overlap-8 = overlap-8 | plus: 1 %}{% endif %}
|
125
|
+
{% if ol==9 %}{% assign overlap-9 = overlap-9 | plus: 1 %}{% endif %}
|
126
|
+
{% endfor %}
|
127
|
+
|
128
|
+
{% endif %}
|
129
|
+
{% endif %}
|
130
|
+
{% endfor %}
|
131
|
+
|
132
|
+
|
133
|
+
{% endfor %}
|
134
|
+
</div>
|
135
|
+
|
136
|
+
</div>
|
137
|
+
{% endfor %}
|
138
|
+
|
139
|
+
</div>
|
140
|
+
<!--/div-->
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{% assign lehrveranstaltung = include.lehrveranstaltung %}
|
2
|
+
{% assign verbindlichkeit = "freiwillig" %}
|
3
|
+
{% if lehrveranstaltung.pflicht == true %}
|
4
|
+
{% assign verbindlichkeit = "pflicht" %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% capture teilnehmer %}{{typ-max-teilnehmer}} Teilnehmer{% endcapture %}
|
8
|
+
|
9
|
+
{% if lehrveranstaltung.anzahl != "" and lehrveranstaltung.anzahl != nil %}
|
10
|
+
{% assign teilnehmer = lehrveranstaltung.anzahl %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
<div class="is-tab-content card is-{{lehrveranstaltung.typ}} is-overview-item is-{{verbindlichkeit}}" id="{{lehrveranstaltung.typ}}">
|
14
|
+
|
15
|
+
<div class="card-header">
|
16
|
+
<h3 class="card-header-title">{{lehrveranstaltung.titel}}</h3>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="card-content">
|
20
|
+
<div class="content">
|
21
|
+
{% include /functions/resolve-types.html typ=lehrveranstaltung.typ %}
|
22
|
+
|
23
|
+
<p>
|
24
|
+
{% assign termine = lehrveranstaltung.termine | split: "," %}
|
25
|
+
{% assign anzahl-angebote = "einmal" %}
|
26
|
+
{% if termine.size > 1 %}
|
27
|
+
{% assign anzahl-angebote = termine.size | append: " mal" %}
|
28
|
+
{% endif %}
|
29
|
+
{{typ-name}} für {{teilnehmer}}, wird {{ anzahl-angebote }} angeboten.
|
30
|
+
</p>
|
31
|
+
<p><strong>
|
32
|
+
{% assign check = lehrveranstaltung.info | strip_newlines %}
|
33
|
+
{% if check != "" %}
|
34
|
+
{{lehrveranstaltung.info}}
|
35
|
+
{% endif %}
|
36
|
+
</strong></p>
|
37
|
+
|
38
|
+
<dl class="overview-card">
|
39
|
+
{% assign check = lehrveranstaltung.dauer | strip_newlines %}
|
40
|
+
{% if check != "" %}
|
41
|
+
<dt>Dauer</dt><dd>{{lehrveranstaltung.dauer}} min</dd>
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
{% include /functions/resolve-names.html verantwortlich=lehrveranstaltung.verantwortlich %}
|
45
|
+
<dt>Verantwortlich</dt><dd>{{verantwortliche}}</dd>
|
46
|
+
|
47
|
+
</dl>
|
48
|
+
|
49
|
+
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
<div class="card-footer">
|
53
|
+
<p><a class="card-footer-item" href="{{site.baseurl}}{{lehrveranstaltung.url}}">mehr zu {{lehrveranstaltung.titel}}</a></p>
|
54
|
+
</div>
|
55
|
+
</div>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
{% assign workshops = (site.workshops | sort: 'datum') | reverse %}
|
2
|
+
{% assign workshopcount = workshops | size %}
|
3
|
+
|
4
|
+
{% if workshopcount > 0 %}
|
5
|
+
<div class="news-box">
|
6
|
+
<h2 class="is-underlined">Die letzten Workshops und Tutorials</h2>
|
7
|
+
<div class="columns is-multiline">
|
8
|
+
{% for workshop in workshops %}
|
9
|
+
<div class="column is-one-third-tablet is-one-quarter-desktop">
|
10
|
+
<a href="{{site.baseurl}}{{workshop.url}}">
|
11
|
+
<div class="card bm--card-equal-height">
|
12
|
+
<div class="card-image">
|
13
|
+
<figure class="image is-16by9">
|
14
|
+
<img src="{{ workshop.bild | prepend: workshop.url | prepend: site.baseurl }}">
|
15
|
+
</figure>
|
16
|
+
</div>
|
17
|
+
<div class="card-content">
|
18
|
+
<div class="content">
|
19
|
+
<h3>{{workshop.titel}}</h3>
|
20
|
+
<dl>
|
21
|
+
<dd>{{workshop.autor}}</dd>
|
22
|
+
<dd>{{workshop.termin}}</dd>
|
23
|
+
<dd>{{workshop.dauer}}</dd>
|
24
|
+
<dd>Raum {{workshop.raum}}</dd>
|
25
|
+
</dt>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<!--footer class="card-footer">
|
29
|
+
<a class="card-footer-item" href="{{workshop.url}}">Inhalte anschauen</a>
|
30
|
+
</footer-->
|
31
|
+
</div>
|
32
|
+
</div></a>
|
33
|
+
{% endfor %}
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
{% endif %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="modal is-active">
|
2
|
+
<div class="modal-background"></div>
|
3
|
+
<div class="modal-card">
|
4
|
+
<header class="modal-card-head">
|
5
|
+
<p class="modal-card-title">Modal title</p>
|
6
|
+
<button class="delete" aria-label="close"></button>
|
7
|
+
</header>
|
8
|
+
<section class="modal-card-body js-video">
|
9
|
+
<iframe src="https://www.youtube.com/embed/vsXUIfeX5Oc?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
|
10
|
+
</section>
|
11
|
+
<footer class="modal-card-foot">
|
12
|
+
<button class="button is-success">Save changes</button>
|
13
|
+
<button class="button">Cancel</button>
|
14
|
+
</footer>
|
15
|
+
</div>
|
16
|
+
</div>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign codesnippets=site.codesnippets | sort:'title' %}
|
6
|
+
|
7
|
+
<section class="section">
|
8
|
+
<div class="container">
|
9
|
+
<div class="content">
|
10
|
+
<div class="columns">
|
11
|
+
<div class="column is-8">
|
12
|
+
<h1>{{ page.titel }}</h1>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="column is-4 has-text-right">
|
16
|
+
<a target="_blank" href="{{site.editBase}}{{ page.path }}{{site.edit-params}}"><span class="icon"><i class="fa fa-edit"></i></span>
|
17
|
+
Bearbeiten</a>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<hr>
|
24
|
+
|
25
|
+
<div class="container codesnippet">
|
26
|
+
<div class="content">
|
27
|
+
{{page.content}}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</section>
|
31
|
+
|
32
|
+
<!--section class="section">
|
33
|
+
<div class="modulbeschreibung">
|
34
|
+
<div class="container">
|
35
|
+
<div class="content">
|
36
|
+
|
37
|
+
{% for codesnippet in codesnippets %}
|
38
|
+
{{ codesnippet.titel }}
|
39
|
+
{% endfor %}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
</section-->
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="de">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
|
6
|
+
|
7
|
+
<!--[if lt IE 9]>
|
8
|
+
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
9
|
+
<![endif]-->
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0">
|
11
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
|
12
|
+
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
|
13
|
+
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/styles/mi-jekyll.css" />
|
14
|
+
<link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}/assets/images/favicon.ico">
|
15
|
+
|
16
|
+
<script type="text/javascript">
|
17
|
+
|
18
|
+
/*! ics.js Wed Aug 20 2014 17:23:02 */
|
19
|
+
var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})}
|
20
|
+
|
21
|
+
var ics=function(e,t){"use strict";{if(!(navigator.userAgent.indexOf("MSIE")>-1&&-1==navigator.userAgent.indexOf("MSIE 10"))){void 0===e&&(e="default"),void 0===t&&(t="Calendar");var r=-1!==navigator.appVersion.indexOf("Win")?"\r\n":"\n",n=[],i=["BEGIN:VCALENDAR","PRODID:"+t,"VERSION:2.0"].join(r),o=r+"END:VCALENDAR",a=["SU","MO","TU","WE","TH","FR","SA"];return{events:function(){return n},calendar:function(){return i+r+n.join(r)+o},addEvent:function(t,i,o,l,u,s){if(void 0===t||void 0===i||void 0===o||void 0===l||void 0===u)return!1;if(s&&!s.rrule){if("YEARLY"!==s.freq&&"MONTHLY"!==s.freq&&"WEEKLY"!==s.freq&&"DAILY"!==s.freq)throw"Recurrence rrule frequency must be provided and be one of the following: 'YEARLY', 'MONTHLY', 'WEEKLY', or 'DAILY'";if(s.until&&isNaN(Date.parse(s.until)))throw"Recurrence rrule 'until' must be a valid date string";if(s.interval&&isNaN(parseInt(s.interval)))throw"Recurrence rrule 'interval' must be an integer";if(s.count&&isNaN(parseInt(s.count)))throw"Recurrence rrule 'count' must be an integer";if(void 0!==s.byday){if("[object Array]"!==Object.prototype.toString.call(s.byday))throw"Recurrence rrule 'byday' must be an array";if(s.byday.length>7)throw"Recurrence rrule 'byday' array must not be longer than the 7 days in a week";s.byday=s.byday.filter(function(e,t){return s.byday.indexOf(e)==t});for(var c in s.byday)if(a.indexOf(s.byday[c])<0)throw"Recurrence rrule 'byday' values must include only the following: 'SU', 'MO', 'TU', 'WE', 'TH', 'FR', 'SA'"}}var g=new Date(l),d=new Date(u),f=new Date,S=("0000"+g.getFullYear().toString()).slice(-4),E=("00"+(g.getMonth()+1).toString()).slice(-2),v=("00"+g.getDate().toString()).slice(-2),y=("00"+g.getHours().toString()).slice(-2),A=("00"+g.getMinutes().toString()).slice(-2),T=("00"+g.getSeconds().toString()).slice(-2),b=("0000"+d.getFullYear().toString()).slice(-4),D=("00"+(d.getMonth()+1).toString()).slice(-2),N=("00"+d.getDate().toString()).slice(-2),h=("00"+d.getHours().toString()).slice(-2),I=("00"+d.getMinutes().toString()).slice(-2),R=("00"+d.getMinutes().toString()).slice(-2),M=("0000"+f.getFullYear().toString()).slice(-4),w=("00"+(f.getMonth()+1).toString()).slice(-2),L=("00"+f.getDate().toString()).slice(-2),O=("00"+f.getHours().toString()).slice(-2),p=("00"+f.getMinutes().toString()).slice(-2),Y=("00"+f.getMinutes().toString()).slice(-2),U="",V="";y+A+T+h+I+R!=0&&(U="T"+y+A+T,V="T"+h+I+R);var B,C=S+E+v+U,j=b+D+N+V,m=M+w+L+("T"+O+p+Y);if(s)if(s.rrule)B=s.rrule;else{if(B="rrule:FREQ="+s.freq,s.until){var x=new Date(Date.parse(s.until)).toISOString();B+=";UNTIL="+x.substring(0,x.length-13).replace(/[-]/g,"")+"000000Z"}s.interval&&(B+=";INTERVAL="+s.interval),s.count&&(B+=";COUNT="+s.count),s.byday&&s.byday.length>0&&(B+=";BYDAY="+s.byday.join(","))}(new Date).toISOString();var H=["BEGIN:VEVENT","UID:"+n.length+"@"+e,"CLASS:PUBLIC","DESCRIPTION:"+i,"DTSTAMP;VALUE=DATE-TIME:"+m,"DTSTART;VALUE=DATE-TIME:"+C,"DTEND;VALUE=DATE-TIME:"+j,"LOCATION:"+o,"SUMMARY;LANGUAGE=en-us:"+t,"TRANSP:TRANSPARENT","END:VEVENT"];return B&&H.splice(4,0,B),H=H.join(r),n.push(H),H},download:function(e,t){if(n.length<1)return!1;t=void 0!==t?t:".ics",e=void 0!==e?e:"calendar";var a,l=i+r+n.join(r)+o;if(-1===navigator.userAgent.indexOf("MSIE 10"))a=new Blob([l]);else{var u=new BlobBuilder;u.append(l),a=u.getBlob("text/x-vCalendar;charset="+document.characterSet)}return saveAs(a,e+t),l},build:function(){return!(n.length<1)&&i+r+n.join(r)+o}}}console.log("Unsupported Browser")}};
|
22
|
+
|
23
|
+
</script>
|
24
|
+
|
25
|
+
</head>
|
26
|
+
|
27
|
+
<body data-url="{{page.url}}">
|
28
|
+
<section class="hero is-info {% if site.heroimage_size == 'medium' %}is-medium{% else if site.heroimage_size == 'medium' %}is-large{% endif %}">
|
29
|
+
<!-- Hero header: will stick at the top -->
|
30
|
+
<div class="hero-head">
|
31
|
+
<header class="nav">
|
32
|
+
<div class="container">
|
33
|
+
<div class="nav-left">
|
34
|
+
<a href="{{ site.baseurl }}/" class="nav-item"><img src="{{ site.avatar }}" /></a>
|
35
|
+
</div>
|
36
|
+
<span class="nav-toggle">
|
37
|
+
<span></span>
|
38
|
+
<span></span>
|
39
|
+
<span></span>
|
40
|
+
</span>
|
41
|
+
<div class="nav-right nav-menu">
|
42
|
+
{% for item in site.navigation %}
|
43
|
+
<a class="nav-item" href="{% if item.path %}{{ site.baseurl }}/{{item.path}}{% else %}{{item.url}}{% endif %}" class="nav-item">{{item.name}}</a>
|
44
|
+
{% endfor %}
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</header>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<!-- Hero content: will be in the middle -->
|
51
|
+
{% assign heroimage = page.bild %}
|
52
|
+
{% assign teaserclass = "" %}
|
53
|
+
{% if heroimage == "" or heroimage == nil %}
|
54
|
+
{% assign heroimage = site.heroimage | prepend: "/assets/images/" %}
|
55
|
+
{% assign heroimage = heroimage | prepend: site.baseurl %}
|
56
|
+
{% assign teaserclass = "has-gradient" %}
|
57
|
+
{% endif %}
|
58
|
+
<div class="hero-body is-header {{teaserclass}}" style="background-image: url({{heroimage}}); {% if site.heroimage_contain == true %}background-size: contain; background-repeat: no-repeat; background-position: center center;{% endif %}">
|
59
|
+
<div class="container">
|
60
|
+
<h1 class="title is-1">
|
61
|
+
{{ site.name }}
|
62
|
+
</h1>
|
63
|
+
<h2 class="subtitle is-3">
|
64
|
+
{{ site.description }}
|
65
|
+
</h2>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
</section>
|
70
|
+
|
71
|
+
{{ content }}
|
72
|
+
|
73
|
+
<footer class="footer is-non-print">
|
74
|
+
<div class="container">
|
75
|
+
<ul class="menu-list">
|
76
|
+
{% for item in site.navigation %}
|
77
|
+
<li><a class="nav-item" href="{% if item.path %}{{ site.baseurl }}/{{item.path}}{% else %}{{item.url}}{% endif %}" class="nav-item">{{item.name}}</a></li>
|
78
|
+
{% endfor %}
|
79
|
+
</ul>
|
80
|
+
</div>
|
81
|
+
</footer>
|
82
|
+
|
83
|
+
|
84
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.3/showdown.min.js"></script>
|
85
|
+
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/mi-jekyll.js"></script>
|
86
|
+
|
87
|
+
</body>
|
88
|
+
|
89
|
+
</html>
|
data/_layouts/faq.html
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign faqs=site.faq | sort:'title' %}
|
6
|
+
{% assign introtext=site.snippets | where:"kennung","faq" %}
|
7
|
+
|
8
|
+
<section class="section">
|
9
|
+
<div class="container">
|
10
|
+
<h1 class="title is-1">Frequently Asked Questions</h1>
|
11
|
+
|
12
|
+
<div class="content">
|
13
|
+
<p>{{introtext[0].content}}</p>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="container">
|
18
|
+
<hr>
|
19
|
+
|
20
|
+
<ul>
|
21
|
+
{% for faq in faqs %}
|
22
|
+
<li><a href="#{{ faq.id }}">{{ faq.titel }}</a></li>
|
23
|
+
{% endfor %}
|
24
|
+
</ul>
|
25
|
+
|
26
|
+
</div>
|
27
|
+
</section>
|
28
|
+
<section class="section">
|
29
|
+
<div class="container zweispalter">
|
30
|
+
|
31
|
+
{% for faq in faqs %}
|
32
|
+
<div class="content faq">
|
33
|
+
<h2 class="title is-2" id="{{ faq.id }}">{{ faq.titel }}</h2>
|
34
|
+
|
35
|
+
{{ faq.content }}
|
36
|
+
</div>
|
37
|
+
{% endfor %}
|
38
|
+
|
39
|
+
</div>
|
40
|
+
</section>
|