j1-template 2021.1.8 → 2021.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +4 -4
  3. data/_includes/themes/j1/modules/connectors/ads +18 -7
  4. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +6 -6
  5. data/_includes/themes/j1/modules/connectors/analytics +17 -3
  6. data/_includes/themes/j1/modules/connectors/comments +22 -8
  7. data/_includes/themes/j1/modules/connectors/translator +20 -6
  8. data/_includes/themes/j1/procedures/global/select_location.proc +3 -3
  9. data/assets/error_pages/HTTP204.html +30 -10
  10. data/assets/error_pages/HTTP400.html +29 -8
  11. data/assets/error_pages/HTTP401.html +29 -9
  12. data/assets/error_pages/HTTP403.html +29 -8
  13. data/assets/error_pages/HTTP404.html +29 -8
  14. data/assets/error_pages/HTTP500.html +29 -8
  15. data/assets/error_pages/HTTP501.html +29 -8
  16. data/assets/error_pages/HTTP502.html +29 -8
  17. data/assets/error_pages/HTTP503.html +30 -8
  18. data/assets/themes/j1/adapter/js/cookieConsent.js +55 -51
  19. data/assets/themes/j1/adapter/js/fam.js +2 -1
  20. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +22 -7
  21. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +275 -2
  22. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -2
  23. data/lib/j1/version.rb +1 -1
  24. data/lib/starter_web/Gemfile +1 -1
  25. data/lib/starter_web/_config.yml +18 -10
  26. data/lib/starter_web/_data/j1_config.yml +1 -1
  27. data/lib/starter_web/_data/modules/cookieconsent.yml +1 -0
  28. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +10 -9
  29. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  30. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  31. data/lib/starter_web/index.html +3 -3
  32. data/lib/starter_web/package.json +2 -2
  33. data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -1
  34. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +3 -2
  35. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +20 -3
  36. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +9 -6
  37. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  38. data/lib/starter_web/utilsrv/package.json +1 -1
  39. metadata +2 -60
  40. data/assets/error_pages/HTTP520.html +0 -68
  41. data/assets/error_pages/HTTP521.html +0 -68
  42. data/assets/error_pages/HTTP533.html +0 -68
  43. data/assets/themes/j1/adapter/js/navigator.1.js +0 -896
  44. data/assets/themes/j1/adapter/js/navigator.2.js +0 -928
  45. data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +0 -58
  46. data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
  47. data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +0 -778
  48. data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +0 -5
  49. data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +0 -981
  50. data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +0 -5
  51. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
  52. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +0 -47
  53. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
  54. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
  55. data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
  56. data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
  57. data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
  58. data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
  59. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
  60. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
  61. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
  62. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +0 -10
  63. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +0 -30
  64. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
  65. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
  66. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
  67. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
  68. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
  69. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
  70. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
  71. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +0 -15
  72. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
  73. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
  74. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
  75. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
  76. data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +0 -262
  77. data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +0 -15
  78. data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +0 -1362
  79. data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +0 -4
  80. data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +0 -402
  81. data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +0 -8
  82. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +0 -206
  83. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +0 -5
  84. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +0 -126
  85. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +0 -5
  86. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +0 -101
  87. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +0 -5
  88. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +0 -105
  89. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +0 -5
  90. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +0 -107
  91. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +0 -5
  92. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +0 -478
  93. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +0 -5
  94. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +0 -342
  95. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +0 -5
  96. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +0 -527
  97. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15a82a38a067b98bdaa129c447b54600af007da3f8c9b2efae185c9b02c8d6e5
4
- data.tar.gz: 1a0e0fec2e12234a751f7fedbd90e6a58fb1689912065ecd71ef6525b119550a
3
+ metadata.gz: 97a2ffad558d631cb06dbbac5033bbd4acd2a0fd98d7008418521e49c012e463
4
+ data.tar.gz: 853ef7944411765e0c17fa317a313ce32a1d0942b64fc6a210add62929eb1a78
5
5
  SHA512:
