j1-template 2022.0.10 → 2022.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/advertising.js +1 -4
  3. data/assets/themes/j1/adapter/js/algolia.js +1 -4
  4. data/assets/themes/j1/adapter/js/analytics.js +237 -0
  5. data/assets/themes/j1/adapter/js/asciidoctor.js +1 -4
  6. data/assets/themes/j1/adapter/js/attic.js +1 -4
  7. data/assets/themes/j1/adapter/js/bmd.js +1 -4
  8. data/assets/themes/j1/adapter/js/carousel.js +1 -4
  9. data/assets/themes/j1/adapter/js/clipboard.js +1 -2
  10. data/assets/themes/j1/adapter/js/comments.js +387 -0
  11. data/assets/themes/j1/adapter/js/cookieConsent.js +35 -27
  12. data/assets/themes/j1/adapter/js/fab.js +1 -1
  13. data/assets/themes/j1/adapter/js/framer.js +1 -4
  14. data/assets/themes/j1/adapter/js/j1.js +52 -166
  15. data/assets/themes/j1/adapter/js/justifiedGallery.js +1 -4
  16. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -4
  17. data/assets/themes/j1/adapter/js/lightbox.js +1 -5
  18. data/assets/themes/j1/adapter/js/logger.js +1 -2
  19. data/assets/themes/j1/adapter/js/mmenu.js +2 -3
  20. data/assets/themes/j1/adapter/js/navigator.js +4 -3
  21. data/assets/themes/j1/adapter/js/quicksearch.js +1 -4
  22. data/assets/themes/j1/adapter/js/rouge.js +1 -4
  23. data/assets/themes/j1/adapter/js/rtable.js +1 -4
  24. data/assets/themes/j1/adapter/js/rtextResizer.js +1 -4
  25. data/assets/themes/j1/adapter/js/scroller.js +1 -4
  26. data/assets/themes/j1/adapter/js/themer.js +1 -1
  27. data/assets/themes/j1/adapter/js/toccer.js +1 -4
  28. data/assets/themes/j1/adapter/js/translator.js +25 -68
  29. data/assets/themes/j1/core/js/template.js +13 -5
  30. data/assets/themes/j1/core/js/template.min.js +1 -1
  31. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  32. data/lib/j1/version.rb +1 -1
  33. data/lib/starter_web/Gemfile +1 -1
  34. data/lib/starter_web/_config.yml +1 -9
  35. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  36. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  37. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  38. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  39. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  40. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  41. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  42. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  43. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  44. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  45. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  46. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  47. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  48. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  49. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  50. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  51. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  52. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  53. data/lib/starter_web/_data/j1_config.yml +0 -116
  54. data/lib/starter_web/_data/layouts/default.yml +14 -14
  55. data/lib/starter_web/_data/layouts/page.yml +7 -18
  56. data/lib/starter_web/_data/layouts/post.yml +0 -11
  57. data/lib/starter_web/_data/modules/advertising.yml +3 -2
  58. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  59. data/lib/starter_web/_data/modules/attics.yml +3 -2
  60. data/lib/starter_web/_data/modules/comments.yml +55 -0
  61. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  62. data/lib/starter_web/_data/modules/cookies.yml +2 -0
  63. data/lib/starter_web/_data/modules/defaults/advertising.yml +4 -3
  64. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  65. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  66. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  67. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  68. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  69. data/lib/starter_web/_data/modules/defaults/cookies.yml +19 -8
  70. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  71. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  72. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  73. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  74. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  75. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  76. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  77. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  78. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  79. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  80. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  81. data/lib/starter_web/_data/modules/fab.yml +3 -2
  82. data/lib/starter_web/_data/modules/framer.yml +3 -4
  83. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  84. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  85. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  86. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  87. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  88. data/lib/starter_web/_data/modules/themer.yml +2 -3
  89. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  90. data/lib/starter_web/_data/modules/translator.yml +1 -1
  91. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  92. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  93. data/lib/starter_web/_data/resources.yml +442 -309
  94. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  95. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  96. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  97. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  98. data/lib/starter_web/package.json +1 -1
  99. data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.no_ads.asciidoc → 100_present_images.base.asciidoc} +0 -0
  100. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  101. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  102. data/lib/starter_web/utilsrv/package.json +1 -1
  103. metadata +12 -26
  104. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  105. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  106. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  107. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  108. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  109. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  110. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  111. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  112. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  113. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  114. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  115. data/_includes/themes/j1/modules/connectors/comments +0 -64
  116. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  117. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  118. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  119. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  120. data/_includes/themes/j1/modules/connectors/translator +0 -58
  121. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  122. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  123. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  124. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  125. data/assets/data/disqus.js +0 -81
  126. data/assets/data/hyvor.js +0 -72
@@ -1,81 +0,0 @@
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 %}
data/assets/data/hyvor.js DELETED
@@ -1,72 +0,0 @@
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 %}