j1-template 2021.1.12 → 2021.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_app.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +1 -1
  4. data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
  5. data/_includes/themes/j1/layouts/content_generator_page.html +4 -1
  6. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  7. data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
  8. data/_includes/themes/j1/layouts/layout_metadata_generator.html +55 -0
  9. data/_includes/themes/j1/modules/connectors/comment/commento.html +31 -0
  10. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +7 -8
  11. data/_includes/themes/j1/modules/connectors/comment/disqus.html +12 -54
  12. data/_includes/themes/j1/modules/connectors/comment/facebook.html +7 -8
  13. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +33 -0
  14. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +31 -0
  15. data/_includes/themes/j1/modules/connectors/comments +3 -0
  16. data/_layouts/default.html +51 -0
  17. data/assets/data/disqus.js +81 -0
  18. data/assets/data/hyvor.js +72 -0
  19. data/assets/error_pages/HTTP204.html +2 -1
  20. data/assets/error_pages/HTTP400.html +2 -1
  21. data/assets/error_pages/HTTP401.html +2 -1
  22. data/assets/error_pages/HTTP403.html +2 -1
  23. data/assets/error_pages/HTTP404.html +2 -1
  24. data/assets/error_pages/HTTP444.html +93 -0
  25. data/assets/error_pages/HTTP500.html +2 -1
  26. data/assets/error_pages/HTTP501.html +2 -1
  27. data/assets/error_pages/HTTP502.html +2 -1
  28. data/assets/error_pages/HTTP503.html +2 -1
  29. data/assets/themes/j1/adapter/js/algolia.js +10 -10
  30. data/assets/themes/j1/adapter/js/asciidoctor.js +6 -6
  31. data/assets/themes/j1/adapter/js/attic.js +17 -17
  32. data/assets/themes/j1/adapter/js/bmd.js +6 -6
  33. data/assets/themes/j1/adapter/js/carousel.js +10 -10
  34. data/assets/themes/j1/adapter/js/clipboard.js +10 -10
  35. data/assets/themes/j1/adapter/js/cookieConsent.js +46 -20
  36. data/assets/themes/j1/adapter/js/fam.js +34 -34
  37. data/assets/themes/j1/adapter/js/framer.js +6 -6
  38. data/assets/themes/j1/adapter/js/j1.js +322 -209
  39. data/assets/themes/j1/adapter/js/justifiedGallery.js +11 -11
  40. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +19 -19
  41. data/assets/themes/j1/adapter/js/lightbox.js +6 -6
  42. data/assets/themes/j1/adapter/js/logger.js +7 -7
  43. data/assets/themes/j1/adapter/js/mmenu.js +25 -25
  44. data/assets/themes/j1/adapter/js/navigator.js +48 -48
  45. data/assets/themes/j1/adapter/js/quicksearch.js +6 -6
  46. data/assets/themes/j1/adapter/js/rouge.js +7 -7
  47. data/assets/themes/j1/adapter/js/rtable.js +6 -6
  48. data/assets/themes/j1/adapter/js/themer.js +24 -20
  49. data/assets/themes/j1/adapter/js/toccer.js +9 -9
  50. data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -3
  51. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +27 -20
  52. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +287 -1
  53. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.js +1 -1
  54. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +19 -19
  55. data/lib/j1/version.rb +1 -1
  56. data/lib/starter_web/Gemfile +1 -1
  57. data/lib/starter_web/_config.yml +42 -24
  58. data/lib/starter_web/_data/j1_config.yml +22 -11
  59. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  60. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  61. data/lib/starter_web/index.html +3 -3
  62. data/lib/starter_web/package.json +1 -1
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +3 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +3 -0
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +3 -0
  66. data/lib/starter_web/pages/public/blog/navigator/archive.html +4 -0
  67. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +4 -0
  68. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +4 -0
  69. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +5 -1
  70. data/lib/starter_web/pages/public/blog/navigator/index.html +4 -0
  71. data/lib/starter_web/pages/public/cookieConsent.adoc +3 -0
  72. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +0 -1
  73. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -1
  74. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +0 -2
  75. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +0 -2
  76. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -1
  77. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +0 -1
  78. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +0 -1
  79. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +0 -1
  80. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +0 -1
  81. data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
  82. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -1
  83. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
  84. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +78 -17
  85. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -1
  86. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  87. data/lib/starter_web/utilsrv/package.json +1 -1
  88. metadata +8 -3
  89. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +0 -244
@@ -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 %}
@@ -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
  //