6
- metadata.gz: 7e357cd4d5e304310dad833b2e09e15e160dcda2c02d96322226268ab235097005b1d5c0657eea5f0c9a4c0e190aa6558f134954b1c840950a038529f43c5b46
7
- data.tar.gz: d3f01f37ce3706818f700d0262601f1b9d6cb5c455894e3d7023ced9d25df22bc49e6605be195a5acb99c82c8ff94e86475f7a347d77d1a420b9dd46c9738ba5
6
+ metadata.gz: 3f16a6a99c5c13cee200aa184bb54804f1d7f4f41f32bf301198d44a896c70ebadc5aa7aa148f5a99d135aef24d4367f215f76943c1d65983be35863a10326e4
7
+ data.tar.gz: 4a29e5243834485b4c7a35174777614e6e31ff17a20b24619069772c60c6cc9ca9b27faf66fec5ce91a4de9de065a7405bc38ce20360d635147aa1c7cf835506
@@ -193,8 +193,8 @@
193
193
  {% comment %} PRELOAD CSS files
194
194
  -------------------------------------------------------------------------------- {% endcomment %}
195
195
  {% if template_config.preload.css.preload %}
196
- <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Gratulations! PRELOAD of css: enabled ] -->
197
- <!-- [SEO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of font to prioritize fetching ] -->
196
+ <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Gratulations! PRELOAD of css: enabled ] -->
197
+ <!-- [SEO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of font to prioritize fetching ] -->
198
198
  {% assign css = template_config.preload.css.css %}
199
199
  {% assign files = template_config.preload.css.files %}
200
200
  {% for file in css %}
@@ -213,8 +213,8 @@
213
213
  {% comment %} PRELOAD JS files
214
214
  -------------------------------------------------------------------------------- {% endcomment %}
215
215
  {% if template_config.preload.js.preload %}
216
- <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Gratulations! PRELOAD of js: enabled ] -->
217
- <!-- [SEO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of font to prioritize fetching ] -->
216
+ <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Gratulations! PRELOAD of js: enabled ] -->
217
+ <!-- [SEO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of font to prioritize fetching ] -->
218
218
  {% assign js = template_config.preload.js.js %}
219
219
  {% assign files = template_config.preload.js.files %}
220
220
  {% for file in js %}
@@ -22,22 +22,33 @@
22
22
  {% comment %} Variables
23
23
  -------------------------------------------------------------------------------- {% endcomment %}
24
24
  {% assign advertising = site.data.j1_config.advertising.enabled %}
25
+ {% assign advertising_page = page.advertising.enabled %}
25
26
  {% assign advertising_provider = site.data.j1_config.advertising.provider %}
26
27
 
27
28
  {% comment %} Main
28
29
  -------------------------------------------------------------------------------- {% endcomment %}
29
- <!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising (j1_config): {{advertising}} ] -->
30
- <!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising (page): {{page.advertising}}} ] -->
30
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ Check ads settings from SITE configuration ] -->
31
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ detected ads (site): {{advertising}} ] -->
31
32
 
32
- {% if advertising and page.advertising %}
33
- <!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising provider (j1_config): {{advertising_provider}}} ] -->
34
- <!-- [INFO ] [j1.modules.connectors.ads ] [ start processing load region head, layout: {{page.layout}} ] -->
33
+ {% comment %} Check ads settings from PAGE configuration
34
+ -------------------------------------------------------------------------------- {% endcomment %}
35
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ Check ads settings from PAGE configuration ] -->
36
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ detected ads (page): {{page.advertising}} ] -->
37
+
38
+ {% if advertising_page <> nil %}
39
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ overload ads settings from PAGE ] -->
40
+ {% assign advertising = advertising_page %}
41
+ {% endif %}
42
+
43
+ {% if advertising %}
44
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising provider (j1_config): {{advertising_provider}}} ] -->
45
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ start processing load region head, layout: {{page.layout}} ] -->
35
46
  {% case advertising_provider %}
36
47
  {% when "google" %}
37
- <!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Google Adsense ] -->
48
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Google Adsense ] -->
38
49
  {% include themes/{{site.template.name}}/modules/connectors/ad/google-adsense.html %}
39
50
  {% when "custom" %}
40
- <!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Custom Provider ] -->
51
+ <!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Custom Provider ] -->
41
52
  {% include themes/{{site.template.name}}/modules/connectors/ad/custom-provider.html %}
42
53
  {% endcase %}
43
54
 
@@ -26,15 +26,15 @@
26
26
  {% comment %} Main
27
27
  -------------------------------------------------------------------------------- {% endcomment %}
28
28
 
