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.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/footer/boxes/issue.proc +28 -5
  3. data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +66 -23
  4. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +0 -1
  5. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +16 -1
  6. data/_includes/themes/j1/layouts/content_generator_app.html +1 -1
  7. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +197 -219
  8. data/_includes/themes/j1/layouts/content_generator_collection.html +4 -2
  9. data/_includes/themes/j1/layouts/content_generator_page.html +4 -1
  10. data/_includes/themes/j1/layouts/content_generator_post.html +31 -23
  11. data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
  12. data/_includes/themes/j1/layouts/layout_metadata_generator.html +82 -4
  13. data/_includes/themes/j1/modules/connectors/comment/commento.html +31 -0
  14. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +7 -8
  15. data/_includes/themes/j1/modules/connectors/comment/disqus.html +12 -54
  16. data/_includes/themes/j1/modules/connectors/comment/facebook.html +7 -8
  17. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +33 -0
  18. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +31 -0
  19. data/_includes/themes/j1/modules/connectors/comments +3 -0
  20. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +27 -5
  21. data/_includes/themes/j1/procedures/posts/pager.proc +123 -0
  22. data/_layouts/default.html +52 -1
  23. data/assets/data/cookieconsent.html +0 -2
  24. data/assets/data/disqus.js +81 -0
  25. data/assets/data/hyvor.js +72 -0
  26. data/assets/data/menu.html +1 -1
  27. data/assets/data/mmenu_toc.html +20 -1
  28. data/assets/data/panel.html +28 -7
  29. data/assets/error_pages/HTTP204.html +2 -1
  30. data/assets/error_pages/HTTP400.html +2 -1
  31. data/assets/error_pages/HTTP401.html +2 -1
  32. data/assets/error_pages/HTTP403.html +2 -1
  33. data/assets/error_pages/HTTP404.html +2 -1
  34. data/assets/error_pages/HTTP444.html +93 -0
  35. data/assets/error_pages/HTTP500.html +2 -1
  36. data/assets/error_pages/HTTP501.html +2 -1
  37. data/assets/error_pages/HTTP502.html +2 -1
  38. data/assets/error_pages/HTTP503.html +2 -1
  39. data/assets/themes/j1/adapter/js/algolia.js +10 -10
  40. data/assets/themes/j1/adapter/js/asciidoctor.js +6 -6
  41. data/assets/themes/j1/adapter/js/attic.js +17 -17
  42. data/assets/themes/j1/adapter/js/bmd.js +6 -6
  43. data/assets/themes/j1/adapter/js/carousel.js +10 -10
  44. data/assets/themes/j1/adapter/js/clipboard.js +10 -10
  45. data/assets/themes/j1/adapter/js/cookieConsent.js +54 -27
  46. data/assets/themes/j1/adapter/js/fam.js +34 -34
  47. data/assets/themes/j1/adapter/js/framer.js +6 -6
  48. data/assets/themes/j1/adapter/js/j1.js +444 -259
  49. data/assets/themes/j1/adapter/js/justifiedGallery.js +11 -11
  50. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +19 -19
  51. data/assets/themes/j1/adapter/js/lightbox.js +6 -6
  52. data/assets/themes/j1/adapter/js/logger.js +7 -7
  53. data/assets/themes/j1/adapter/js/mmenu.js +25 -25
  54. data/assets/themes/j1/adapter/js/navigator.js +55 -48
  55. data/assets/themes/j1/adapter/js/quicksearch.js +6 -6
  56. data/assets/themes/j1/adapter/js/rouge.js +7 -7
  57. data/assets/themes/j1/adapter/js/rtable.js +6 -6
  58. data/assets/themes/j1/adapter/js/themer.js +35 -41
  59. data/assets/themes/j1/adapter/js/toccer.js +9 -9
  60. data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -3
  61. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +27 -20
  62. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -2
  63. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.js +1 -1
  64. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +74 -55
  65. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +75 -57
  66. data/lib/j1/version.rb +1 -1
  67. data/lib/starter_web/Gemfile +4 -5
  68. data/lib/starter_web/_config.yml +42 -24
  69. data/lib/starter_web/_data/blocks/footer.yml +52 -20
  70. data/lib/starter_web/_data/blocks/panel.yml +4 -4
  71. data/lib/starter_web/_data/builder/blog_navigator.yml +9 -192
  72. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +389 -0
  73. data/lib/starter_web/_data/j1_config.yml +66 -41
  74. data/lib/starter_web/_data/locales/be.yml +269 -0
  75. data/lib/starter_web/_data/locales/cs.yml +218 -0
  76. data/lib/starter_web/_data/locales/da.yml +213 -0
  77. data/lib/starter_web/_data/locales/de.yml +222 -0
  78. data/lib/starter_web/_data/locales/el.yml +215 -0
  79. data/lib/starter_web/_data/locales/en.yml +215 -0
  80. data/lib/starter_web/_data/locales/es.yml +219 -0
  81. data/lib/starter_web/_data/locales/et.yml +207 -0
  82. data/lib/starter_web/_data/locales/fi.yml +211 -0
  83. data/lib/starter_web/_data/locales/fr.yml +219 -0
  84. data/lib/starter_web/_data/locales/hr.yml +240 -0
  85. data/lib/starter_web/_data/locales/hu.yml +196 -0
  86. data/lib/starter_web/_data/locales/it.yml +215 -0
  87. data/lib/starter_web/_data/locales/lv.yml +233 -0
  88. data/lib/starter_web/_data/locales/nl.yml +213 -0
  89. data/lib/starter_web/_data/locales/pl.yml +241 -0
  90. data/lib/starter_web/_data/locales/pt.yml +217 -0
  91. data/lib/starter_web/_data/locales/readme +4 -0
  92. data/lib/starter_web/_data/locales/ro.yml +209 -0
  93. data/lib/starter_web/_data/locales/ru.yml +269 -0
  94. data/lib/starter_web/_data/locales/sk.yml +211 -0
  95. data/lib/starter_web/_data/locales/sl.yml +209 -0
  96. data/lib/starter_web/_data/locales/sv.yml +207 -0
  97. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +10 -10
  98. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -0
  99. data/lib/starter_web/_data/modules/themer.yml +1 -0
  100. data/lib/starter_web/_data/plugins/defaults/paginator.yml +7 -6
  101. data/lib/starter_web/_data/plugins/paginator.yml +3 -0
  102. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  103. data/lib/starter_web/_plugins/date-i18n.rb +67 -0
  104. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  105. data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
  106. data/lib/starter_web/assets/images/modules/attics/matthew-dockery-1920x1280.jpg +0 -0
  107. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +1 -1
  108. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -1
  109. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
  110. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +2 -2
  111. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +2 -2
  112. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +2 -2
  113. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +2 -2
  114. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
  115. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +1 -1
  116. data/lib/starter_web/index.html +3 -3
  117. data/lib/starter_web/package.json +1 -1
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +3 -0
  119. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +3 -0
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +3 -0
  121. data/lib/starter_web/pages/public/blog/navigator/archive.html +80 -12
  122. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +94 -26
  123. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +81 -12
  124. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +95 -37
  125. data/lib/starter_web/pages/public/blog/navigator/index.html +4 -0
  126. data/lib/starter_web/pages/public/cookieConsent.adoc +3 -0
  127. data/lib/starter_web/pages/public/learn/quickstart.adoc +473 -0
  128. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +0 -1
  129. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -1
  130. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +0 -2
  131. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +0 -2
  132. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -1
  133. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +0 -1
  134. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +0 -1
  135. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +0 -1
  136. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +0 -1
  137. data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
  138. data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +116 -0
  139. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +94 -0
  140. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +320 -0
  141. data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +123 -0
  142. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -1
  143. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
  144. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +81 -20
  145. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +34 -16
  146. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  147. data/lib/starter_web/utilsrv/package.json +1 -1
  148. metadata +41 -4
  149. data/_includes/themes/j1/procedures/global/pager.proc +0 -79
  150. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +0 -244
