j1-template 2022.0.7 → 2022.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  3. data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  4. data/_layouts/default.html +0 -56
  5. data/apps/public/cc/index.adoc +0 -1
  6. data/assets/data/article_navigator/index.html +0 -1
  7. data/assets/data/news_panel_posts/index.html +0 -1
  8. data/assets/error_pages/HTTP444.html +4 -4
  9. data/assets/error_pages/HTTP445.html +7 -6
  10. data/assets/error_pages/HTTP446.html +110 -0
  11. data/assets/error_pages/HTTP447.html +110 -0
  12. data/assets/error_pages/HTTP448.html +111 -0
  13. data/assets/themes/j1/adapter/js/advertising.js +413 -0
  14. data/assets/themes/j1/adapter/js/algolia.js +1 -4
  15. data/assets/themes/j1/adapter/js/analytics.js +237 -0
  16. data/assets/themes/j1/adapter/js/asciidoctor.js +1 -4
  17. data/assets/themes/j1/adapter/js/attic.js +1 -4
  18. data/assets/themes/j1/adapter/js/bmd.js +1 -4
  19. data/assets/themes/j1/adapter/js/carousel.js +1 -4
  20. data/assets/themes/j1/adapter/js/clipboard.js +1 -2
  21. data/assets/themes/j1/adapter/js/comments.js +387 -0
  22. data/assets/themes/j1/adapter/js/cookieConsent.js +103 -59
  23. data/assets/themes/j1/adapter/js/fab.js +1 -1
  24. data/assets/themes/j1/adapter/js/framer.js +1 -7
  25. data/assets/themes/j1/adapter/js/j1.js +157 -354
  26. data/assets/themes/j1/adapter/js/justifiedGallery.js +1 -4
  27. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -4
  28. data/assets/themes/j1/adapter/js/lightbox.js +1 -5
  29. data/assets/themes/j1/adapter/js/logger.js +1 -2
  30. data/assets/themes/j1/adapter/js/mmenu.js +2 -3
  31. data/assets/themes/j1/adapter/js/navigator.js +4 -3
  32. data/assets/themes/j1/adapter/js/quicksearch.js +1 -4
  33. data/assets/themes/j1/adapter/js/rouge.js +2 -5
  34. data/assets/themes/j1/adapter/js/rtable.js +1 -4
  35. data/assets/themes/j1/adapter/js/rtextResizer.js +1 -4
  36. data/assets/themes/j1/adapter/js/scroller.js +2 -5
  37. data/assets/themes/j1/adapter/js/themer.js +1 -1
  38. data/assets/themes/j1/adapter/js/toccer.js +1 -4
  39. data/assets/themes/j1/adapter/js/translator.js +121 -112
  40. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
  41. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  42. data/assets/themes/j1/core/js/template.js +13 -5
  43. data/assets/themes/j1/core/js/template.min.js +1 -1
  44. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  45. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +117 -0
  46. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +29 -13
  47. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  48. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
  49. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  50. data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
  51. data/assets/themes/j1/modules/translator/js/translator.js +97 -62
  52. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  53. data/lib/j1/version.rb +1 -1
  54. data/lib/starter_web/Gemfile +1 -1
  55. data/lib/starter_web/_config.yml +1 -13
  56. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  57. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  58. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  59. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  60. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  61. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  62. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  63. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  64. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  65. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  66. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  67. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  68. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  69. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  70. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  71. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  72. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  73. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  74. data/lib/starter_web/_data/j1_config.yml +0 -116
  75. data/lib/starter_web/_data/layouts/default.yml +21 -21
  76. data/lib/starter_web/_data/layouts/home.yml +24 -0
  77. data/lib/starter_web/_data/layouts/page.yml +7 -18
  78. data/lib/starter_web/_data/layouts/post.yml +0 -11
  79. data/lib/starter_web/_data/modules/advertising.yml +140 -12
  80. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  81. data/lib/starter_web/_data/modules/attics.yml +3 -2
  82. data/lib/starter_web/_data/modules/comments.yml +55 -0
  83. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  84. data/lib/starter_web/_data/modules/cookies.yml +3 -1
  85. data/lib/starter_web/_data/modules/defaults/advertising.yml +106 -0
  86. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  87. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  88. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  89. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  90. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +6 -6
  91. data/lib/starter_web/_data/modules/defaults/cookies.yml +90 -6
  92. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  93. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  94. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  95. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  96. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  97. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  98. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  99. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  100. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  101. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  102. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  103. data/lib/starter_web/_data/modules/fab.yml +3 -2
  104. data/lib/starter_web/_data/modules/framer.yml +3 -4
  105. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  106. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  107. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  108. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  109. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  110. data/lib/starter_web/_data/modules/themer.yml +2 -3
  111. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  112. data/lib/starter_web/_data/modules/translator.yml +1 -1
  113. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  114. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  115. data/lib/starter_web/_data/resources.yml +447 -290
  116. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  117. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  118. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  119. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  120. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  121. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  122. data/lib/starter_web/index.html +0 -1
  123. data/lib/starter_web/package.json +1 -1
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  125. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  126. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  127. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
  128. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
  129. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
  130. data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
  131. data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
  132. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
  133. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
  134. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
  135. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  136. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
  137. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
  138. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  139. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  140. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  141. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  142. data/lib/starter_web/utilsrv/package.json +1 -1
  143. metadata +24 -70
  144. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  145. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  146. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
  147. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
  148. data/_includes/themes/j1/modules/connectors/ads +0 -56
  149. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  150. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  151. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  152. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  153. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  154. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  155. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  156. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  157. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  158. data/_includes/themes/j1/modules/connectors/comments +0 -64
  159. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  160. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  161. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  162. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  163. data/_includes/themes/j1/modules/connectors/translator +0 -58
  164. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  165. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  166. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  167. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  168. data/assets/data/disqus.js +0 -81
  169. data/assets/data/hyvor.js +0 -72
  170. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
  171. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
  172. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
  173. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
  174. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  175. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  176. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
  177. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  178. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  179. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  180. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
  181. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
  182. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
  183. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  184. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  185. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
  186. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
  187. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
  188. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
  189. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
  190. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
  191. data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
  192. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
  193. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
  194. data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
  195. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
  196. data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
  197. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
  198. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
  199. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
  200. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
  201. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
  202. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
  203. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
  204. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
  205. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
  206. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
  207. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
  208. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
  209. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
  210. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
  211. data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -1,30 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/analytic/google-analytics.html