29
-
30
- <!-- Google Analytics: load the GA library -->
29
+ <!-- load the GA library -->
31
30
  <script async src="https://www.googletagmanager.com/gtag/js?id={{tracking_id}}"></script>
32
- <!-- Google Analytics: GA cookies disabled by default -->
33
- <!-- GA cookies disabled by default -->
31
+
34
32
  <!-- GA depends on the cookie consent and is enabled/disabled on OptIn/Out-->
35
- <!--script>
33
+ <!--
34
+ <script>
36
35
  window.dataLayer = window.dataLayer || [];
37
36
  function gtag(){dataLayer.push(arguments);}
38
37
  gtag('js', new Date());
39
38
  gtag('config', '{{tracking_id}}');
40
- </script-->
39
+ </script>
40
+ -->
@@ -22,15 +22,29 @@
22
22
  {% comment %} Variables
23
23
  -------------------------------------------------------------------------------- {% endcomment %}
24
24
  {% assign analytics = site.data.j1_config.analytics.enabled %}
25
+ {% assign analytics_page = page.analytics.enabled %}
25
26
  {% assign analytics_provider = site.data.j1_config.analytics.provider %}
26
27
 
27
28
 
28
29
  {% comment %} Main
29
30
  -------------------------------------------------------------------------------- {% endcomment %}
30
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics (j1_config): {{analytics}} ] -->
31
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics (page): {{page.analytics}}} ] -->
32
31
 
33
- {% if analytics and page.analytics %}
32
+ {% comment %} Check analytics settings from SITE configuration
33
+ -------------------------------------------------------------------------------- {% endcomment %}
34
+ <!-- [INFO ] [j1.modules.connectors.analytics ] [ Check analytics settings from SITE configuration ] -->
35
+ <!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics (site): {{analytics}} ] -->
36
+
37
+ {% comment %} Check analytics settings from PAGE configuration
38
+ -------------------------------------------------------------------------------- {% endcomment %}
39
+ <!-- [INFO ] [j1.modules.connectors.analytics ] [ Check analytics settings from PAGE configuration ] -->
40
+ <!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics (page): {{page.analytics}} ] -->
41
+
42
+ {% if analytics_page <> nil %}
43
+ <!-- [INFO ] [j1.modules.connectors.analytics ] [ overload analytics settings from PAGE ] -->
44
+ {% assign analytics = analytics_page %}
45
+ {% endif %}
46
+
47
+ {% if analytics %}
34
48
  <!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics provider (j1_config): {{analytics_provider}}} ] -->
35
49
  <!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] -->
36
50
  {% case analytics_provider %}
@@ -22,26 +22,40 @@
22
22
  {% comment %} Variables
23
23
  -------------------------------------------------------------------------------- {% endcomment %}
24
24
  {% assign comments = site.data.j1_config.comments.enabled %}
25
+ {% assign comments_page = page.comments.enabled %}
25
26
  {% assign comment_provider = site.data.j1_config.comments.provider %}
26
27
 
27
28
  {% comment %} Main
28
29
  -------------------------------------------------------------------------------- {% endcomment %}
29
- <!-- [INFO ] [j1.modules.connectors.comments ] [ detected comments (j1_config): {{comments}} ] -->
30
- <!-- [INFO ] [j1.modules.connectors.comments ] [ detected comments (page): {{page.comments}}} ] -->
31
30
 
32
- {% if comments and page.comments %}
33
- <!-- [INFO ] [j1.modules.connectors.comments ] [ start processing load region head, layout: {{page.layout}} ] -->
31
+ {% comment %} Check comments settings from SITE configuration
32
+ -------------------------------------------------------------------------------- {% endcomment %}
33
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ Check comments settings from SITE configuration ] -->
34
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ detected comments (site): {{comments}} ] -->
35
+
36
+ {% comment %} Check comments settings from PAGE configuration
37
+ -------------------------------------------------------------------------------- {% endcomment %}
38
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ Check comments settings from PAGE configuration ] -->
39
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ detected comments (page): {{page.comments}} ] -->
40
+
41
+ {% if comments_page <> nil %}
42
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ overload comments settings from PAGE ] -->
43
+ {% assign comments = comments_page %}
44
+ {% endif %}
45
+
46
+ {% if comments %}
47
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ start processing load region head, layout: {{page.layout}} ] -->
34
48
  {% case comment_provider %}
35
49
  {% when "disqus" %}
