okf-pub-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +111 -0
- data/_includes/chapters.html +18 -0
- data/_includes/effect-chains.html +18 -0
- data/_includes/effect-item.html +5 -0
- data/_includes/footer.html +5 -0
- data/_includes/head.html +22 -0
- data/_includes/header.html +36 -0
- data/_includes/matomo.html +15 -0
- data/_includes/outcomes.html +34 -0
- data/_layouts/default.html +19 -0
- data/_layouts/home.html +52 -0
- data/_sass/_a11y.sass +25 -0
- data/_sass/_bulma-0.7.4/CHANGELOG.md +1162 -0
- data/_sass/_bulma-0.7.4/LICENSE +21 -0
- data/_sass/_bulma-0.7.4/README.md +119 -0
- data/_sass/_bulma-0.7.4/bulma.sass +8 -0
- data/_sass/_bulma-0.7.4/css/bulma.css +10525 -0
- data/_sass/_bulma-0.7.4/css/bulma.css.map +1 -0
- data/_sass/_bulma-0.7.4/css/bulma.min.css +1 -0
- data/_sass/_bulma-0.7.4/package.json +78 -0
- data/_sass/_bulma-0.7.4/sass/.DS_Store +0 -0
- data/_sass/_bulma-0.7.4/sass/base/_all.sass +5 -0
- data/_sass/_bulma-0.7.4/sass/base/generic.sass +130 -0
- data/_sass/_bulma-0.7.4/sass/base/helpers.sass +276 -0
- data/_sass/_bulma-0.7.4/sass/base/minireset.sass +84 -0
- data/_sass/_bulma-0.7.4/sass/components/_all.sass +15 -0
- data/_sass/_bulma-0.7.4/sass/components/breadcrumb.sass +75 -0
- data/_sass/_bulma-0.7.4/sass/components/card.sass +74 -0
- data/_sass/_bulma-0.7.4/sass/components/dropdown.sass +77 -0
- data/_sass/_bulma-0.7.4/sass/components/level.sass +75 -0
- data/_sass/_bulma-0.7.4/sass/components/list.sass +39 -0
- data/_sass/_bulma-0.7.4/sass/components/media.sass +48 -0
- data/_sass/_bulma-0.7.4/sass/components/menu.sass +50 -0
- data/_sass/_bulma-0.7.4/sass/components/message.sass +86 -0
- data/_sass/_bulma-0.7.4/sass/components/modal.sass +113 -0
- data/_sass/_bulma-0.7.4/sass/components/navbar.sass +428 -0
- data/_sass/_bulma-0.7.4/sass/components/pagination.sass +144 -0
- data/_sass/_bulma-0.7.4/sass/components/panel.sass +101 -0
- data/_sass/_bulma-0.7.4/sass/components/tabs.sass +151 -0
- data/_sass/_bulma-0.7.4/sass/elements/_all.sass +16 -0
- data/_sass/_bulma-0.7.4/sass/elements/box.sass +24 -0
- data/_sass/_bulma-0.7.4/sass/elements/button.sass +275 -0
- data/_sass/_bulma-0.7.4/sass/elements/container.sass +25 -0
- data/_sass/_bulma-0.7.4/sass/elements/content.sass +151 -0
- data/_sass/_bulma-0.7.4/sass/elements/form.sass +602 -0
- data/_sass/_bulma-0.7.4/sass/elements/icon.sass +21 -0
- data/_sass/_bulma-0.7.4/sass/elements/image.sass +69 -0
- data/_sass/_bulma-0.7.4/sass/elements/notification.sass +35 -0
- data/_sass/_bulma-0.7.4/sass/elements/other.sass +39 -0
- data/_sass/_bulma-0.7.4/sass/elements/progress.sass +65 -0
- data/_sass/_bulma-0.7.4/sass/elements/table.sass +126 -0
- data/_sass/_bulma-0.7.4/sass/elements/tag.sass +130 -0
- data/_sass/_bulma-0.7.4/sass/elements/title.sass +64 -0
- data/_sass/_bulma-0.7.4/sass/grid/_all.sass +4 -0
- data/_sass/_bulma-0.7.4/sass/grid/columns.sass +504 -0
- data/_sass/_bulma-0.7.4/sass/grid/tiles.sass +32 -0
- data/_sass/_bulma-0.7.4/sass/layout/_all.sass +5 -0
- data/_sass/_bulma-0.7.4/sass/layout/footer.sass +6 -0
- data/_sass/_bulma-0.7.4/sass/layout/hero.sass +156 -0
- data/_sass/_bulma-0.7.4/sass/layout/section.sass +13 -0
- data/_sass/_bulma-0.7.4/sass/utilities/_all.sass +8 -0
- data/_sass/_bulma-0.7.4/sass/utilities/animations.sass +5 -0
- data/_sass/_bulma-0.7.4/sass/utilities/controls.sass +50 -0
- data/_sass/_bulma-0.7.4/sass/utilities/derived-variables.sass +85 -0
- data/_sass/_bulma-0.7.4/sass/utilities/functions.sass +62 -0
- data/_sass/_bulma-0.7.4/sass/utilities/initial-variables.sass +72 -0
- data/_sass/_bulma-0.7.4/sass/utilities/mixins.sass +261 -0
- data/_sass/_effects.sass +35 -0
- data/_sass/_fonts.scss +37 -0
- data/_sass/_header.sass +105 -0
- data/_sass/_helpers.sass +8 -0
- data/_sass/_main.sass +61 -0
- data/_sass/chapter.sass +18 -0
- data/assets/css/style.sass +73 -0
- data/assets/favicon/android-icon-144x144.png +0 -0
- data/assets/favicon/android-icon-192x192.png +0 -0
- data/assets/favicon/android-icon-36x36.png +0 -0
- data/assets/favicon/android-icon-48x48.png +0 -0
- data/assets/favicon/android-icon-72x72.png +0 -0
- data/assets/favicon/android-icon-96x96.png +0 -0
- data/assets/favicon/apple-icon-114x114.png +0 -0
- data/assets/favicon/apple-icon-120x120.png +0 -0
- data/assets/favicon/apple-icon-144x144.png +0 -0
- data/assets/favicon/apple-icon-152x152.png +0 -0
- data/assets/favicon/apple-icon-180x180.png +0 -0
- data/assets/favicon/apple-icon-57x57.png +0 -0
- data/assets/favicon/apple-icon-60x60.png +0 -0
- data/assets/favicon/apple-icon-72x72.png +0 -0
- data/assets/favicon/apple-icon-76x76.png +0 -0
- data/assets/favicon/apple-icon-precomposed.png +0 -0
- data/assets/favicon/apple-icon.png +0 -0
- data/assets/favicon/apple-touch-icon.png +0 -0
- data/assets/favicon/browserconfig.xml +11 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon-96x96.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/manifest.json +41 -0
- data/assets/favicon/ms-icon-144x144.png +0 -0
- data/assets/favicon/ms-icon-150x150.png +0 -0
- data/assets/favicon/ms-icon-310x310.png +0 -0
- data/assets/favicon/ms-icon-70x70.png +0 -0
- data/assets/fonts/LICENSE.txt +93 -0
- data/assets/fonts/OTF/SourceSansPro-Black.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-BlackIt.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-Bold.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-BoldIt.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-ExtraLight.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-ExtraLightIt.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-It.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-Light.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-LightIt.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-Regular.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-Semibold.otf +0 -0
- data/assets/fonts/OTF/SourceSansPro-SemiboldIt.otf +0 -0
- data/assets/fonts/TTF/SourceSansPro-Black.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-BlackIt.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-Bold.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-BoldIt.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-ExtraLight.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-ExtraLightIt.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-It.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-Light.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-LightIt.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-Regular.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-Semibold.ttf +0 -0
- data/assets/fonts/TTF/SourceSansPro-SemiboldIt.ttf +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Italic.otf +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Italic.otf.woff +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Italic.otf.woff2 +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Italic.ttf +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Italic.ttf.woff +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Italic.ttf.woff2 +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Roman.otf +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Roman.otf.woff +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Roman.otf.woff2 +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Roman.ttf +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Roman.ttf.woff +0 -0
- data/assets/fonts/VAR/SourceSansVariable-Roman.ttf.woff2 +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-Black.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-BlackIt.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-Bold.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-BoldIt.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-ExtraLight.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-ExtraLightIt.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-It.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-Light.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-LightIt.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-Regular.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-Semibold.otf.woff +0 -0
- data/assets/fonts/WOFF/OTF/SourceSansPro-SemiboldIt.otf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-Black.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-BlackIt.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-Bold.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-BoldIt.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-ExtraLight.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-ExtraLightIt.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-It.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-Light.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-LightIt.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-Regular.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-Semibold.ttf.woff +0 -0
- data/assets/fonts/WOFF/TTF/SourceSansPro-SemiboldIt.ttf.woff +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-Black.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-BlackIt.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-Bold.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-BoldIt.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-ExtraLight.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-ExtraLightIt.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-It.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-Light.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-LightIt.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-Regular.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-Semibold.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/OTF/SourceSansPro-SemiboldIt.otf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-Black.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-BlackIt.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-BoldIt.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-ExtraLight.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-ExtraLightIt.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-It.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-Light.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-LightIt.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2 +0 -0
- data/assets/fonts/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2 +0 -0
- data/assets/fonts/apercu-bold-pro.eot +0 -0
- data/assets/fonts/apercu-bold-pro.ttf +0 -0
- data/assets/fonts/apercu-bold-pro.woff +0 -0
- data/assets/fonts/apercu-bold-pro.woff2 +0 -0
- data/assets/fonts/apercu-medium-pro.eot +0 -0
- data/assets/fonts/apercu-medium-pro.ttf +0 -0
- data/assets/fonts/apercu-medium-pro.woff +0 -0
- data/assets/fonts/apercu-medium-pro.woff2 +0 -0
- data/assets/fonts/apercu-regular-pro.eot +0 -0
- data/assets/fonts/apercu-regular-pro.ttf +0 -0
- data/assets/fonts/apercu-regular-pro.woff +0 -0
- data/assets/fonts/apercu-regular-pro.woff2 +0 -0
- data/assets/images/download.svg +9 -0
- metadata +315 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e73318dca48bad376050a513f4690ef4df3889a1
|
4
|
+
data.tar.gz: 866d2520bbd1bb9f9bc97cf7b7be64fb547ac1f4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 39a2019de5c279715e5d433173ec74e420e5f56b05d595513abc13e1b0fc06958e635a90e4dc57a75111b31658584184d4dda0c5a561b58e5c444c2ec42a8c18
|
7
|
+
data.tar.gz: cdf3999e1b9eb86527a27c793c2e2a6e4ab0021eff1a5f0a2673bd6d70f0227977574fba420892033328c3d9d78a2798917cd2fc56879fbe050b82fe3a88ed69
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 lislis
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
# okf-pub
|
2
|
+
|
3
|
+
A Jekyll theme for online publications.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's `Gemfile`:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "okf-pub"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: okf-pub
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install okf-pub
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
This is a Jekyll theme for publications. It will render all `_content` into a single html file and generate a navigation with jump links.
|
30
|
+
|
31
|
+
Because of that this theme only has one layout, `home`, to be used in your `index.md` like so:
|
32
|
+
|
33
|
+
``` yaml
|
34
|
+
---
|
35
|
+
layout: home
|
36
|
+
---
|
37
|
+
```
|
38
|
+
|
39
|
+
For the layout to find all your Markdown files, put them into `_content` and numerate the filenames and folders for Jekyll to keep the order consistent. E.g:
|
40
|
+
|
41
|
+
```
|
42
|
+
- _content/
|
43
|
+
-- 1-intro.md
|
44
|
+
-- 2-overview.md
|
45
|
+
-- 3-sections/
|
46
|
+
---- 1-subsection.md
|
47
|
+
---- 2-subsection.md
|
48
|
+
-- 4-afterword.md
|
49
|
+
```
|
50
|
+
|
51
|
+
`content` is a [collection](https://jekyllrb.com/docs/collections/), in case you were wondering.
|
52
|
+
|
53
|
+
There are a bunch of variables you should set in your config.yml to, as well.
|
54
|
+
This theme will use the following:
|
55
|
+
|
56
|
+
``` yaml
|
57
|
+
title: A title
|
58
|
+
author: Author
|
59
|
+
email: test@test.de
|
60
|
+
description: >
|
61
|
+
Description and teaser, used in a couple of places
|
62
|
+
# path to the publication as pdf
|
63
|
+
pub:
|
64
|
+
pdf: /fake/link/to.pdf
|
65
|
+
# were to link back to
|
66
|
+
mainpage:
|
67
|
+
url: //your-actual-website.tld
|
68
|
+
label: Go back to the actual website
|
69
|
+
year: 2018
|
70
|
+
# used to generate project meta content
|
71
|
+
# these are the keys that will be looked for in the project.md files
|
72
|
+
chapter:
|
73
|
+
effects:
|
74
|
+
- label: Some Key
|
75
|
+
key: somekey
|
76
|
+
- label: another Key
|
77
|
+
key: anotherkey
|
78
|
+
resources:
|
79
|
+
- label: Some Resource
|
80
|
+
key: someresource
|
81
|
+
- label: Another Resource
|
82
|
+
key: anotherresource
|
83
|
+
outcomes:
|
84
|
+
- label: Some Outcome
|
85
|
+
key: someoutcome
|
86
|
+
- label: Anoter outcome with elaborate Title
|
87
|
+
key: anotheroutcome
|
88
|
+
|
89
|
+
# Optional, matomo tracking code
|
90
|
+
# matomo:
|
91
|
+
# url: //to-your-matomo.tdl
|
92
|
+
# id: projectID
|
93
|
+
|
94
|
+
```
|
95
|
+
|
96
|
+
## Contributing
|
97
|
+
|
98
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
99
|
+
|
100
|
+
## Development
|
101
|
+
|
102
|
+
To set up your environment to develop this theme, run `bundle install`.
|
103
|
+
|
104
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
105
|
+
|
106
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
107
|
+
To add a custom directory to your theme-gem, please edit the regexp in `okf-pub.gemspec` accordingly.
|
108
|
+
|
109
|
+
## License
|
110
|
+
|
111
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{% assign frags = page.path | split: "/" %}
|
2
|
+
{% if frags.size == 2 %}
|
3
|
+
<p class="main__chapter is-size-7 is-uppercase">Kapitel {{ page.chapter }}</p>
|
4
|
+
<h1 class="title" id="{{ page.title | url_encode}}">{{ page.title }}</h1>
|
5
|
+
{% else %}
|
6
|
+
{% if page.chapter %}
|
7
|
+
<p class="main__chapter is-size-7 is-uppercase">Kapitel {{ page.chapter }}</p>
|
8
|
+
{% endif %}
|
9
|
+
<h2 class="{% if page.chapter %}title{% endif %}" id="{{ page.title | url_encode}}">{{page.title}}</h2>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<div>
|
13
|
+
{{ page.content | markdownify }}
|
14
|
+
</div>
|
15
|
+
|
16
|
+
{% include effect-chains.html %}
|
17
|
+
|
18
|
+
{% include outcomes.html %}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{% if page.problem %}
|
2
|
+
<section>
|
3
|
+
{% for x in site.chapter.effects %}
|
4
|
+
{% if page[x.key] %}
|
5
|
+
<div class="effect__block">
|
6
|
+
<h3 class="is-size-4">{{ x.label }}</h3>
|
7
|
+
{% assign collection = page[x.key] %}
|
8
|
+
<ol class="effect__chain">
|
9
|
+
{% for item in collection %}
|
10
|
+
{% include effect-item.html %}
|
11
|
+
{% endfor %}
|
12
|
+
</ol>
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
15
|
+
{% endfor %}
|
16
|
+
</section>
|
17
|
+
<hr>
|
18
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- seo -%}
|
6
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
7
|
+
{%- feed_meta -%}
|
8
|
+
|
9
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
10
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
|
11
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
|
12
|
+
<link rel="manifest" href="/assets/favicon/manifest.json">
|
13
|
+
<link rel="mask-icon" href="/assets/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
14
|
+
<link rel="shortcut icon" href="/assets/favicon/favicon.ico">
|
15
|
+
<meta name="msapplication-TileColor" content="#ffffff">
|
16
|
+
<meta name="msapplication-config" content="/assets/favicon/browserconfig.xml">
|
17
|
+
<meta name="theme-color" content="#ffffff">
|
18
|
+
|
19
|
+
{%- if jekyll.environment == 'production' and site.matomo -%}
|
20
|
+
{%- include matomo.html -%}
|
21
|
+
{%- endif -%}
|
22
|
+
</head>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<header class="header" id="menutoggle">
|
2
|
+
<a href="#content" class="show-on-focus skip">Zum Inhalt skippen</a>
|
3
|
+
<div class="header__visible">
|
4
|
+
<div class="header__toggle">
|
5
|
+
<a href="#menutoggle" class="toggle burger" title="Menü ausklappen">
|
6
|
+
<svg viewBox="0 0 100 100" width="60px" height="40px" class="toggle__icon">
|
7
|
+
<rect x="0" y="38" width="100" height="5" class="toggle__r" />
|
8
|
+
<rect x="0" y="63" width="100" height="5" class="toggle__l" />
|
9
|
+
</svg>
|
10
|
+
</a>
|
11
|
+
<a href="#" class="toggle cross" title="Menü einklappen">
|
12
|
+
<svg viewBox="0 0 100 100" width="60px" height="40px" class="toggle__icon">
|
13
|
+
<rect x="0" y="38" width="100" height="5" class="toggle__r" />
|
14
|
+
<rect x="0" y="63" width="100" height="5" class="toggle__l" />
|
15
|
+
</svg>
|
16
|
+
</a>
|
17
|
+
</div>
|
18
|
+
<div class="header__title">
|
19
|
+
<h2>{{ site.title }}</h2>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<div class="header__toggleble">
|
23
|
+
<nav class="header__nav">
|
24
|
+
<h2 class="header__nav-title is-size-5">Inhalt</h2>
|
25
|
+
<ol>
|
26
|
+
{% for page in site.content %}
|
27
|
+
{% assign frags = page.path | split: "/" %}
|
28
|
+
<li class="{% if frags.size == 2 %}toplevel{% else %}sublevel{% endif %}">
|
29
|
+
<a href="#{{ page.title | url_encode}}">{{ page.title }}</a>
|
30
|
+
</li>
|
31
|
+
{% endfor %}
|
32
|
+
</ol>
|
33
|
+
</nav>
|
34
|
+
<p class="header__footer"><a href="{{ site.mainpage.url }}"><- {{ site.mainpage.label }}</a></p>
|
35
|
+
</div>
|
36
|
+
</header>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Matomo -->
|
2
|
+
<script type="text/javascript">
|
3
|
+
var _paq = window._paq || [];
|
4
|
+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
5
|
+
_paq.push(['trackPageView']);
|
6
|
+
_paq.push(['enableLinkTracking']);
|
7
|
+
(function() {
|
8
|
+
var u="{{ site.matomo.url }}";
|
9
|
+
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
10
|
+
_paq.push(['setSiteId', {{ site.matomo.id }}]);
|
11
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
12
|
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
13
|
+
})();
|
14
|
+
</script>
|
15
|
+
<!-- End Matomo Code -->
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{% if page.effect %}
|
2
|
+
<section class="chapter">
|
3
|
+
<h2>Was ist {{ site.mainpage.year }} passiert?</h2>
|
4
|
+
|
5
|
+
{% if page.resources %}
|
6
|
+
<div class="chapter__resources">
|
7
|
+
<h3>Resourcen</h3>
|
8
|
+
|
9
|
+
{% for y in site.chapter.resources %}
|
10
|
+
{% if page.resources[y.key] %}
|
11
|
+
<div class="chapter__item">
|
12
|
+
<h4>{{ y.label }}</h4>
|
13
|
+
<img src="{{ page.resources[y.key].img }}"
|
14
|
+
alt="{{ page.resources[y.key].alt }}">
|
15
|
+
</div>
|
16
|
+
{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
</div>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
<div class="chapter__outcomes">
|
22
|
+
{% for x in site.chapter.outcomes %}
|
23
|
+
{% if page[x.key] %}
|
24
|
+
<div class="columns chapter__item">
|
25
|
+
<h3 class="column is-one-third">{{ x.label }}</h3>
|
26
|
+
<div class="column is-two-thirds no-inner-margin">
|
27
|
+
{{ page[x.key] | markdownify}}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
{% endif %}
|
31
|
+
{% endfor %}
|
32
|
+
</div>
|
33
|
+
</section>
|
34
|
+
{% endif %}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "de" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main class="page-content" aria-label="Content" id="content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{%- include footer.html -%}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="hero is-light is-fullheight">
|
6
|
+
<div class="hero-body">
|
7
|
+
<div class="container">
|
8
|
+
<div class="colums">
|
9
|
+
<div class="column is-three-quarters-mobile is-two-thirds-tablet is-half-desktop">
|
10
|
+
<h1 class="title is-spaced is-size-1">
|
11
|
+
{{ site.title }}
|
12
|
+
</h1>
|
13
|
+
<h2 class="subtitle">
|
14
|
+
{{ site.description }}
|
15
|
+
</h2>
|
16
|
+
{% if site.pub and site.pub.pdf %}
|
17
|
+
<a href="{{ site.pub.pdf }}" class="button is-link is-uppercase">
|
18
|
+
<span>Download PDF</span>
|
19
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
|
20
|
+
width="20px" height="20px" class="icon-download">
|
21
|
+
<title>download icon</title>
|
22
|
+
<path d="M15 84 H 85" fill="transparent" stroke="white" stroke-width="7"
|
23
|
+
stroke-linecap="square" />
|
24
|
+
<path d="M50 10 V 70" fill="transparent" stroke="white"
|
25
|
+
stroke-width="7" stroke-linecap="round" />
|
26
|
+
<path d="M25 50 L 50 70 L 75 50"
|
27
|
+
fill="transparent" stroke="white"
|
28
|
+
stroke-width="7" stroke-linecap="round"/>
|
29
|
+
</svg>
|
30
|
+
</a>
|
31
|
+
{% endif %}
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</section>
|
37
|
+
<article>
|
38
|
+
{% for page in site.content %}
|
39
|
+
<section class="main columns">
|
40
|
+
<div class="main__img column is-half">
|
41
|
+
{% if page.visual %}
|
42
|
+
<img src="{{ page.visual.img}}"
|
43
|
+
alt="{{ page.visual.alt }}"
|
44
|
+
class="main__img__img">
|
45
|
+
{% endif%}
|
46
|
+
</div>
|
47
|
+
<div class="main__copy column is-half">
|
48
|
+
{% include chapters.html %}
|
49
|
+
</div>
|
50
|
+
</section>
|
51
|
+
{% endfor %}
|
52
|
+
</article>
|
data/_sass/_a11y.sass
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
.skip
|
2
|
+
background-color: $primary
|
3
|
+
color: $white
|
4
|
+
font-size: 1.3rem
|
5
|
+
padding: 1em
|
6
|
+
text-decoration: none
|
7
|
+
&:focus
|
8
|
+
outline: 1px dashed $white
|
9
|
+
|
10
|
+
.sr-only,
|
11
|
+
.show-on-focus
|
12
|
+
height: 1px
|
13
|
+
overflow: hidden
|
14
|
+
position: absolute
|
15
|
+
width: 1px
|
16
|
+
|
17
|
+
.show-on-focus
|
18
|
+
clip: rect(1px,1px,1px,1px)
|
19
|
+
margin: 0
|
20
|
+
|
21
|
+
&:focus
|
22
|
+
clip: auto
|
23
|
+
height: auto
|
24
|
+
width: auto
|
25
|
+
z-index: 20
|