4
- # Support of analytics provider Google Analytics for J1 Template
5
- #
6
- # Product/Info:
7
- # http://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign tracking_id = site.data.j1_config.analytics.google.tracking_id %}
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ GA depends on the cookie consent and is enabled/disabled dynamically on OptIn/Out ] -->
29
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ if analytics enabled, load the GA library statically by default ] -->
30
- <script async id="google-tag-manager" src="https://www.googletagmanager.com/gtag/js?id={{tracking_id}}"></script>
@@ -1,60 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/analytics
4
- # Liquid CONNECTOR for Analytic Providers supported by J1 Template
5
- #
6
- # Product/Info:
7
- # http://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign analytics = site.data.j1_config.analytics.enabled %}
25
- {% assign analytics_page = page.analytics.enabled %}
26
- {% assign analytics_provider = site.data.j1_config.analytics.provider %}
27
-
28
-
29
- {% comment %} Main
30
- -------------------------------------------------------------------------------- {% endcomment %}
31
-
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 %}
48
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics provider (j1_config): {{analytics_provider}}} ] -->
49
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] -->
50
- {% case analytics_provider %}
51
- {% when "google" %}
52
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ place Google Analytics ] -->
53
- {% include themes/{{site.template.name}}/modules/connectors/analytic/google-analytics.html %}
54
- {% when "custom" %}
55
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ place Custom Provider ] -->
56
- {% include themes/{{site.template.name}}/modules/connectors/analytic/custom-analytics.html %}
57
- {% endcase %}
58
-
59
- {% endif %}
60
- <!-- [INFO ] [j1.modules.connectors.analytics ] [ end processing ] -->
@@ -1,31 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/commento.html
4
- # Support of commento comment provider for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- # https://commento.io/
9
- #
10
- # Copyright (C) 2021 Juergen Adams
11
- #
12
- # J1 Template is licensed under the MIT License.
13
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
- # -----------------------------------------------------------------------------
15
- # Test data:
16
- # liquid_var: {{ liquid_var | debug }}
17
- # -----------------------------------------------------------------------------
18
- {% endcomment %}
19
-
20
- {% comment %} Liquid procedures
21
- -------------------------------------------------------------------------------- {% endcomment %}
22
-
23
- {% comment %} Variables
24
- -------------------------------------------------------------------------------- {% endcomment %}
25
-
26
-
27
-
28
- {% comment %} Main
29
- -------------------------------------------------------------------------------- {% endcomment %}
30
-
31
- <!-- Your code for the custom provider goes here -->
@@ -1,30 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/custom-provider.html
4
- # Support of custom comment provider for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
-
27
- {% comment %} Main
28
- -------------------------------------------------------------------------------- {% endcomment %}
29
-
30
- <!-- Your code for the custom provider goes here -->
@@ -1,32 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/disqus.html
4
- # Support of comment provider DISQUS for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
- <!-- [INFO ] [j1.modules.connectors.disqus ] [ place the thread container: start ] -->
29
- <div id="disqus_thread"></div>
30
- <!-- [INFO ] [j1.modules.connectors.disqus ] [ connector depends on the cookie consent (personalization) ] -->
31
- <!-- [INFO ] [j1.modules.connectors.disqus ] [ connector (dynamic) JS is enabled/disabled on OptIn/Out ] -->
32
- <!-- [INFO ] [j1.modules.connectors.disqus ] [ place the thread container: end ] -->
@@ -1,30 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/custom-provider.html
4
- # Support of comment provider Facebook for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
-
27
- {% comment %} Main
28
- -------------------------------------------------------------------------------- {% endcomment %}
29
-
30
- <!-- Your code for the custom provider goes here -->
@@ -1,32 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/hyvor-talk.html
4
- # Support of hyvor talk comment provider for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- # https://talk.hyvor.com/
9
- #
10
- # Copyright (C) 2021 Juergen Adams
11
- #
12
- # J1 Template is licensed under the MIT License.
13
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
- # -----------------------------------------------------------------------------
15
- # Test data:
16
- # liquid_var: {{ liquid_var | debug }}
17
- # -----------------------------------------------------------------------------
18
- {% endcomment %}
19
-
20
- {% comment %} Liquid procedures
21
- -------------------------------------------------------------------------------- {% endcomment %}
22
-
23
- {% comment %} Variables
24
- -------------------------------------------------------------------------------- {% endcomment %}
25
-
26
- {% comment %} Main
27
- <!-- thread container places dynamically by j1 adapter
28
- -------------------------------------------------------------------------------- {% endcomment %}
29
- <!-- [INFO ] [j1.modules.connectors.hyvor ] [ connector depends on the cookie consent (personalization) ] -->
30
- <!-- [INFO ] [j1.modules.connectors.hyvor ] [ connector is enabled/disabled dynamically by j1 adapter on OptIn/Out ] -->
31
- <!-- [INFO ] [j1.modules.connectors.hyvor ] [ thread container disabled, placed dynamically by j1 adapter ] -->
32
- <!-- div id="hyvor-talk-view"></div -->
@@ -1,31 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/just-comments.html
4
- # Support of JustComments comment provider for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- # https://just-comments.com/
9
- #
10
- # Copyright (C) 2021 Juergen Adams
11
- #
12
- # J1 Template is licensed under the MIT License.
13
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
- # -----------------------------------------------------------------------------
15
- # Test data:
16
- # liquid_var: {{ liquid_var | debug }}
17
- # -----------------------------------------------------------------------------
18
- {% endcomment %}
19
-
20
- {% comment %} Liquid procedures
21
- -------------------------------------------------------------------------------- {% endcomment %}
22
-
23
- {% comment %} Variables
24
- -------------------------------------------------------------------------------- {% endcomment %}
25
-
26
-
27
-
28
- {% comment %} Main
29
- -------------------------------------------------------------------------------- {% endcomment %}
30
-
31
- <!-- Your code for the custom provider goes here -->
@@ -1,64 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments
4
- # Liquid CONNECTOR for comment providers supported by J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign comments = site.data.j1_config.comments.enabled %}
25
- {% assign comments_page = page.comments.enabled %}
26
- {% assign comment_provider = site.data.j1_config.comments.provider %}
27
-
28
- {% comment %} Main
29
- -------------------------------------------------------------------------------- {% endcomment %}
30
-
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}} ] -->
48
- {% case comment_provider %}
49
- {% when "disqus" %}
50
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider DISQUS ] -->
51
- {% include themes/{{site.template.name}}/modules/connectors/comment/disqus.html %}
52
- {% when "hyvor" %}
53
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider HYVOR ] -->
54
- {% include themes/{{site.template.name}}/modules/connectors/comment/hyvor.html %}
55
- {% when "facebook" %}
56
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider FACEBOOK ] -->
57
- {% include themes/{{site.template.name}}/procedures/provider/comment/facebook.html %}
58
- {% when "custom" %}
59
- <!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider CUSTOM ] -->
60
- {% include themes/{{site.template.name}}/procedures/provider/comment/custom-provider.html %}
61
- {% endcase %}
62
-
63
- {% endif %}
64
- <!-- [INFO ] [j1.modules.connectors.comments ] [ end processing ] -->
@@ -1,29 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/procedures/sharing
4
- # Liquid CONNECTOR for sharing providers supported by J1 Template
5
- #
6
- # Product/Info:
7
- # http://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
-
29
-
@@ -1,30 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/custom-provider.html
4
- # Support of custom comment provider for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
-
27
- {% comment %} Main
28
- -------------------------------------------------------------------------------- {% endcomment %}
29
-
30
- <!-- Your code for the custom provider goes here -->
@@ -1,32 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/comments/jotform.html
4
- # Support of survey provider JOTFORM for J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
- <!-- [INFO ] [j1.modules.connectors.jotform ] [ place the thread container: start ] -->
29
- <div id="jotform"></div>
30
- <!-- [INFO ] [j1.modules.connectors.jotform ] [ connector depends on the cookie consent (personalization) ] -->
31
- <!-- [INFO ] [j1.modules.connectors.jotform ] [ connector (dynamic) JS is enabled/disabled on OptIn/Out ] -->
32
- <!-- [INFO ] [j1.modules.connectors.jotform ] [ place the thread container: end ] -->
@@ -1,58 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/surveys
4
- # Liquid CONNECTOR for survey providers supported by J1 Template
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign comments = site.data.j1_config.survey.enabled %}
25
- {% assign comments_page = page.survey.enabled %}
26
- {% assign comment_provider = site.data.j1_config.survey.provider %}
27
-
28
- {% comment %} Main
29
- -------------------------------------------------------------------------------- {% endcomment %}
30
-
31
- {% comment %} Check comments settings from SITE configuration
32
- -------------------------------------------------------------------------------- {% endcomment %}
33
- <!-- [INFO ] [j1.modules.connectors.survey ] [ Check comments settings from SITE configuration ] -->
34
- <!-- [INFO ] [j1.modules.connectors.survey ] [ detected comments (site): {{comments}} ] -->
35
-
36
- {% comment %} Check comments settings from PAGE configuration
37
- -------------------------------------------------------------------------------- {% endcomment %}
38
- <!-- [INFO ] [j1.modules.connectors.survey ] [ Check comments settings from PAGE configuration ] -->
39
- <!-- [INFO ] [j1.modules.connectors.survey ] [ detected comments (page): {{page.survey}} ] -->
40
-
41
- {% if comments_page <> nil %}
42
- <!-- [INFO ] [j1.modules.connectors.survey ] [ overload comments settings from PAGE ] -->
43
- {% assign comments = comments_page %}
44
- {% endif %}
45
-
46
- {% if comments %}
47
- <!-- [INFO ] [j1.modules.connectors.survey ] [ start processing load region head, layout: {{page.layout}} ] -->
48
- {% case comment_provider %}
49
- {% when "jotform" %}
50
- <!-- [INFO ] [j1.modules.connectors.survey ] [ place comment provider JOTFORM ] -->
51
- {% include themes/{{site.template.name}}/modules/connectors/comment/disqus.html %}
52
- {% when "custom" %}
53
- <!-- [INFO ] [j1.modules.connectors.survey ] [ place comment provider CUSTOM ] -->
54
- {% include themes/{{site.template.name}}/procedures/provider/comment/custom-provider.html %}
55
- {% endcase %}
56
-
57
- {% endif %}
58
- <!-- [INFO ] [j1.modules.connectors.survey ] [ end processing ] -->
@@ -1,58 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/translator
4
- # Liquid CONNECTOR for translation providers supported by J1 Template
5
- #
6
- # Product/Info:
7
- # http://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign translation = site.data.j1_config.translation.enabled %}
25
- {% assign translation_page = page.translation.enabled %}
26
- {% assign translation_provider = site.data.j1_config.translation.provider %}
27
-
28
- {% comment %} Main
29
- -------------------------------------------------------------------------------- {% endcomment %}
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 %}
45
-
46
- {% if translation %}
47
- <!-- [INFO ] [j1.modules.connectors.translation ] [ start processing load region head, layout: {{page.layout}} ] -->
48
- {% case translation_provider %}
49
- {% when "google" %}
50
- <!-- [INFO ] [j1.modules.connectors.translation ] [ place Google Translator ] -->
51
- {% include themes/{{site.template.name}}/modules/connectors/translators/google-translator.html %}
52
- {% when "custom" %}
53
- <!-- [INFO ] [j1.modules.connectors.translation ] [ place Custom Translation Provider ] -->
54
- {% include themes/{{site.template.name}}/modules/connectors/translators/custom-translator.html %}
55
- {% endcase %}
56
-
57
- {% endif %}
58
- <!-- [INFO ] [j1.modules.connectors.translation ] [ end processing ] -->
@@ -1,32 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/translators/custom-translator.html
4
- # Support of your custom translation provider
5
- #
6
- # Product/Info:
7
- # http://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
-
29
- <!-- Your code for the custom provider goes here -->
30
-
31
-
32
-
@@ -1,53 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/connectors/translators/google-translator.html
4
- # Connector for the Google Translator
5
- #
6
- # Product/Info:
7
- # http://jekyll.one
8
- #
9
- # Copyright (C) 2021 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
- # -----------------------------------------------------------------------------
14
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
-
20
- {% comment %} Liquid var initialization
21
- -------------------------------------------------------------------------------- {% endcomment %}
22
-
23
- {% comment %} Set config files
24
- -------------------------------------------------------------------------------- {% endcomment %}
25
- {% assign environment = site.environment %}
26
- {% assign contentLanguage = site.language %}
27
- {% assign blocks = site.data.blocks %}
28
- {% assign modules = site.data.modules %}
29
- {% assign template_config = site.data.j1_config %}
30
-
31
- {% comment %} Set config data
32
- -------------------------------------------------------------------------------- {% endcomment %}
33
- {% assign translator_defaults = modules.defaults.translator.defaults %}
34
- {% assign translator_settings = modules.translator.settings %}
35
-
36
- {% comment %} Set config options
37
- -------------------------------------------------------------------------------- {% endcomment %}
38
- {% assign translator_options = translator_defaults | merge: translator_settings %}
39
-
40
-
41
- {% comment %} Main
42
- -------------------------------------------------------------------------------- {% endcomment %}
43
- <!-- [INFO ] [j1.modules.connectors.translation ] [ place callback for the Google Translator API ] -->
44
- <script>
45
- function googleTranslateElementInit() {
46
- var gtAPI = new google.translate.TranslateElement({
47
- pageLanguage: '{{translator_options.contentLanguage}}',
48
- layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT
49
- },
50
- 'google_translate_element');
51
- j1.adapter.translator.postTranslateElementInit(gtAPI);
52
- }
53
- </script>