36
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider DISQUS ] -->
50
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider DISQUS ] -->
37
51
  {% include themes/{{site.template.name}}/modules/connectors/comment/disqus.html %}
38
52
  {% when "facebook" %}
39
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider FACEBOOK ] -->
53
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider FACEBOOK ] -->
40
54
  {% include themes/{{site.template.name}}/procedures/provider/comment/facebook.html %}
41
55
  {% when "custom" %}
42
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider CUSTOM ] -->
56
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider CUSTOM ] -->
43
57
  {% include themes/{{site.template.name}}/procedures/provider/comment/custom-provider.html %}
44
58
  {% endcase %}
45
59
 
46
60
  {% endif %}
47
- <!-- [INFO ] [j1.modules.connectors.comments ] [ end processing ] -->
61
+ <!-- [INFO ] [j1.modules.connectors.comments ] [ end processing ] -->
@@ -22,23 +22,37 @@
22
22
  {% comment %} Variables
23
23
  -------------------------------------------------------------------------------- {% endcomment %}
24
24
  {% assign translation = site.data.j1_config.translation.enabled %}
25
+ {% assign translation_page = page.translation.enabled %}
25
26
  {% assign translation_provider = site.data.j1_config.translation.provider %}
26
27
 
27
28
  {% comment %} Main
28
29
  -------------------------------------------------------------------------------- {% endcomment %}
29
- <!-- [INFO ] [j1.modules.connectors.translation ] [ detected translation (j1_config): {{translation}} ] -->
30
- <!-- [INFO ] [j1.modules.connectors.translation ] [ detected translation (page): {{page.translation}}} ] -->
30
+
31
+ {% comment %} Check translation settings from SITE configuration
32
+ -------------------------------------------------------------------------------- {% endcomment %}
33
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ Check translation settings from SITE configuration ] -->
34
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ detected translation (site): {{translation}} ] -->
35
+
36
+ {% comment %} Check translation settings from PAGE configuration
37
+ -------------------------------------------------------------------------------- {% endcomment %}
38
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ Check translation settings from PAGE configuration ] -->
39
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ detected translation (page): {{page.translation}} ] -->
40
+
41
+ {% if translation_page <> nil %}
42
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ overload translation settings from PAGE ] -->
43
+ {% assign translation = translation_page %}
44
+ {% endif %}
31
45
 
32
46
  {% if translation %}
33
- <!-- [INFO ] [j1.modules.connectors.translator ] [ start processing load region head, layout: {{page.layout}} ] -->
47
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ start processing load region head, layout: {{page.layout}} ] -->
34
48
  {% case translation_provider %}
35
49
  {% when "google" %}
36
- <!-- [INFO ] [j1.modules.connectors.translator ] [ place Google Translator ] -->
50
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ place Google Translator ] -->
37
51
  {% include themes/{{site.template.name}}/modules/connectors/translators/google-translator.html %}
38
52
  {% when "custom" %}
39
- <!-- [INFO ] [j1.modules.connectors.translator ] [ place Custom Translation Provider ] -->
53
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ place Custom Translation Provider ] -->
40
54
  {% include themes/{{site.template.name}}/modules/connectors/translators/custom-translator.html %}
41
55
  {% endcase %}
42
56
 
43
57
  {% endif %}
44
- <!-- [INFO ] [j1.modules.connectors.translator ] [ end processing ] -->
58
+ <!-- [INFO ] [j1.modules.connectors.translation ] [ end processing ] -->
@@ -81,7 +81,7 @@
81
81
  <!-- [INFO ] [j1.procedures.select_location.proc ] [ fallback location LOCAL selected: {{location_local}} ] -->
82
82
  {% capture location_source %}{{base_path}}/{{location_local}}{% endcapture %}
83
83
  {% else %}
84
- <!-- [FATAL ] [j1.procedures.select_location.proc ] [ no valid resource locator for REMOTE found ] -->
84
+ <!-- [ERROR ] [j1.procedures.select_location.proc ] [ no valid resource locator for REMOTE found ] -->
85
85
  <!-- [WARN ] [j1.procedures.select_location.proc ] [ fallback location LOCAL selected ] -->
86
86
  {% capture location_source %}{{base_path}}/{{location_local}}{% endcapture %}
87
87
  {% comment %} DISABLED !!!