@@ -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}}">
@@ -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">Table of Contents</h1>
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 -->
@@ -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 text-lowercase">
509
+ <div class="card-footer r-text-200">
493
510
  <hr class="my-3">
494
511
  <div class="card-footer-text">
495
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i>
496
- {{post.date|date:"%Y %B, %e"}}
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>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /204.html
4
4
  http_error: 204
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
 
@@ -82,7 +83,7 @@ sitemap: false
82
83
  <div class="cover attic">
83
84
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
84
85
  <p class="lead">{{reason}}</p>
85
- <div><a href="/">{{back_url_text}}</a></div>
86
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
86
87
  </div>
87
88
  <footer>
88
89
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /400.html
4
4
  http_error: 400
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /401.html
4
4
  http_error: 401
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /403.html
4
4
  http_error: 403
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /404.html
4
4
  http_error: 404
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -0,0 +1,93 @@
1
+ ---
2
+ regenerate: false
3
+ permalink: /444.html
4
+ http_error: 444
5
+ back_url: /
6
+ sitemap: false
7
+ ---
8
+ {% capture j1_cache %}
9
+
10
+ {% comment %}
11
+ # -----------------------------------------------------------------------------
12
+ # ~/assets/http_error_pages/HTTP404.html
13
+ # Liquid TEMPLATE to generate customized HTML error pages: 404 - Page not found
14
+ #
15
+ # Product/Info:
16
+ # https://jekyll.one
17
+ #
18
+ # Copyright (C) 2021 Juergen Adams
19
+ # Copyright (C) 2020 Andi Dittrich
20
+ #
21
+ # J1 Template is licensed under the MIT License.
22
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
23
+ # HttpErrorPages are licensed under the MIT License.
24
+ # See: https://github.com/AndiDittrich/HttpErrorPages
25
+ # -----------------------------------------------------------------------------
26
+ # NOTE
27
+ # German translation, see: https://de.wikipedia.org/wiki/HTTP-Statuscode
28
+ # -----------------------------------------------------------------------------
29
+ # Test data:
30
+ # liquid_var: {{ liquid_var | debug }}
31
+ # config: {{ config | debug }}
32
+ # -----------------------------------------------------------------------------
33
+ {% endcomment %}
34
+
35
+ {% assign language = site.language %}
36
+ {% assign webmaster_email = site.webmaster.email %}
37
+ {% assign copyright_info = site.copyright %}
38
+ {% assign favicon = site.favicon.image %}
39
+ {% assign images_dir = site.asciidoc_attributes.imagesdir %}
40
+ {% assign brand_text = site.brand.text %}
41
+ {% assign brand_image_source = site.brand.image %}
42
+ {% assign brand_image_height = site.brand.image_height %}
43
+
44
+ {% capture brand_image %}{{images_dir}}/{{brand_image_source}}{% endcapture %}
45
+
46
+ {% if language != 'en' or language != 'de' %}
47
+ {% assign language = 'en' %}
48
+ {% endif %}
49
+
50
+ {% if language == 'en' %}
51
+ {% assign title = "Blocked Content" %}
52
+ {% assign back_url_text = "Back Home" %}
53
+ {% assign reason = "This page has been disabled for technical reasons. <br/> Because your privacy settings disabled personalization, this page cannot be presented." %}
54
+ {% assign contact_issue = "Technical Contact" %}
55
+ {% endif %}
56
+
57
+ {% if language == 'de' %}
58
+ {% assign title = "Gesperrter Inhalt" %}
59
+ {% assign back_url_text = "Zurück zur Startseite" %}
60
+ {% assign reason = "Diese Seite ist aus technischen Gründen nicht verfügbar. <br/>Die Einstellungen zu Ihrer Privatsphäre erlauben keine Personalisierung. Diese Seite kann daher nicht angezeigt werden." %}
61
+ {% assign contact_issue = "Technischer Kontakt" %}
62
+ {% endif %}
63
+
64
+ <!DOCTYPE html>
65
+ <html lang="{{language}}">
66
+ <head>
67
+ <!-- [INFO ] [j1.error.pages ] [ Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages ] -->
68
+ <!-- [INFO ] [j1.error.pages ] [ detected language (site): {{language}} ] -->
69
+ <meta charset="utf-8" />
70
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
71
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
72
+ <meta name="robots" content="noindex, nofollow">
73
+ <link rel="icon" type="image/ico" href="{{favicon}}">
74
+ <title>{{title}} · {{page.http_error}}</title>
75
+ <style> .attic { background-image: -webkit-gradient(linear, left top, left bottom, from(#263238), to(#3F51B5));background-image: -webkit-linear-gradient(top, #263238 0%, #3F51B5 100%);background-image: -o-linear-gradient(top, #263238 0%, #3F51B5 100%);background-image: linear-gradient(to bottom, #263238 0%, #3F51B5 100%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#263238", endColorstr="#3F51B5", GradientType=0); } </style>
76
+ <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>
77
+ </head>
78
+ <body>
79
+ <a href="/"><img src="{{brand_image}}" height="{{brand_image_height}}" alt="{{brand_text}}"></a>
80
+ <div class="cover attic">
81
+ <h1>{{title}} <small>{{page.http_error}}</small></h1>
82
+ <p class="lead">{{reason}}</p>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
84
+ </div>
85
+ <footer>
86
+ <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
87
+ </footer>
88
+ </body>
89
+ </html>
90
+
91
+ {% endcapture %}
92
+ {{ j1_cache | strip_empty_lines }}
93
+ {% assign j1_cache = nil %}
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /500.html
4
4
  http_error: 500
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /501.html
4
4
  http_error: 501
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /502.html
4
4
  http_error: 502
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -79,7 +80,7 @@ sitemap: false
79
80
  <div class="cover attic">
80
81
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
81
82
  <p class="lead">{{reason}}</p>
82
- <div><a href="/">{{back_url_text}}</a></div>
83
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
83
84
  </div>
84
85
  <footer>
85
86
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -2,6 +2,7 @@
2
2
  regenerate: false
3
3
  permalink: /503.html
4
4
  http_error: 503
5
+ back_url: /
5
6
  sitemap: false
6
7
  ---
7
8
  {% capture j1_cache %}
@@ -81,7 +82,7 @@ sitemap: false
81
82
  <div class="cover attic">
82
83
  <h1>{{title}} <small>{{page.http_error}}</small></h1>
83
84
  <p class="lead">{{reason}}</p>
84
- <div><a href="/">{{back_url_text}}</a></div>
85
+ <div><a href="{{page.back_url}}">{{back_url_text}}</a></div>
85
86
  </div>
86
87
  <footer>
87
88
  <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
@@ -119,8 +119,8 @@ j1.adapter['algolia'] = (function (j1, window) {
119
119
  }, options);
120
120
 
121
121
  _this.setState('started');
122
- logger.info('state: ' + _this.getState());
123
- logger.info('module is being initialized');
122
+ logger.info('\n' + 'state: ' + _this.getState());
123
+ logger.info('\n' + 'module is being initialized');
124
124
 
125
125
  {% comment %} Load module config from yml data
126
126
  -------------------------------------------------------------------------- {% endcomment %}
@@ -142,7 +142,7 @@ j1.adapter['algolia'] = (function (j1, window) {
142
142
 
143
143
  var hitTemplate = function(hit) {
144
144
  // state = 'start search';
145
- // logger.info('state: ' + state);
145
+ // logger.info('\n' + 'state: ' + state);
146
146
  // var re = new RegExp('^\/posts');
147
147
  // var re = new RegExp('^\/pages');
148
148
  var re = new RegExp('^\/pages|^\/posts|^\/collections');
@@ -182,7 +182,7 @@ j1.adapter['algolia'] = (function (j1, window) {
182
182
  `;
183
183
  }
184
184
  // state = 'finished search';
185
- // logger.info('state: ' + state);
185
+ // logger.info('\n' + 'state: ' + state);
186
186
  };
187
187
 
188
188
  if (moduleOptions.enabled == true) {
@@ -272,14 +272,14 @@ j1.adapter['algolia'] = (function (j1, window) {
272
272
  $('#searcher').addClass('row');
273
273
 
274
274
  _this.setState('finished');
275
- logger.info('state: ' + _this.getState());
276
- logger.info('module initialized successfully');
275
+ logger.info('\n' + 'state: ' + _this.getState());
276
+ logger.info('\n' + 'module initialized successfully');
277
277
 
278
278
  } else {
279
279
  $('#algolia-site-search').append('<p class="ml-5 mt-5 mb-5 "> <strong>Algolia Search DISABLED</strong> </p>');
280
280
  _this.setState('finished');
281
- logger.info('state: ' + _this.getState());
282
- logger.warn('module disabled');
281
+ logger.info('\n' + 'state: ' + _this.getState());
282
+ logger.warn('\n' + 'module disabled');
283
283
  }
284
284
 
285
285
  return true;
@@ -292,7 +292,7 @@ j1.adapter['algolia'] = (function (j1, window) {
292
292
  messageHandler: function (sender, message) {
293
293
  var json_message = JSON.stringify(message, undefined, 2);
294
294
 
295
- logText = 'received message from ' + sender + ': ' + json_message;
295
+ logText = '\n' + 'received message from ' + sender + ': ' + json_message;
296
296
  logger.debug(logText);
297
297
 
298
298
  // -----------------------------------------------------------------------
@@ -302,7 +302,7 @@ j1.adapter['algolia'] = (function (j1, window) {
302
302
  //
303
303
  // Place handling of command|action here
304
304
  //
305
- logger.info(message.text);
305
+ logger.info('\n' + message.text);
306
306
  }
307
307
 
308
308
  //
@@ -79,8 +79,8 @@ j1.adapter['asciidoctor'] = (function (j1, window) {
79
79
 
80
80
  // initialize state flag
81
81
  _this.setState('started');
82
- logger.info('state: ' + _this.getState());
83
- logger.info('module is being initialized');
82
+ logger.info('\n' + 'state: ' + _this.getState());
83
+ logger.info('\n' + 'module is being initialized');
84
84
 
85
85
  // -----------------------------------------------------------------------
86
86
  // Default module settings
@@ -93,7 +93,7 @@ j1.adapter['asciidoctor'] = (function (j1, window) {
93
93
  // -----------------------------------------------------------------------
94
94
  // asciidoctor initializer
95
95
  // -----------------------------------------------------------------------
96
- var log_text = 'asciidoctor is being initialized';
96
+ var log_text = '\n' + 'asciidoctor is being initialized';
97
97
  logger.info(log_text);
98
98
 
99
99
 
@@ -103,7 +103,7 @@ j1.adapter['asciidoctor'] = (function (j1, window) {
103
103
  j1.core.asciidoctor.init();
104
104
 
105
105
  _this.setState('finished');
106
- logger.info('state: ' + _this.getState());
106
+ logger.info('\n' + 'state: ' + _this.getState());
107
107
 
108
108
  clearInterval(dependencies_met_j1_finished);
109
109
  } // END dependencies_met_j1_finished
@@ -118,7 +118,7 @@ j1.adapter['asciidoctor'] = (function (j1, window) {
118
118
  messageHandler: function (sender, message) {
119
119
  var json_message = JSON.stringify(message, undefined, 2);
120
120
 
121
- logText = 'received message from ' + sender + ': ' + json_message;
121
+ logText = '\n' + 'received message from ' + sender + ': ' + json_message;
122
122
  logger.debug(logText);
123
123
 
124
124
  // -----------------------------------------------------------------------
@@ -128,7 +128,7 @@ j1.adapter['asciidoctor'] = (function (j1, window) {
128
128
  //
129
129
  // Place handling of command|action here
130
130
  //
131
- logger.info(message.text);
131
+ logger.info('\n' + message.text);
132
132
  }
133
133
 
134
134
  //