j1-template 2021.1.12 → 2021.1.17
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_app.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +197 -219
- data/_includes/themes/j1/layouts/content_generator_collection.html +4 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +4 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +31 -23
- data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +82 -4
- data/_includes/themes/j1/modules/connectors/comment/commento.html +31 -0
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +7 -8
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +12 -54
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +7 -8
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +33 -0
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +31 -0
- data/_includes/themes/j1/modules/connectors/comments +3 -0
- 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 +52 -1
- data/assets/data/cookieconsent.html +0 -2
- data/assets/data/disqus.js +81 -0
- data/assets/data/hyvor.js +72 -0
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu_toc.html +20 -1
- data/assets/data/panel.html +28 -7
- data/assets/error_pages/HTTP204.html +2 -1
- data/assets/error_pages/HTTP400.html +2 -1
- data/assets/error_pages/HTTP401.html +2 -1
- data/assets/error_pages/HTTP403.html +2 -1
- data/assets/error_pages/HTTP404.html +2 -1
- data/assets/error_pages/HTTP444.html +93 -0
- data/assets/error_pages/HTTP500.html +2 -1
- data/assets/error_pages/HTTP501.html +2 -1
- data/assets/error_pages/HTTP502.html +2 -1
- data/assets/error_pages/HTTP503.html +2 -1
- data/assets/themes/j1/adapter/js/algolia.js +10 -10
- data/assets/themes/j1/adapter/js/asciidoctor.js +6 -6
- data/assets/themes/j1/adapter/js/attic.js +17 -17
- data/assets/themes/j1/adapter/js/bmd.js +6 -6
- data/assets/themes/j1/adapter/js/carousel.js +10 -10
- data/assets/themes/j1/adapter/js/clipboard.js +10 -10
- data/assets/themes/j1/adapter/js/cookieConsent.js +54 -27
- data/assets/themes/j1/adapter/js/fam.js +34 -34
- data/assets/themes/j1/adapter/js/framer.js +6 -6
- data/assets/themes/j1/adapter/js/j1.js +444 -259
- data/assets/themes/j1/adapter/js/justifiedGallery.js +11 -11
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +19 -19
- data/assets/themes/j1/adapter/js/lightbox.js +6 -6
- data/assets/themes/j1/adapter/js/logger.js +7 -7
- data/assets/themes/j1/adapter/js/mmenu.js +25 -25
- data/assets/themes/j1/adapter/js/navigator.js +55 -48
- data/assets/themes/j1/adapter/js/quicksearch.js +6 -6
- data/assets/themes/j1/adapter/js/rouge.js +7 -7
- data/assets/themes/j1/adapter/js/rtable.js +6 -6
- data/assets/themes/j1/adapter/js/themer.js +35 -41
- data/assets/themes/j1/adapter/js/toccer.js +9 -9
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -3
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +27 -20
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -2
- data/assets/themes/j1/modules/lunrSearch/js/quicksearch.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +74 -55
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +75 -57
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +4 -5
- data/lib/starter_web/_config.yml +42 -24
- 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 +66 -41
- 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 +10 -10
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -0
- 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/assets/images/modules/attics/matthew-dockery-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/index.html +3 -3
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +3 -0
- data/lib/starter_web/pages/public/blog/navigator/archive.html +80 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +94 -26
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +81 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +95 -37
- data/lib/starter_web/pages/public/blog/navigator/index.html +4 -0
- data/lib/starter_web/pages/public/cookieConsent.adoc +3 -0
- data/lib/starter_web/pages/public/learn/quickstart.adoc +473 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +0 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +0 -2
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +0 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
- 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/pages/public/legal/en/100_copyright.adoc +3 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +81 -20
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +34 -16
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +41 -4
- data/_includes/themes/j1/procedures/global/pager.proc +0 -79
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +0 -244
@@ -0,0 +1,33 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/hyvor-talk.html
|
4
|
+
# Support of hyvor talk comment provider for J1 Template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://talk.hyvor.com/
|
9
|
+
#
|
10
|
+
# Copyright (C) 2021 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Template is licensed under the MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
# Test data:
|
16
|
+
# liquid_var: {{ liquid_var | debug }}
|
17
|
+
# -----------------------------------------------------------------------------
|
18
|
+
{% endcomment %}
|
19
|
+
|
20
|
+
{% comment %} Liquid procedures
|
21
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
22
|
+
|
23
|
+
{% comment %} Variables
|
24
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
25
|
+
|
26
|
+
|
27
|
+
{% comment %} Main
|
28
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ place the thread container: start ] -->
|
30
|
+
<div id="hyvor-talk-view"></div>
|
31
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ connector depends on the cookie consent (personalization) ] -->
|
32
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ connector (dynamic) JS is enabled/disabled on OptIn/Out ] -->
|
33
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ place the thread container: end ] -->
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/just-comments.html
|
4
|
+
# Support of JustComments comment provider for J1 Template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://just-comments.com/
|
9
|
+
#
|
10
|
+
# Copyright (C) 2021 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Template is licensed under the MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
# Test data:
|
16
|
+
# liquid_var: {{ liquid_var | debug }}
|
17
|
+
# -----------------------------------------------------------------------------
|
18
|
+
{% endcomment %}
|
19
|
+
|
20
|
+
{% comment %} Liquid procedures
|
21
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
22
|
+
|
23
|
+
{% comment %} Variables
|
24
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
{% comment %} Main
|
29
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
+
|
31
|
+
<!-- Your code for the custom provider goes here -->
|
@@ -49,6 +49,9 @@
|
|
49
49
|
{% when "disqus" %}
|
50
50
|
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider DISQUS ] -->
|
51
51
|
{% include themes/{{site.template.name}}/modules/connectors/comment/disqus.html %}
|
52
|
+
{% when "hyvor" %}
|
53
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider HYVOR ] -->
|
54
|
+
{% include themes/{{site.template.name}}/modules/connectors/comment/hyvor.html %}
|
52
55
|
{% when "facebook" %}
|
53
56
|
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider FACEBOOK ] -->
|
54
57
|
{% include themes/{{site.template.name}}/procedures/provider/comment/facebook.html %}
|
@@ -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 %}
|
@@ -154,6 +154,57 @@ layout: compress
|
|
154
154
|
</div>
|
155
155
|
<!-- [INFO ] [j1.layout.default.html ] [ end default writer] -->
|
156
156
|
|
157
|
+
<!-- [INFO ] [j1.layout.default.html ] [ place noscript info|error page ] -->
|
158
|
+
{% assign language = site.language %}
|
159
|
+
{% assign webmaster_email = site.webmaster.email %}
|
160
|
+
{% assign copyright_info = site.copyright %}
|
161
|
+
{% assign http_error = '444' %}
|
162
|
+
{% assign back_url = "about:blank" %}
|
163
|
+
|
164
|
+
{% capture brand_image %}{{images_dir}}/{{brand_image_source}}{% endcapture %}
|
165
|
+
|
166
|
+
{% if language != 'en' or language != 'de' %}
|
167
|
+
{% assign language = 'en' %}
|
168
|
+
{% endif %}
|
169
|
+
|
170
|
+
{% if language == 'en' %}
|
171
|
+
{% assign title = "Javascript disabled" %}
|
172
|
+
{% assign back_url_text = "Cannot continue" %}
|
173
|
+
{% assign reason = "Your current browser settings reject the use of Javascript." %}
|
174
|
+
{% assign contact_issue = "Technical Contact" %}
|
175
|
+
{% endif %}
|
176
|
+
|
177
|
+
{% if language == 'de' %}
|
178
|
+
{% assign title = "Javascript abgeschaltet" %}
|
179
|
+
{% assign back_url_text = "Fortsetzung nicht möglich" %}
|
180
|
+
{% assign reason = "Die aktuellen Einstellungen Ihres Browsers verhindern die Ausführung von Javascript." %}
|
181
|
+
{% assign contact_issue = "Technischer Kontakt" %}
|
182
|
+
{% endif %}
|
183
|
+
|
184
|
+
<noscript>
|
185
|
+
<html lang="{{language}}">
|
186
|
+
<head>
|
187
|
+
<meta charset="utf-8" />
|
188
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
189
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
190
|
+
<meta name="robots" content="noindex, nofollow">
|
191
|
+
<link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}" />
|
192
|
+
<title>{{title}} · {{http_error}}</title>
|
193
|
+
<style> .my { margin-top: 8.5rem !important;} </style>
|
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>
|
195
|
+
</head>
|
196
|
+
<body>
|
197
|
+
<div class="header my">
|
198
|
+
<h1>{{title}} <small>{{http_error}}</small></h1>
|
199
|
+
<p class="lead">{{reason}}</p>
|
200
|
+
<div><a href="{{back_url}}">{{back_url_text}}</a></div>
|
201
|
+
</div>
|
202
|
+
<footer>
|
203
|
+
<p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
|
204
|
+
</footer>
|
205
|
+
</body>
|
206
|
+
</html>
|
207
|
+
</noscript>
|
157
208
|
</body>
|
158
209
|
|
159
210
|
{% comment %} Place|Initialize module components
|
@@ -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">
|
@@ -0,0 +1,81 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/data/disqus.js
|
10
|
+
# Liquid PROCEDURE to generate the JS portion used by J1 Connector Disqus
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# https://jekyll.one
|
14
|
+
#
|
15
|
+
# Copyright (C) 2021 Juergen Adams
|
16
|
+
#
|
17
|
+
# J1 Template is licensed under the MIT License.
|
18
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
+
# -----------------------------------------------------------------------------
|
20
|
+
# Test data:
|
21
|
+
# liquid_var: {{ liquid_var | debug }}
|
22
|
+
# config: {{ config | debug }}
|
23
|
+
# -----------------------------------------------------------------------------
|
24
|
+
{% endcomment %}
|
25
|
+
|
26
|
+
{% comment %} Liquid procedures
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Set global settings
|
30
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
+
{% assign environment = site.environment %}
|
32
|
+
|
33
|
+
{% comment %} Set config files
|
34
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
+
{% assign modules = site.data.modules %}
|
36
|
+
{% assign j1_config = site.data.j1_config %}
|
37
|
+
|
38
|
+
{% comment %} Set variables
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
+
{% assign comment_provider = 'disqus' %}
|
41
|
+
{% assign site_id = j1_config.comments.disqus.site_id %}
|
42
|
+
|
43
|
+
{% comment %} Main
|
44
|
+
================================================================================ {% endcomment %}
|
45
|
+
|
46
|
+
$(document).ready(function() {
|
47
|
+
var dependencies_met_page_finished = setInterval (function () {
|
48
|
+
if (j1.getState() === 'finished') {
|
49
|
+
var disqus_shortname = '{{site_id}}';
|
50
|
+
// -----------------------------------------------------------------
|
51
|
+
// RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE
|
52
|
+
// SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
53
|
+
// LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
|
54
|
+
// https://disqus.com/admin/universalcode/#configuration-variables
|
55
|
+
// -----------------------------------------------------------------
|
56
|
+
//
|
57
|
+
// var disqus_config = function () {
|
58
|
+
// this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
59
|
+
// Replace PAGE_IDENTIFIER with your page's unique
|
60
|
+
// identifier variable
|
61
|
+
// this.page.identifier = PAGE_IDENTIFIER;
|
62
|
+
// };
|
63
|
+
//
|
64
|
+
// DON'T EDIT BELOW THIS LINE
|
65
|
+
// -----------------------------------------------------------------
|
66
|
+
(function() {
|
67
|
+
var d = document,
|
68
|
+
s = d.createElement('script');
|
69
|
+
s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
70
|
+
s.setAttribute('data-timestamp', +new Date());
|
71
|
+
(d.head || d.body).appendChild(s);
|
72
|
+
})();
|
73
|
+
clearInterval(dependencies_met_page_finished);
|
74
|
+
}
|
75
|
+
}, 25);
|
76
|
+
});
|
77
|
+
|
78
|
+
{% endcapture %}
|
79
|
+
|
80
|
+
{{ cache | strip_empty_lines }}
|
81
|
+
{% assign cache = nil %}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/data/disqus.js
|
10
|
+
# Liquid PROCEDURE to generate the JS portion used by J1 Connector Disqus
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# https://jekyll.one
|
14
|
+
#
|
15
|
+
# Copyright (C) 2021 Juergen Adams
|
16
|
+
#
|
17
|
+
# J1 Template is licensed under the MIT License.
|
18
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
+
# -----------------------------------------------------------------------------
|
20
|
+
# Test data:
|
21
|
+
# liquid_var: {{ liquid_var | debug }}
|
22
|
+
# config: {{ config | debug }}
|
23
|
+
# -----------------------------------------------------------------------------
|
24
|
+
{% endcomment %}
|
25
|
+
|
26
|
+
{% comment %} Liquid procedures
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Set global settings
|
30
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
+
{% assign environment = site.environment %}
|
32
|
+
|
33
|
+
{% comment %} Set config files
|
34
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
+
{% assign modules = site.data.modules %}
|
36
|
+
{% assign j1_config = site.data.j1_config %}
|
37
|
+
|
38
|
+
{% comment %} Set variables
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
+
{% assign comment_provider = 'hyvor' %}
|
41
|
+
{% assign site_id = j1_config.comments.hyvor.site_id %}
|
42
|
+
|
43
|
+
{% assign production = false %}
|
44
|
+
{% if environment == 'prod' or environment == 'production' %}
|
45
|
+
{% assign production = true %}
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
{% comment %} Main
|
49
|
+
================================================================================ {% endcomment %}
|
50
|
+
|
51
|
+
$(document).ready(function() {
|
52
|
+
var dependencies_met_page_finished = setInterval (function () {
|
53
|
+
if (j1.getState() === 'finished') {
|
54
|
+
// DON'T EDIT BELOW THIS LINE
|
55
|
+
// -----------------------------------------------------------------------
|
56
|
+
var site_id = {{site_id}};
|
57
|
+
(function() {
|
58
|
+
var HYVOR_TALK_WEBSITE = site_id;
|
59
|
+
var HYVOR_TALK_CONFIG = {
|
60
|
+
url: false,
|
61
|
+
id: false
|
62
|
+
};
|
63
|
+
})();
|
64
|
+
}
|
65
|
+
clearInterval(dependencies_met_page_finished);
|
66
|
+
}, 25);
|
67
|
+
});
|
68
|
+
|
69
|
+
{% endcapture %}
|
70
|
+
|
71
|
+
{{ cache | strip_empty_lines }}
|
72
|
+
{% assign cache = nil %}
|