@@ -97,7 +97,7 @@
97
97
  <!-- [INFO ] [j1.procedures.select_location.proc ] [ preferred location LOCAL detected: {{location_local}} ] -->
98
98
  {% capture location_source %}{{base_path}}/{{location_local}}{% endcapture %}
99
99
  {% else %}
100
- <!-- [FATAL ] [j1.procedures.select_location.proc ] [ no valid resource locator for LOCAL found ] -->
100
+ <!-- [ERROR ] [j1.procedures.select_location.proc ] [ no valid resource locator for LOCAL found ] -->
101
101
  <!-- [WARN ] [j1.procedures.select_location.proc ] [ fallback location LOCAL selected ] -->
102
102
  {% capture location_source %}{{base_path}}/{{locator}}{% endcapture %}
103
103
  {% comment %} DISABLED !!!
@@ -109,7 +109,7 @@
109
109
  {% comment %} NO valid locator detected
110
110
  -------------------------------------------------------------------------- {% endcomment %}
111
111
  {% else %}
112
- <!-- [FATAL ] [j1.procedures.select_location.proc ] [ no valid resource locator found ] -->
112
+ <!-- [ERROR ] [j1.procedures.select_location.proc ] [ no valid resource locator found ] -->
113
113
  <!-- [WARN ] [j1.procedures.select_location.proc ] [ fallback location LOCAL selected ] -->
114
114
  {% capture location_source %}{{base_path}}/{{locator}}{% endcapture %}
115
115
  {% comment %} DISABLED !!!
@@ -1,8 +1,10 @@
1
1
  ---
2
2
  regenerate: false
3
3
  permalink: /204.html
4
+ http_error: 204
4
5
  sitemap: false
5
6
  ---
7
+
6
8
  {% capture j1_cache %}
7
9
 
8
10
  {% comment %}
@@ -23,13 +25,16 @@ sitemap: false
23
25
  # HttpErrorPages are licensed under the MIT License.
24
26
  # See: https://github.com/AndiDittrich/HttpErrorPages
25
27
  # -----------------------------------------------------------------------------
28
+ # NOTE
29
+ # German translation, see: https://de.wikipedia.org/wiki/HTTP-Statuscode
30
+ # -----------------------------------------------------------------------------
26
31
  # Test data:
27
32
  # liquid_var: {{ liquid_var | debug }}
28
33
  # config: {{ config | debug }}
29
34
  # -----------------------------------------------------------------------------
30
35
  {% endcomment %}
31
36
 
32
- {% assign title = "Uups | No Content" %}
37
+ {% assign language = site.language %}
33
38
  {% assign webmaster_email = site.webmaster.email %}
34
39
  {% assign copyright_info = site.copyright %}
35
40
  {% assign favicon = site.favicon.image %}
@@ -40,29 +45,44 @@ sitemap: false
40
45
 
41
46
  {% capture brand_image %}{{images_dir}}/{{brand_image_source}}{% endcapture %}
42
47
 
48
+ {% if language != 'en' or language != 'de' %}
49
+ {% assign language = 'en' %}
50
+ {% endif %}
51
+
52
+ {% if language == 'en' %}
53
+ {% assign title = "No Content" %}
54
+ {% assign reason = "The request processed successfully. <br/> he page has been disabled for technical reasons." %}
55
+ {% assign contact_issue = "Technical Contact" %}
56
+ {% endif %}
57
+
58
+ {% if language == 'de' %}
59
+ {% assign title = "Keine Daten" %}
60
+ {% assign reason = "Die Anfrage wurde erfolgreich durchgeführt. <br/>. Diese Seite ist jedoch zurzeit aus technischen Gründen nicht verfügbar." %}
61
+ {% assign contact_issue = "Technischer Kontakt" %}
62
+ {% endif %}
63
+
43
64
  <!DOCTYPE html>
44
- <html lang="en">
65
+ <html lang="{{language}}">
45
66
  <head>
46
- <!-- Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages -->
67
+ <!-- [INFO ] [j1.error.pages ] [ Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages ] -->
68
+ <!-- [INFO ] [j1.error.pages ] [ detected language (site): {{language}} ] -->
47
69
  <meta charset="utf-8" />
48
70
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
49
71
  <meta name="viewport" content="width=device-width, initial-scale=1" />
50
72
  <meta name="robots" content="noindex, nofollow">
