j1-template 2021.1.14 → 2021.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/blocks/footer/boxes/issue.proc +28 -5
- data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +66 -23
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +0 -1
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +16 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +197 -219
- data/_includes/themes/j1/layouts/content_generator_collection.html +3 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +30 -22
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +27 -5
- data/_includes/themes/j1/procedures/posts/pager.proc +123 -0
- data/_layouts/default.html +2 -2
- data/assets/data/cookieconsent.html +0 -2
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu_toc.html +20 -1
- data/assets/data/panel.html +28 -7
- data/assets/themes/j1/adapter/js/cookieConsent.js +5 -3
- data/assets/themes/j1/adapter/js/j1.js +51 -29
- data/assets/themes/j1/adapter/js/themer.js +12 -24
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +4 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +52 -20
- data/lib/starter_web/_data/blocks/panel.yml +4 -4
- data/lib/starter_web/_data/builder/blog_navigator.yml +9 -192
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +389 -0
- data/lib/starter_web/_data/j1_config.yml +5 -2
- data/lib/starter_web/_data/locales/be.yml +269 -0
- data/lib/starter_web/_data/locales/cs.yml +218 -0
- data/lib/starter_web/_data/locales/da.yml +213 -0
- data/lib/starter_web/_data/locales/de.yml +222 -0
- data/lib/starter_web/_data/locales/el.yml +215 -0
- data/lib/starter_web/_data/locales/en.yml +215 -0
- data/lib/starter_web/_data/locales/es.yml +219 -0
- data/lib/starter_web/_data/locales/et.yml +207 -0
- data/lib/starter_web/_data/locales/fi.yml +211 -0
- data/lib/starter_web/_data/locales/fr.yml +219 -0
- data/lib/starter_web/_data/locales/hr.yml +240 -0
- data/lib/starter_web/_data/locales/hu.yml +196 -0
- data/lib/starter_web/_data/locales/it.yml +215 -0
- data/lib/starter_web/_data/locales/lv.yml +233 -0
- data/lib/starter_web/_data/locales/nl.yml +213 -0
- data/lib/starter_web/_data/locales/pl.yml +241 -0
- data/lib/starter_web/_data/locales/pt.yml +217 -0
- data/lib/starter_web/_data/locales/readme +4 -0
- data/lib/starter_web/_data/locales/ro.yml +209 -0
- data/lib/starter_web/_data/locales/ru.yml +269 -0
- data/lib/starter_web/_data/locales/sk.yml +211 -0
- data/lib/starter_web/_data/locales/sl.yml +209 -0
- data/lib/starter_web/_data/locales/sv.yml +207 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +0 -1
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -2
- data/lib/starter_web/_data/modules/themer.yml +1 -0
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +7 -6
- data/lib/starter_web/_data/plugins/paginator.yml +3 -0
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/date-i18n.rb +67 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +76 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +90 -26
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +77 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +91 -37
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +116 -0
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +94 -0
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +320 -0
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +123 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +33 -3
- data/_includes/themes/j1/procedures/global/pager.proc +0 -79
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
{% comment %} Liquid procedures
|
20
20
|
-------------------------------------------------------------------------------- {% endcomment %}
|
21
|
-
{% capture pager %}themes/{{site.template.name}}/procedures/
|
21
|
+
{% capture pager %}themes/{{site.template.name}}/procedures/posts/pager.proc{% endcapture %}
|
22
22
|
|
23
23
|
{% comment %} Process YML config data
|
24
24
|
================================================================================ {% endcomment %}
|
@@ -39,6 +39,8 @@
|
|
39
39
|
{% assign toccer_options = toccer_defaults | merge: toccer_settings %}
|
40
40
|
{% assign tocbot_enabled = toccer_options.enabled %}
|
41
41
|
|
42
|
+
{% comment %} Variables
|
43
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
42
44
|
{% assign rtext = template_config.typography.rtext %}
|
43
45
|
{% assign page_rtext = page.rtext %}
|
44
46
|
{% assign page_rtext_size = page.rtext_size %}
|
@@ -20,7 +20,7 @@
|
|
20
20
|
-------------------------------------------------------------------------------- {% endcomment %}
|
21
21
|
{% capture create_series_header %}themes/{{site.template.name}}/procedures/posts/create_series_header.proc{% endcapture %}
|
22
22
|
{% capture create_ad_block %}themes/{{site.template.name}}/procedures/posts/create_ad_block.proc{% endcapture %}
|
23
|
-
{% capture pager %}themes/{{site.template.name}}/procedures/
|
23
|
+
{% capture pager %}themes/{{site.template.name}}/procedures/posts/pager.proc{% endcapture %}
|
24
24
|
|
25
25
|
{% comment %} Process YML config data
|
26
26
|
================================================================================ {% endcomment %}
|
@@ -30,6 +30,8 @@
|
|
30
30
|
{% assign template_config = site.data.j1_config %}
|
31
31
|
{% assign blocks = site.data.blocks %}
|
32
32
|
{% assign modules = site.data.modules %}
|
33
|
+
{% assign builder = site.data.builder %}
|
34
|
+
{% assign plugins = site.data.plugins %}
|
33
35
|
|
34
36
|
{% comment %} Set config data
|
35
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -37,44 +39,58 @@
|
|
37
39
|
{% comment %} Set config options
|
38
40
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
41
|
|
40
|
-
|
42
|
+
|
43
|
+
{% comment %} Variables
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
+
{% assign rtext = template_config.typography.rtext %}
|
41
46
|
{% assign page_rtext = page.rtext %}
|
42
47
|
{% assign page_rtext_size = page.rtext_size %}
|
43
48
|
|
44
49
|
{% if rtext %}
|
45
|
-
{% assign rtext_size =
|
50
|
+
{% assign rtext_size = template_config.typography.rtext_size %}
|
46
51
|
{% else %}
|
47
52
|
{% assign rtext_size = 0 %}
|
48
53
|
{% endif %}
|
49
54
|
|
55
|
+
{% comment %} language detection
|
56
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
57
|
+
{% if site.language == "en" %}
|
58
|
+
{% assign language = "en" %}
|
59
|
+
{% elsif site.language == "de"%}
|
60
|
+
{% assign language = "de" %}
|
61
|
+
{% else %}
|
62
|
+
{% assign language = "en" %}
|
63
|
+
{% endif %}
|
50
64
|
|
51
65
|
{% comment %} Main
|
52
66
|
-------------------------------------------------------------------------------- {% endcomment %}
|
53
67
|
<!-- [INFO ] [j1.layout.content_generator_post.html ] [ begin content ] -->
|
54
68
|
{% if page.comments %}
|
55
|
-
<!--
|
56
|
-
<!-- no sidebar, mr-* disabled -->
|
69
|
+
<!-- No space between set if comments enabled -->
|
57
70
|
<div class="container mb-0">
|
58
71
|
{% else %}
|
59
|
-
<!--
|
60
|
-
|
61
|
-
<div class="container mb-5"> <!-- Add additional space between end of article and the footer -->
|
72
|
+
<!-- Add additional space between end of article and the footer -->
|
73
|
+
<div class="container mb-5">
|
62
74
|
{% endif %}
|
63
75
|
|
64
76
|
{% comment %} Blog post CONTENT
|
65
77
|
------------------------------------------------------------------------------ {% endcomment %}
|
66
|
-
<!--
|
78
|
+
<!-- Blog post CONTENT -->
|
67
79
|
<div class="row">
|
68
80
|
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
69
81
|
<!-- Include a pager at top position -->
|
70
82
|
{% include {{pager}} %}
|
71
|
-
<!-- div class="featured-headline" -->
|
72
83
|
<div class="post-headline mt-4">
|
73
|
-
|
84
|
+
{% if language == "en" %}
|
85
|
+
<h2 class="notoc">{{ page.date | localize: "%Y %B, %e" }}</h2>
|
86
|
+
{% endif %}
|
87
|
+
{% if language == "de" %}
|
88
|
+
<h2 class="notoc">{{ page.date | localize: "%-d. %B %Y" }}</h2>
|
89
|
+
{% endif %}
|
74
90
|
</div>
|
75
91
|
|
76
92
|
{% comment %} Place Blog post SERIES Navigation
|
77
|
-
|
93
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
78
94
|
{% if page.series %}
|
79
95
|
<header class="bmd-layout-header">
|
80
96
|
<!-- jadams, 2021-02-28 added mb-3 to the navbar -->
|
@@ -103,21 +119,13 @@
|
|
103
119
|
</div>
|
104
120
|
{% endif %}
|
105
121
|
{% comment %} END SERIES Navigation
|
106
|
-
|
122
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
107
123
|
|
108
124
|
{% comment %} Inherit CONTENT
|
109
|
-
|
125
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
110
126
|
<!-- Content placed by post_content.html -->
|
111
|
-
|
112
127
|
{{content}}
|
113
128
|
|
114
|
-
{% comment %} Place additional headline for comments
|
115
|
-
------------------------------------------------------------------------ {% endcomment %}
|
116
|
-
{% if page.comments %}
|
117
|
-
<h2 id="comments_leave_comment"> Leave a comment </h2>
|
118
|
-
{% endif %}
|
119
|
-
<!-- End Content placed by post_content.html -->
|
120
|
-
|
121
129
|
{% if page.series %}</nav>{% endif %}
|
122
130
|
|
123
131
|
</div> <!-- end col-md-12 -->
|
@@ -49,6 +49,23 @@
|
|
49
49
|
{% assign posts_collate = include.items %}
|
50
50
|
{% assign limit_excerpt = include.limit_excerpt %}
|
51
51
|
|
52
|
+
{% comment %} language detection
|
53
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
54
|
+
{% if site.language == "en" %}
|
55
|
+
{% assign language = "en" %}
|
56
|
+
{% elsif site.language == "de"%}
|
57
|
+
{% assign language = "de" %}
|
58
|
+
{% else %}
|
59
|
+
{% assign language = "en" %}
|
60
|
+
{% endif %}
|
61
|
+
|
62
|
+
{% if language == "en" %}
|
63
|
+
{% assign readmore_text = "read" %}
|
64
|
+
{% endif %}
|
65
|
+
|
66
|
+
{% if language == "de" %}
|
67
|
+
{% assign readmore_text = "lesen" %}
|
68
|
+
{% endif %}
|
52
69
|
|
53
70
|
{% comment %} Main
|
54
71
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -150,7 +167,7 @@
|
|
150
167
|
<a href="{{post.url}}#readmore"
|
151
168
|
class="btn btn-secondary btn-raised btn-flex mb-0">
|
152
169
|
<i class="mdi mdi-eye mdi-lg mr-1" style="color:#FFFFFF;">
|
153
|
-
</i>
|
170
|
+
</i> {{readmore_text}} · {{post.tagline}}
|
154
171
|
</a>
|
155
172
|
</div>
|
156
173
|
</div>
|
@@ -172,7 +189,7 @@
|
|
172
189
|
<a href="{{post.url}}#readmore"
|
173
190
|
class="btn btn-secondary btn-raised btn-flex mb-0">
|
174
191
|
<i class="mdi mdi-eye mdi-lg mr-1" style="color:#FFFFFF;">
|
175
|
-
</i>
|
192
|
+
</i> {{readmore_text}} · {{post.tagline}}
|
176
193
|
</a>
|
177
194
|
</div>
|
178
195
|
</div>
|
@@ -196,11 +213,16 @@
|
|
196
213
|
{% assign comment_count = sharing.comment_count %}
|
197
214
|
{% endfor %}
|
198
215
|
|
199
|
-
<div class="card-footer r-text-200
|
216
|
+
<div class="card-footer r-text-200">
|
200
217
|
<hr class="my-3">
|
201
218
|
<div class="card-footer-text">
|
202
219
|
{% if post.date %}
|
203
|
-
|
220
|
+
{% if language == "en" %}
|
221
|
+
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%Y %B, %e"}}
|
222
|
+
{% endif %}
|
223
|
+
{% if language == "de" %}
|
224
|
+
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%-d. %B %Y"}}
|
225
|
+
{% endif %}
|
204
226
|
{% endif %}
|
205
227
|
{% if likes_count %}
|
206
228
|
<span class="font-weight-bold"> · </span>
|
@@ -213,7 +235,7 @@
|
|
213
235
|
</div>
|
214
236
|
<a class="card-link text-muted text-lowercase"
|
215
237
|
href="{{post.url}}#readmore">
|
216
|
-
|
238
|
+
{{readmore_text}} · {{post.tagline}}
|
217
239
|
</a>
|
218
240
|
</div>
|
219
241
|
{% endif %}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/procedures/posts/pager.proc
|
4
|
+
# HTML/Liquid procedure to create a pager for content of type "post|collection"
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
# NOTE:
|
15
|
+
# This pager reads the "page path" from cookie "cookieUserState". This
|
16
|
+
# data is used to return from a previous (page builder) page.
|
17
|
+
# -----------------------------------------------------------------------------
|
18
|
+
# Test data:
|
19
|
+
# liquid_var: {{ liquid_var | debug }}
|
20
|
+
# -----------------------------------------------------------------------------
|
21
|
+
{% endcomment %}
|
22
|
+
|
23
|
+
{% comment %} Liquid procedures
|
24
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
25
|
+
|
26
|
+
{% comment %} Process YML config data
|
27
|
+
================================================================================ {% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Set config files
|
30
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
+
{% assign template_config = site.data.j1_config %}
|
32
|
+
{% assign blocks = site.data.blocks %}
|
33
|
+
{% assign modules = site.data.modules %}
|
34
|
+
{% assign builder = site.data.builder %}
|
35
|
+
{% assign plugins = site.data.plugins %}
|
36
|
+
|
37
|
+
{% comment %} Set config data
|
38
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
+
{% assign blog_navigator_defaults = builder.defaults.blog_navigator.defaults %}
|
40
|
+
{% assign blog_navigator_settings = builder.blog_navigator.settings %}
|
41
|
+
|
42
|
+
{% comment %} Set config options
|
43
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
+
{% assign blog_navigator_options = blog_navigator_defaults | merge: blog_navigator_settings %}
|
45
|
+
|
46
|
+
|
47
|
+
{% comment %} Language detection
|
48
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
49
|
+
{% if {{site.language}} == "en" %}
|
50
|
+
{% assign language = "en" %}
|
51
|
+
{% elsif {{site.language}} == "de"%}
|
52
|
+
{% assign language = "de" %}
|
53
|
+
{% else %}
|
54
|
+
{% assign language = "en" %}
|
55
|
+
{% endif %}
|
56
|
+
|
57
|
+
{% comment %} Set language specific button text
|
58
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
59
|
+
{% if language == "en" %}
|
60
|
+
{% assign pager_previous_button_text = blog_navigator_options.button_text.pager.previous.en %}
|
61
|
+
{% assign pager_next_button_text = blog_navigator_options.button_text.pager.next.en %}
|
62
|
+
{% assign pager_back_button_text = blog_navigator_options.button_text.pager.back.en %}
|
63
|
+
{% assign pager_first_button_text = blog_navigator_options.button_text.pager.first.en %}
|
64
|
+
{% assign pager_last_button_text = blog_navigator_options.button_text.pager.last.en %}
|
65
|
+
{% endif %}
|
66
|
+
|
67
|
+
{% if language == "de" %}
|
68
|
+
{% assign pager_previous_button_text = blog_navigator_options.button_text.pager.previous.de %}
|
69
|
+
{% assign pager_next_button_text = blog_navigator_options.button_text.pager.next.de %}
|
70
|
+
{% assign pager_back_button_text = blog_navigator_options.button_text.pager.back.de %}
|
71
|
+
{% assign pager_first_button_text = blog_navigator_options.button_text.pager.first.de %}
|
72
|
+
{% assign pager_last_button_text = blog_navigator_options.button_text.pager.last.de %}
|
73
|
+
{% endif %}
|
74
|
+
|
75
|
+
|
76
|
+
{% comment %} Main
|
77
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
78
|
+
|
79
|
+
<div class="paginator">
|
80
|
+
<ul class="pagination raised-z0">
|
81
|
+
|
82
|
+
{% comment %} Set PREVIOUS page
|
83
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
84
|
+
{% if page.previous %}
|
85
|
+
<li class="page-item"><a class="page-link" href="{{base_path}}{{page.previous.url}}" title="{{page.previous.title}}">{{pager_previous_button_text}}</a></li>
|
86
|
+
{% else %}
|
87
|
+
<li class="page-item disabled"><a class="page-link">{{pager_first_button_text}}</a></li>
|
88
|
+
{% endif %}
|
89
|
+
|
90
|
+
{% comment %} Set BACK page (PagerURL)
|
91
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
92
|
+
<!-- [INFO ] [procedures.global.pager.proc ] [Manage the current pager settings for: {{builder_path}}] -->
|
93
|
+
<script>
|
94
|
+
var cookie_names = j1.getCookieNames();
|
95
|
+
var user_state_cookie_name = cookie_names.user_session;
|
96
|
+
var user_state = j1.readCookie(user_state_cookie_name);
|
97
|
+
var re = new RegExp('navigator|dateview|tagview|archive');
|
98
|
+
var last_pager = user_state.last_pager;
|
99
|
+
var last_pager_url;
|
100
|
+
|
101
|
+
<!-- [INFO ] [procedures.global.pager.proc ] [Calculate BackURL from User State Cookie for page: {{page.title}}] -->
|
102
|
+
if (re.test(last_pager)) {
|
103
|
+
last_pager_url = '<li class="page-item"><a class="page-link" href="' + last_pager + '" title="Back to Top Page">{{pager_back_button_text}}</a></li>';
|
104
|
+
} else {
|
105
|
+
last_pager_url = '<li class="page-item disabled"><a class="page-link" title="Back to Top Page">{{pager_back_button_text}}</a></li>';
|
106
|
+
}
|
107
|
+
document.write( last_pager_url );
|
108
|
+
j1.writeCookie({
|
109
|
+
name: user_state_cookie_name,
|
110
|
+
data: user_state
|
111
|
+
});
|
112
|
+
</script>
|
113
|
+
|
114
|
+
{% comment %} Set NEXT page
|
115
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
116
|
+
{% if page.next %}
|
117
|
+
<li class="page-item"><a class="page-link" href="{{base_path}}{{page.next.url}}" title="{{page.next.title}}">{{pager_next_button_text}}</a></li>
|
118
|
+
{% else %}
|
119
|
+
<li class="page-item disabled"><a class="page-link" href="#">{{pager_last_button_text}}</a></li>
|
120
|
+
{% endif %}
|
121
|
+
|
122
|
+
</ul>
|
123
|
+
</div>
|
data/_layouts/default.html
CHANGED
@@ -91,7 +91,7 @@ layout: compress
|
|
91
91
|
{% comment %} main
|
92
92
|
-------------------------------------------------------------------------------- {% endcomment %}
|
93
93
|
<!DOCTYPE {{ site.doctype }}>
|
94
|
-
<html lang="{{
|
94
|
+
<html lang="{{site.language}}">
|
95
95
|
|
96
96
|
{% comment %} additional debug data
|
97
97
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -188,7 +188,7 @@ layout: compress
|
|
188
188
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
189
189
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
190
190
|
<meta name="robots" content="noindex, nofollow">
|
191
|
-
<link rel="icon" type="
|
191
|
+
<link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}" />
|
192
192
|
<title>{{title}} · {{http_error}}</title>
|
193
193
|
<style> .my { margin-top: 8.5rem !important;} </style>
|
194
194
|
<style type="text/css">/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{cursor: pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{cursor: pointer ;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}body,html{width:100%;height:100%;background-color:#21232a}body{color:#fff;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.5);padding:0;min-height:100%;-webkit-box-shadow:inset 0 0 100px rgba(0,0,0,.8);box-shadow:inset 0 0 100px rgba(0,0,0,.8);display:table;font-family:"Open Sans",Arial,sans-serif}h1{font-family:inherit;font-weight:500;line-height:1.1;color:inherit;font-size:36px}h1 small{font-size:68%;font-weight:400;line-height:1;color:#777}a{text-decoration:none;color:#fff;font-size:inherit;border-bottom:dotted 1px #707070}.lead{color:silver;font-size:21px;line-height:1.4}.cover{display:table-cell;vertical-align:middle;padding:0 20px}footer{position:fixed;width:100%;height:40px;left:0;bottom:0;color:#a0a0a0;font-size:14px}</style>
|
@@ -149,8 +149,6 @@ regenerate: true
|
|
149
149
|
{% comment %} END Modal cookie consent dialog (en-EN)
|
150
150
|
-------------------------------------------------------------------------------- {% endcomment %}
|
151
151
|
|
152
|
-
|
153
|
-
|
154
152
|
{% comment %} Modal cookie consent dialog (de-DE)
|
155
153
|
-------------------------------------------------------------------------------- {% endcomment %}
|
156
154
|
<div id="consent-data-de">
|
data/assets/data/menu.html
CHANGED
@@ -407,7 +407,7 @@ regenerate: true
|
|
407
407
|
{% when 'theme_select' %}
|
408
408
|
{% if themer_options.enabled %}
|
409
409
|
<!-- [INFO ] [j1.modules.navigator.menu.html ] [found menu-type: theme_select] -->
|
410
|
-
<li class="dropdown nav-item">
|
410
|
+
<li id="themes_menu" class="dropdown nav-item">
|
411
411
|
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{menu.item}} </a>
|
412
412
|
{% if nav_menu_animation %}
|
413
413
|
<ul class="dropdown-menu raised-z{{raised_level}}">
|
data/assets/data/mmenu_toc.html
CHANGED
@@ -35,6 +35,25 @@ regenerate: true
|
|
35
35
|
{% assign production = true %}
|
36
36
|
{% endif %}
|
37
37
|
|
38
|
+
{% comment %} language detection
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
+
{% if site.language == "en" %}
|
41
|
+
{% assign language = "en" %}
|
42
|
+
{% elsif site.language == "de"%}
|
43
|
+
{% assign language = "de" %}
|
44
|
+
{% else %}
|
45
|
+
{% assign language = "en" %}
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
{% if language == "en" %}
|
49
|
+
{% assign toc_text = "Table of contents" %}
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
{% if language == "de" %}
|
53
|
+
{% assign toc_text = "Inhaltsverzeichnis" %}
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
|
38
57
|
<!-- [INFO ] [j1.assets.data.mmenu_toc.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
39
58
|
<head>
|
40
59
|
<meta name="robots" content="noindex, nofollow" />
|
@@ -45,7 +64,7 @@ regenerate: true
|
|
45
64
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_toc.html ] [Start processing: toc] -->
|
46
65
|
<div id="toc_mmenu" class="mm-side" style="display:none">
|
47
66
|
<div class="widget">
|
48
|
-
<h1 class="heading">
|
67
|
+
<h1 class="heading">{{toc_text}}</h1>
|
49
68
|
</div>
|
50
69
|
<!-- use BS4 class d-block to make sure, the sidebar is VISIBLE on ALL @media -->
|
51
70
|
<!-- use class sticky for BS4 as a replacement for former BS3 ScrollSpy -->
|
data/assets/data/panel.html
CHANGED
@@ -63,6 +63,24 @@ regenerate: true
|
|
63
63
|
{% assign production = true %}
|
64
64
|
{% endif %}
|
65
65
|
|
66
|
+
{% comment %} language detection|i18n
|
67
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
68
|
+
{% if site.language == "en" %}
|
69
|
+
{% assign language = "en" %}
|
70
|
+
{% elsif site.language == "de"%}
|
71
|
+
{% assign language = "de" %}
|
72
|
+
{% else %}
|
73
|
+
{% assign language = "en" %}
|
74
|
+
{% endif %}
|
75
|
+
|
76
|
+
{% if language == "en" %}
|
77
|
+
{% assign readmore_text = "read" %}
|
78
|
+
{% endif %}
|
79
|
+
|
80
|
+
{% if language == "de" %}
|
81
|
+
{% assign readmore_text = "lesen" %}
|
82
|
+
{% endif %}
|
83
|
+
|
66
84
|
<!-- [INFO ] [j1.assets.data.panel.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
67
85
|
<head>
|
68
86
|
<meta name="robots" content="noindex, nofollow" />
|
@@ -251,9 +269,9 @@ regenerate: true
|
|
251
269
|
<hr class="my-3">
|
252
270
|
|
253
271
|
{% if button_target == null %}
|
254
|
-
<a class="card-link text-muted" href="{{button_href}}">{{button_text}}</a>
|
272
|
+
<a class="card-link text-muted" href="{{button_href}}">{{readmore_text}} · {{button_text}}</a>
|
255
273
|
{% else %}
|
256
|
-
<a class="card-link md-grey-600" href="{{button_href}}" target="{{button_target}}">{{button_text}}</a>
|
274
|
+
<a class="card-link md-grey-600" href="{{button_href}}" target="{{button_target}}">{{readmore_text}} · {{button_text}}</a>
|
257
275
|
{% endif %}
|
258
276
|
</div>
|
259
277
|
|
@@ -434,7 +452,6 @@ regenerate: true
|
|
434
452
|
{% if key == 'category' %} {% assign post_category = value %} {% endif %}
|
435
453
|
{% if key == 'max_rows' %} {% assign rows_max = value %} {% endif %}
|
436
454
|
{% if key == 'max_posts' %} {% assign posts_max = value %} {% endif %}
|
437
|
-
{% if key == 'readmore_text' %} {% assign readmore_text = value %} {% endif %}
|
438
455
|
{% if key == 'truncatewords' %} {% assign truncatewords = value %} {% endif %}
|
439
456
|
{% if key == 'buttons' %} {% assign card_buttons = value %} {% endif %}
|
440
457
|
{% endfor %}
|
@@ -489,13 +506,17 @@ regenerate: true
|
|
489
506
|
{{post.excerpt|truncatewords:50|replace:'...',' ...'|remove:'<div class="paragraph">'|remove:'</div>'|remove:'<p>'|remove:'</p>'}}
|
490
507
|
</div>
|
491
508
|
<!-- End Body|Excerpt -->
|
492
|
-
<div class="card-footer r-text-200
|
509
|
+
<div class="card-footer r-text-200">
|
493
510
|
<hr class="my-3">
|
494
511
|
<div class="card-footer-text">
|
495
|
-
|
496
|
-
|
512
|
+
{% if language == "en" %}
|
513
|
+
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%Y %B, %e"}}
|
514
|
+
{% endif %}
|
515
|
+
{% if language == "de" %}
|
516
|
+
<i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>{{post.date | localize: "%-d. %B %Y"}}
|
517
|
+
{% endif %}
|
497
518
|
</div>
|
498
|
-
<a class="card-link text-muted"
|
519
|
+
<a class="card-link text-muted text-lowercase"
|
499
520
|
href="{{post.url}}">
|
500
521
|
{{readmore_text}} · {{post.tagline}}
|
501
522
|
</a>
|