51
73
  <link rel="icon" type="image/ico" href="{{favicon}}">
52
- <title>{{title}}</title>
74
+ <title>{{title}} · {{page.http_error}}</title>
53
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>
54
- <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}/*! Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages */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>
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>
55
77
  </head>
56
78
  <body>
57
79
  <a href="/"><img src="{{brand_image}}" height="{{brand_image_height}}" alt="{{brand_text}}"></a>
58
80
  <div class="cover attic">
59
- <h1>No Content <small>204</small></h1>
60
- <p class="lead">This page is currently not available.<br />The page has been disabled for technical reasons.</p>
81
+ <h1>{{title}} <small>{{page.http_error}}</small></h1>
82
+ <p class="lead">{{reason}}</p>
61
83
  </div>
62
84
  <footer>
63
- <!-- p>{{copyright_info}} · Technical Contact: <a href="{{webmaster_email}}">{{webmaster_email}}</a></p -->
64
- <p>{{copyright_info}} · Technical Contact: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
65
-
85
+ <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
66
86
  </footer>
67
87
  </body>
68
88
  </html>
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  regenerate: false
3
3
  permalink: /400.html
4
+ http_error: 400
4
5
  sitemap: false
5
6
  ---
6
7
  {% capture j1_cache %}
@@ -21,13 +22,16 @@ sitemap: false
21
22
  # HttpErrorPages are licensed under the MIT License.
22
23
  # See: https://github.com/AndiDittrich/HttpErrorPages
23
24
  # -----------------------------------------------------------------------------
25
+ # NOTE
26
+ # German translation, see: https://de.wikipedia.org/wiki/HTTP-Statuscode
27
+ # -----------------------------------------------------------------------------
24
28
  # Test data:
25
29
  # liquid_var: {{ liquid_var | debug }}
26
30
  # config: {{ config | debug }}
27
31
  # -----------------------------------------------------------------------------
28
32
  {% endcomment %}
29
33
 
30
- {% assign title = "Uups | Bad Request" %}
34
+ {% assign language = site.language %}
31
35
  {% assign webmaster_email = site.webmaster.email %}
32
36
  {% assign copyright_info = site.copyright %}
33
37
  {% assign favicon = site.favicon.image %}
@@ -38,27 +42,44 @@ sitemap: false
38
42
 
39
43
  {% capture brand_image %}{{images_dir}}/{{brand_image_source}}{% endcapture %}
40
44
 
45
+ {% if language != 'en' or language != 'de' %}
46
+ {% assign language = 'en' %}
47
+ {% endif %}
48
+
49
+ {% if language == 'en' %}
50
+ {% assign title = "Bad Request" %}
51
+ {% assign reason = "The server cannot process the request. <br/> Something had happenend that is perceived to be a client error." %}
52
+ {% assign contact_issue = "Technical Contact" %}
53
+ {% endif %}
54
+
55
+ {% if language == 'de' %}
56
+ {% assign title = "Anfrage ungültig" %}
57
+ {% assign reason = "Die Nachricht war fehlerhaft aufgebaut. <br/> Der Webserver konnte die gewünschte Anfrages des Browsers nicht bearbeiten. Die Nachricht war fehlerhaft aufgebaut." %}
58
+ {% assign contact_issue = "Technischer Kontakt" %}
59
+ {% endif %}
60
+
41
61
  <!DOCTYPE html>
42
- <html lang="en">
62
+ <html lang="{{language}}">
43
63
  <head>
44
- <!-- Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages -->
64
+ <!-- [INFO ] [j1.error.pages ] [ Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages ] -->
65
+ <!-- [INFO ] [j1.error.pages ] [ detected language (site): {{language}} ] -->
45
66
  <meta charset="utf-8" />
46
67
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
47
68
  <meta name="viewport" content="width=device-width, initial-scale=1" />
48
69
  <meta name="robots" content="noindex, nofollow">
49
70
  <link rel="icon" type="image/ico" href="{{favicon}}">
50
- <title>{{title}}</title>
71
+ <title>{{title}} · {{page.http_error}}</title>
51
72
  <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>
52
- <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}/*! Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages */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>
73
+ <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>
53
74
  </head>
54
75
  <body>
55
76
  <a href="/"><img src="{{brand_image}}" height="{{brand_image_height}}" alt="{{brand_text}}"></a>
56
77
  <div class="cover attic">
57
- <h1>Bad Request <small>400</small></h1>
58
- <p class="lead">The server cannot process the request due to something that is perceived to be a client error.</p>
78
+ <h1>{{title}} <small>{{page.http_error}}</small></h1>
79
+ <p class="lead">{{reason}}</p>
59
80
  </div>
60
81
  <footer>
61
- <p>{{copyright_info}} · Technical Contact: <p>{{copyright_info}} · Technical Contact: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
82
+ <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
62
83
  </footer>
63
84
  </body>
64
85
  </html>
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  regenerate: false
3
3
  permalink: /401.html
4
+ http_error: 401
4
5
  sitemap: false
5
6
  ---
6
7
  {% capture j1_cache %}
@@ -21,14 +22,16 @@ sitemap: false
21
22
  # HttpErrorPages are licensed under the MIT License.
22
23
  # See: https://github.com/AndiDittrich/HttpErrorPages
23
24
  # -----------------------------------------------------------------------------
25
+ # NOTE
26
+ # German translation, see: https://de.wikipedia.org/wiki/HTTP-Statuscode
27
+ # -----------------------------------------------------------------------------
24
28
  # Test data:
25
29
  # liquid_var: {{ liquid_var | debug }}
26
30
  # config: {{ config | debug }}
27
31
  # -----------------------------------------------------------------------------
28
32
  {% endcomment %}
29
33
 
30
-
31
- {% assign title = "Uups | Unauthorized" %}
34
+ {% assign language = site.language %}
32
35
  {% assign webmaster_email = site.webmaster.email %}
33
36
  {% assign copyright_info = site.copyright %}
34
37
  {% assign favicon = site.favicon.image %}
@@ -39,27 +42,44 @@ sitemap: false
39
42
 
40
43
  {% capture brand_image %}{{images_dir}}/{{brand_image_source}}{% endcapture %}
41
44
 
45
+ {% if language != 'en' or language != 'de' %}
46
+ {% assign language = 'en' %}
47
+ {% endif %}
48
+
49
+ {% if language == 'en' %}
50
+ {% assign title = "Unauthorized" %}
51
+ {% assign reason = "Not authorized. <br/> The requested resource requires an authentication." %}
52
+ {% assign contact_issue = "Technical Contact" %}
53
+ {% endif %}
54
+
55
+ {% if language == 'de' %}
56
+ {% assign title = "Keine Authorisierung" %}
57
+ {% assign reason = "Keine Authorisierung. <br/> Die Anfrage kann nicht ohne gültige Authentifizierung durchgeführt werden." %}
58
+ {% assign contact_issue = "Technischer Kontakt" %}
59
+ {% endif %}
60
+
42
61
  <!DOCTYPE html>
43
- <html lang="en">
62
+ <html lang="{{language}}">
44
63
  <head>
45
- <!-- Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages -->
64
+ <!-- [INFO ] [j1.error.pages ] [ Simple HttpErrorPages | MIT License | https://github.com/AndiDittrich/HttpErrorPages ] -->
65
+ <!-- [INFO ] [j1.error.pages ] [ detected language (site): {{language}} ] -->
46
66
  <meta charset="utf-8" />
47
67
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
48
68
  <meta name="viewport" content="width=device-width, initial-scale=1" />
49
69
  <meta name="robots" content="noindex, nofollow">
50
70
  <link rel="icon" type="image/ico" href="{{favicon}}">
51
- <title>{{title}}</title>
71
+ <title>{{title}} · {{page.http_error}}</title>
52
72
  <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>
53
- <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}/*! Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages */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>
73
+ <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>
54
74
  </head>
55
75
  <body>
56
76
  <a href="/"><img src="{{brand_image}}" height="{{brand_image_height}}" alt="{{brand_text}}"></a>
57
77
  <div class="cover attic">
58
- <h1>Unauthorized <small>401</small></h1>
59
- <p class="lead">The requested resource requires an authentication.</p>
78
+ <h1>{{title}} <small>{{page.http_error}}</small></h1>
79
+ <p class="lead">{{reason}}</p>
60
80
  </div>
61
81
  <footer>
62
- <p>{{copyright_info}} · Technical Contact: <p>{{copyright_info}} · Technical Contact: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
82
+ <p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
63
83
  </footer>
64
84
  </body>
65
85
  </html>