j1-template 2022.0.8 → 2022.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) 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/apps/public/cc/index.adoc +0 -1
  5. data/assets/data/article_navigator/index.html +0 -1
  6. data/assets/data/news_panel_posts/index.html +0 -1
  7. data/assets/error_pages/HTTP445.html +5 -4
  8. data/assets/error_pages/HTTP446.html +3 -3
  9. data/assets/error_pages/HTTP447.html +110 -0
  10. data/assets/error_pages/HTTP448.html +111 -0
  11. data/assets/themes/j1/adapter/js/advertising.js +413 -0
  12. data/assets/themes/j1/adapter/js/algolia.js +1 -4
  13. data/assets/themes/j1/adapter/js/analytics.js +237 -0
  14. data/assets/themes/j1/adapter/js/asciidoctor.js +1 -4
  15. data/assets/themes/j1/adapter/js/attic.js +1 -4
  16. data/assets/themes/j1/adapter/js/bmd.js +1 -4
  17. data/assets/themes/j1/adapter/js/carousel.js +1 -4
  18. data/assets/themes/j1/adapter/js/clipboard.js +1 -2
  19. data/assets/themes/j1/adapter/js/comments.js +386 -0
  20. data/assets/themes/j1/adapter/js/cookieConsent.js +84 -51
  21. data/assets/themes/j1/adapter/js/fab.js +1 -1
  22. data/assets/themes/j1/adapter/js/framer.js +1 -7
  23. data/assets/themes/j1/adapter/js/j1.js +125 -208
  24. data/assets/themes/j1/adapter/js/justifiedGallery.js +1 -4
  25. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -4
  26. data/assets/themes/j1/adapter/js/lightbox.js +1 -5
  27. data/assets/themes/j1/adapter/js/logger.js +1 -2
  28. data/assets/themes/j1/adapter/js/mmenu.js +2 -3
  29. data/assets/themes/j1/adapter/js/navigator.js +4 -3
  30. data/assets/themes/j1/adapter/js/quicksearch.js +1 -4
  31. data/assets/themes/j1/adapter/js/rouge.js +2 -5
  32. data/assets/themes/j1/adapter/js/rtable.js +1 -4
  33. data/assets/themes/j1/adapter/js/rtextResizer.js +1 -4
  34. data/assets/themes/j1/adapter/js/scroller.js +2 -5
  35. data/assets/themes/j1/adapter/js/themer.js +1 -1
  36. data/assets/themes/j1/adapter/js/toccer.js +1 -4
  37. data/assets/themes/j1/adapter/js/translator.js +79 -124
  38. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
  39. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  40. data/assets/themes/j1/core/js/template.js +13 -5
  41. data/assets/themes/j1/core/js/template.min.js +1 -1
  42. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  43. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +117 -0
  44. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
  45. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  46. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
  47. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  48. data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
  49. data/assets/themes/j1/modules/translator/js/translator.js +1 -1
  50. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  51. data/lib/j1/version.rb +1 -1
  52. data/lib/starter_web/Gemfile +1 -1
  53. data/lib/starter_web/_config.yml +1 -13
  54. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  55. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  56. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  57. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  58. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  59. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  60. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  61. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  62. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  63. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  64. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  65. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  66. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  67. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  68. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  69. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  70. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  71. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  72. data/lib/starter_web/_data/j1_config.yml +0 -116
  73. data/lib/starter_web/_data/layouts/default.yml +21 -21
  74. data/lib/starter_web/_data/layouts/home.yml +24 -0
  75. data/lib/starter_web/_data/layouts/page.yml +7 -18
  76. data/lib/starter_web/_data/layouts/post.yml +0 -11
  77. data/lib/starter_web/_data/modules/advertising.yml +140 -12
  78. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  79. data/lib/starter_web/_data/modules/attics.yml +3 -2
  80. data/lib/starter_web/_data/modules/comments.yml +55 -0
  81. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  82. data/lib/starter_web/_data/modules/cookies.yml +3 -1
  83. data/lib/starter_web/_data/modules/defaults/advertising.yml +106 -0
  84. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  85. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  86. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  87. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  88. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  89. data/lib/starter_web/_data/modules/defaults/cookies.yml +39 -19
  90. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  91. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  92. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  93. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  94. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  95. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  96. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  97. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  98. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  99. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  100. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  101. data/lib/starter_web/_data/modules/fab.yml +3 -2
  102. data/lib/starter_web/_data/modules/framer.yml +3 -4
  103. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  104. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  105. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  106. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  107. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  108. data/lib/starter_web/_data/modules/themer.yml +2 -3
  109. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  110. data/lib/starter_web/_data/modules/translator.yml +1 -1
  111. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  112. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  113. data/lib/starter_web/_data/resources.yml +447 -290
  114. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  115. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  116. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  117. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  118. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  119. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  120. data/lib/starter_web/index.html +0 -1
  121. data/lib/starter_web/package.json +1 -1
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  125. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
  126. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
  127. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
  128. data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
  129. data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
  130. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
  131. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
  132. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
  133. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  134. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
  135. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
  136. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  137. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  138. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  139. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  140. data/lib/starter_web/utilsrv/package.json +1 -1
  141. metadata +23 -70
  142. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  143. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  144. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
  145. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
  146. data/_includes/themes/j1/modules/connectors/ads +0 -56
  147. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  148. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  149. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  150. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  151. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  152. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  153. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  154. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  155. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  156. data/_includes/themes/j1/modules/connectors/comments +0 -64
  157. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  158. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  159. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  160. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  161. data/_includes/themes/j1/modules/connectors/translator +0 -58
  162. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  163. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  164. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  165. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  166. data/assets/data/disqus.js +0 -81
  167. data/assets/data/hyvor.js +0 -72
  168. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
  169. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
  170. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
  171. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
  172. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  173. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  174. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
  175. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  176. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  177. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  178. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
  179. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
  180. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
  181. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  182. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  183. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
  184. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
  185. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
  186. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
  187. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
  188. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
  189. data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
  190. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
  191. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
  192. data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
  193. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
  194. data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
  195. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
  196. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
  197. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
  198. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
  199. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
  200. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
  201. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
  202. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
  203. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
  204. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
  205. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
  206. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
  207. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
  208. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
  209. data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -348,121 +348,5 @@ body:
348
348
  font-weight: 400
349
349
  line-height: 1.5
350
350
 
351
-
352
- # ==============================================================================
353
- # CONNECTOR configuration settings
354
- #
355
- # ------------------------------------------------------------------------------
356
-
357
- # ------------------------------------------------------------------------------
358
- # COMMENTS settings
359
- #
360
- # Set 'enabled' to false to turn off globally. Affects all pages independently
361
- # from what is set pagewise!
362
- # Set 'provider' to the provider you want to use.
363
- # ------------------------------------------------------------------------------
364
- # hyvor
365
- #
366
- # site_id: your-website-id
367
- # ------------------------------------------------------------------------------
368
- # disqus
369
- #
370
- # site_id: your-disqus-short-name
371
- # ------------------------------------------------------------------------------
372
- comments:
373
- enabled: false
374
- provider: hyvor # disqus | hyvor | commento | just-comments
375
-
376
- comments_headline:
377
- en: Leave a comment
378
- de: Kommentieren
379
-
380
- hyvor:
381
- site_id: 'hyvor-site-id'
382
-
383
- disqus:
384
- site_id: '<your-site-short-name>'
385
-
386
- # commento: # currently NOT supported
387
- # site_id: 'commento-site-id'
388
- #
389
- # just-comments: # currently NOT supported
390
- # site_id: 'just-comments-site-id'
391
-
392
- # facebook: # currently NOT supported
393
- # appid: 'facebook-app-id'
394
- # num_posts: 5
395
- # width: 580
396
- # colorscheme: light
397
-
398
- # custom: # currently NOT supported
399
- # custom_data:
400
-
401
- # ------------------------------------------------------------------------------
402
- # ANALYTICS settings
403
- #
404
- # Set 'enabled' to false to turn off globally. Affects all pages independently
405
- # from what is set pagewise!
406
- # Set 'provider' to the provider you want to use.
407
- # ------------------------------------------------------------------------------
408
- analytics:
409
- enabled: false
410
- provider: google
411
-
412
- google:
413
- tracking_id: '<your-tracking-id>'
414
-
415
- custom:
416
- custom_data:
417
-
418
- # ------------------------------------------------------------------------------
419
- # ADVERTISING settings
420
- #
421
- # Set 'enabled' to false to turn off globally. Affects all pages independently
422
- # from what is set pagewise!
423
- # Set 'provider' to the provider you want to use.
424
- # ------------------------------------------------------------------------------
425
- advertising:
426
- enabled: false
427
- provider: google
428
-
429
- google:
430
- publisher_id: '<your-publisher-id>'
431
-
432
- custom:
433
- custom_data:
434
-
435
- # ------------------------------------------------------------------------------
436
- # TRANSLATOR settings
437
- #
438
- # Set 'enabled' to false to turn off globally. Affects all pages independently
439
- # from what is set pagewise!
440
- # Set 'provider' to the provider you want to use.
441
- # ------------------------------------------------------------------------------
442
- translation:
443
- enabled: true
444
- provider: google
445
-
446
- google:
447
- layout: default
448
- meta_data: [google-translate]
449
- page_language: en
450
- translation_languages: [all]
451
-
452
- # ------------------------------------------------------------------------------
453
- # SHARING settings (currently NOT supported)
454
- #
455
- # Settings for sharing helper. Sharing is for things like tweet, plusone,
456
- # like, reddit buttons etc. Set 'provider' to the sharing provider you
457
- # want to use. Set 'provider' to false to turn sharing off globally.
458
- #
459
- # Set 'enabled' to false to turn off globally. Affects all pages independently
460
- # from what is set pagewise!
461
- # Set 'provider' to the provider you want to use.
462
- # ------------------------------------------------------------------------------
463
- # sharing:
464
- # enabled: false
465
- # provider:
466
-
467
351
  # ------------------------------------------------------------------------------
468
352
  # END config
@@ -117,35 +117,35 @@ lanes:
117
117
  # ----------------------------------------------------------------------------
118
118
  # CONNECTORS (analytics)
119
119
  #
120
- - lane:
121
- enabled: true
122
- region: head
123
- type: sync
124
- base: _includes/themes/j1
125
- path: modules/connectors
126
- file: analytics
120
+ # - lane:
121
+ # enabled: true
122
+ # region: head
123
+ # type: sync
124
+ # base: _includes/themes/j1
125
+ # path: modules/connectors
126
+ # file: analytics
127
127
 
128
128
  # ----------------------------------------------------------------------------
129
129
  # CONNECTORS (translation)
130
130
  #
131
- - lane:
132
- enabled: true
133
- region: head
134
- type: sync
135
- base: _includes/themes/j1
136
- path: modules/connectors
137
- file: translator
131
+ # - lane:
132
+ # enabled: true
133
+ # region: head
134
+ # type: sync
135
+ # base: _includes/themes/j1
136
+ # path: modules/connectors
137
+ # file: translator
138
138
 
139
139
  # ----------------------------------------------------------------------------
140
140
  # CONNECTORS (advertising)
141
141
  #
142
- - lane:
143
- enabled: true
144
- region: head
145
- type: sync
146
- base: _includes/themes/j1
147
- path: modules/connectors
148
- file: ads
142
+ # - lane:
143
+ # enabled: true
144
+ # region: head
145
+ # type: sync
146
+ # base: _includes/themes/j1
147
+ # path: modules/connectors
148
+ # file: ads
149
149
 
150
150
  # ----------------------------------------------------------------------------
151
151
  # RESOURCE loader
@@ -125,6 +125,18 @@ lanes:
125
125
  type: async
126
126
  properties: mb-0
127
127
 
128
+ # ----------------------------------------------------------------------------
129
+ # Top Advertisment
130
+ #
131
+ - lane:
132
+ enabled: false
133
+ region: body-header
134
+ id: google_ad_top_home
135
+ type: sync
136
+ base: _includes/themes/j1
137
+ path: modules/ads
138
+ file: google_ad_top_home.html
139
+
128
140
  # ----------------------------------------------------------------------------
129
141
  # PAGE CONTENT (region body-main)
130
142
  #
@@ -184,6 +196,18 @@ lanes:
184
196
  type: async
185
197
  properties: mt-4 mr-5 mb-4 ml-5
186
198
 
199
+ # ----------------------------------------------------------------------------
200
+ # Page Advertisment
201
+ #
202
+ - lane:
203
+ enabled: false
204
+ region: body-main
205
+ id: google_ad_content_home
206
+ type: sync
207
+ base: _includes/themes/j1
208
+ path: modules/ads
209
+ file: google_ad_content_home.html
210
+
187
211
  # ----------------------------------------------------------------------------
188
212
  # INTRO panel
189
213
  #
@@ -123,13 +123,13 @@ lanes:
123
123
  # ----------------------------------------------------------------------------
124
124
  # Ad Block
125
125
  #
126
- - lane:
127
- enabled: false
128
- region: body-header
129
- type: sync
130
- base: _includes/themes/j1
131
- path: blocks/ads
132
- file: ad.html
126
+ # - lane:
127
+ # enabled: false
128
+ # region: body-header
129
+ # type: sync
130
+ # base: _includes/themes/j1
131
+ # path: blocks/ads
132
+ # file: ad.html
133
133
 
134
134
  # ----------------------------------------------------------------------------
135
135
  # PAGE CONTENT (region body-main)
@@ -170,17 +170,6 @@ lanes:
170
170
  path: layouts
171
171
  file: content_generator_page.html
172
172
 
173
- # ----------------------------------------------------------------------------
174
- # COMMENT connector (e.g. for DISQUS as part of the CONTENT section)
175
- #
176
- - lane:
177
- enabled: true
178
- region: body-main
179
- type: sync
180
- base: _includes/themes/j1
181
- path: modules/connectors
182
- file: comments
183
-
184
173
  # ----------------------------------------------------------------------------
185
174
  # FAM
186
175
  #
@@ -160,17 +160,6 @@ lanes:
160
160
  path: layouts
161
161
  file: content_generator_post.html
162
162
 
163
- # ----------------------------------------------------------------------------
164
- # COMMENT connector
165
- #
166
- - lane:
167
- enabled: true
168
- region: body-main
169
- type: sync
170
- base: _includes/themes/j1
171
- path: modules/connectors
172
- file: comments
173
-
174
163
  # ----------------------------------------------------------------------------
175
164
  # FAM
176
165
  #
@@ -16,9 +16,10 @@
16
16
  # ------------------------------------------------------------------------------
17
17
 
18
18
  # ------------------------------------------------------------------------------
19
- # About this configuration (used for J1 CC only)
19
+ # Description (used for J1 CC only)
20
20
  #
21
- about_config:
21
+ description:
22
+
22
23
  title: Advertising
23
24
  scope: User settings
24
25
  location: _data/modules/advertising.yml
@@ -29,19 +30,146 @@ about_config:
29
30
  settings:
30
31
 
31
32
  # ----------------------------------------------------------------------------
32
- # AD elements
33
+ # Settings
34
+ #
35
+ # enabled
36
+ # --------------------------------------------------------------------------
37
+ # Enables or disables the Ad services. If disabled, no ads services are
38
+ # enabled and no unit container get initialized on any page.
39
+ #
40
+ # values: [true|false]
41
+ # default: false
42
+ #
43
+ # provider
44
+ # --------------------------------------------------------------------------
45
+ # Currently, only Google adsense (google) is available as an provider
46
+ # for advertising.
47
+ #
48
+ # values: [google]
49
+ # default: google
50
+ #
51
+ # ----------------------------------------------------------------------------
33
52
  #
34
- ads:
53
+ enabled: false
54
+
55
+ google:
35
56
 
36
57
  # --------------------------------------------------------------------------
37
- # Image attic (used for layouts posts|pages, image-based)
38
- #
39
- - name: Full width top
40
- ad:
41
- enabled: true
42
- id: ad_full_width_top
43
- layout: [ page, post ]
44
- type: ad-bla
58
+ # Provider settings
59
+ #
60
+ # publisherID
61
+ # ------------------------------------------------------------------------
62
+ # Your publisher id (ca-pub-xxxx..xxx) connected with your Adsense
63
+ # Account the for the domain registered.
64
+ #
65
+ # values: string
66
+ # default: none
67
+ #
68
+ # autoHideOnUnfilled
69
+ # ------------------------------------------------------------------------
70
+ # For several reasons, the placed ad (unit) containers get unfilled (no
71
+ # ad placed inside). Unfilled unit containers results in blank areas
72
+ # instead. Using the setting autoHideOnUnfilled, unfilled containers
73
+ # can be hidden automatically.
74
+ #
75
+ # values: [true|false]
76
+ # default: true
77
+ #
78
+ # checkTrackingProtection (currently NOT supported)
79
+ # ------------------------------------------------------------------------
80
+ # Modern browsers in their current versions (e.g. FireFox) provide
81
+ # Tracking Protection build-in. If Tracking Protection is enabled
82
+ # for a browser, showing ads may blocked automatically. All unit
83
+ # containers affected by Tracking Protection are hidden automatically.
84
+ #
85
+ # values: [true|false]
86
+ # default: false
87
+ #
88
+ # showErrorPageOnBlocked (currently NOT supported)
89
+ # ------------------------------------------------------------------------
90
+ # If Tracking Protection is detected for a browser, no content is
91
+ # presented to the visitor and an error page is shown (HTML 447).
92
+ #
93
+ # values: [true|false]
94
+ # default: false
95
+ #
96
+ # --------------------------------------------------------------------------
97
+ #
98
+ publisherID: ca-pub-xxxx..xxx
99
+ autoHideOnUnfilled: false
100
+ addBorderOnUnfilled: true
101
+ checkTrackingProtection: true
102
+ showErrorPageOnBlocked: true
103
+ addBorderOnUnfilled: true
104
+
105
+ ads:
106
+
107
+ # ------------------------------------------------------------------------
108
+ # Attributes
109
+ #
110
+ # enabled
111
+ # ----------------------------------------------------------------------
112
+ # Enables or disables an ad unit (container). If an container is
113
+ # disabled, this unit get NOT initialized for ads on any page.
114
+ #
115
+ # values: [true|false]
116
+ # default: true
117
+ #
118
+ # placement (currently NOT supported)
119
+ # ----------------------------------------------------------------------
120
+ # Defines the placements of the unit container specified. For default
121
+ # (manual), all ad units are placed on (home/content) pages manually
122
+ # by adding the <ins>-code.
123
+ #
124
+ # values: [manual|auto|content-top|content-bottom]
125
+ # default: manual
126
+ #
127
+ # adSlot (currently NOT supported)
128
+ # ----------------------------------------------------------------------
129
+ # Defines the slot-id of the unit container specified.
130
+ #
131
+ # values: string
132
+ # default: none
133
+ #
134
+ # adTest (currently NOT supported)
135
+ # ------------------------------------------------------------------------
136
+ # For testing only. If adTest is enabled (true), clicks and impressions
137
+ # aren't recorded by the ad service and advertisers aren't charged.
138
+ #
139
+ # values: [true|false]
140
+ # default: false
141
+ #
142
+ # --------------------------------------------------------------------------
143
+
144
+ # ------------------------------------------------------------------------
145
+ # Google Ad resposive full-width
146
+ #
147
+ # - name: display-ad-horizontal-1
148
+ # ad:
149
+ # enabled: true
150
+ # placement: manual
151
+ # adSlot: xxxx..xxx
152
+ # adTest: false
153
+
154
+ # ------------------------------------------------------------------------
155
+ # Google Ad resposive full-width
156
+ #
157
+ # - name: display-ad-horizontal-2
158
+ # ad:
159
+ # enabled: false
160
+ # placement: manual
161
+ # adSlot: xxxx..xxx
162
+ # adTest: false
163
+
164
+ # ------------------------------------------------------------------------
165
+ # Google Ad resposive full-width
166
+ #
167
+ # - name: in-article-ad-1
168
+ # ad:
169
+ # enabled: false
170
+ # placement: manual
171
+ # adSlot: xxxx..xxx
172
+ # adTest: false
45
173
 
46
174
  # ------------------------------------------------------------------------------
47
175
  # END config
@@ -0,0 +1,99 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/analytics.yml
3
+ # User configuration settings for J1 Analytics module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2021 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description (used for J1 CC only)
16
+ #
17
+ description:
18
+
19
+ title: J1 Analytics
20
+ scope: User settings
21
+ location: _data/modules/analytics.yml
22
+
23
+ # ------------------------------------------------------------------------------
24
+ # User configuration settings
25
+ #
26
+ settings:
27
+
28
+ # ----------------------------------------------------------------------------
29
+ # Settings
30
+ #
31
+ # enabled
32
+ # --------------------------------------------------------------------------
33
+ # Enables or disables the Analytics services. If disabled, the services
34
+ # won't be enabled on any page.
35
+ #
36
+ # values: [true|false]
37
+ # default: false
38
+ #
39
+ # provider
40
+ # --------------------------------------------------------------------------
41
+ # Currently, only Google Analytics (google) is available as an provider
42
+ # for Analytics services.
43
+ #
44
+ # values: [google]
45
+ # default: google
46
+ #
47
+ # ----------------------------------------------------------------------------
48
+ #
49
+ enabled: false
50
+
51
+ provider: google
52
+ google:
53
+ # --------------------------------------------------------------------------
54
+ # Provider settings
55
+ #
56
+ # trackingID
57
+ # ------------------------------------------------------------------------
58
+ # Your tracking id (G-XXX..XX) connected with your Analytices
59
+ # Account the for the domain registered.
60
+ #
61
+ # values: string
62
+ # default: none
63
+ #
64
+ # optInOut
65
+ # ------------------------------------------------------------------------
66
+ # Google Analytics Opt In. GA will be enabled by default and at a
67
+ # later point it can be disabled based on the visitor's privacy
68
+ # settings (Analytics) with the cookie consent dialog.
69
+ #
70
+ # values: [true|false]
71
+ # default: true
72
+ #
73
+ # anonymizeIP
74
+ # ------------------------------------------------------------------------
75
+ # For the use of Google Analytics to comply with the GDPR, the processed
76
+ # IP address at GA can be anonymized (set option 'anonymizeIp' to 'true').
77
+ # The IP anonymization function at Google GA holds the data "in memeory"
78
+ # and sets the last octet for the user's IPv4 addresses and the last
79
+ # 80 bits for IPv6 addresses to zero.
80
+ # That happens at GA shortly after they are sent to Google Analytics.
81
+ # This way, the full IP address is NEVER written to disk or stored
82
+ # permanenty anyway. Geographically dimensions are later derived from
83
+ # the anonymized IP address NOT affected by anonymization.
84
+ #
85
+ # See:
86
+ # https://support.google.com/analytics/answer/2763052
87
+ # https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization?hl=en
88
+ #
89
+ # values: [true|false]
90
+ # default: true
91
+ #
92
+ # --------------------------------------------------------------------------
93
+ #
94
+ trackingID: G-299QGW5RJH # '<your-tracking-id>'
95
+ optInOut: true
96
+ anonymizeIP: true
97
+
98
+ # ------------------------------------------------------------------------------
99
+ # END config
@@ -22,9 +22,8 @@
22
22
  # ------------------------------------------------------------------------------
23
23
 
24
24
  # ------------------------------------------------------------------------------
25
- # About this configuration (used for J1 CC only)
25
+ # Description (used for J1 CC only)
26
26
  #
27
- about_config:
28
27
 
29
28
  title: Attics
30
29
  scope: User settings
@@ -34,6 +33,8 @@ about_config:
34
33
  # SETTINGS
35
34
  #
36
35
  settings:
36
+ enabled: true
37
+
37
38
  # ----------------------------------------------------------------------------
38
39
  # Global settings for text- and image-based header
39
40
  #
@@ -0,0 +1,55 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/comments.yml
3
+ # User configuration settings for J1 Comments Module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2021 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description (used for J1 CC only)
16
+ #
17
+ description:
18
+
19
+ title: J1 Comments
20
+ scope: User settings
21
+ location: _data/modules/comments.yml
22
+
23
+ # ------------------------------------------------------------------------------
24
+ # User configuration settings
25
+ #
26
+ settings:
27
+ # ----------------------------------------------------------------------------
28
+ # Base settings
29
+ #
30
+ # enabled
31
+ # --------------------------------------------------------------------------
32
+ # Enables or disable comments services. If disabled, the service
33
+ # won't be enabled on any page.
34
+ #
35
+ # values: [true|false]
36
+ # default: false
37
+ #
38
+ # provider
39
+ # --------------------------------------------------------------------------
40
+ # Specifies the provider to be used for commenting
41
+ #
42
+ # values: [disqus|hyvor|commento|just-comments]
43
+ # default: disqus
44
+ #
45
+ # ----------------------------------------------------------------------------
46
+
47
+ # ----------------------------------------------------------------------------
48
+ # Base settings (required)
49
+ # ----------------------------------------------------------------------------
50
+ enabled: false
51
+
52
+ provider: hyvor
53
+
54
+ # ------------------------------------------------------------------------------
55
+ # END config
@@ -24,9 +24,10 @@ description:
24
24
  # User configuration settings
25
25
  #
26
26
  settings:
27
-
28
27
  enabled: true
28
+
29
29
  show_cookie_icon: true
30
+ expire_cookies_on_required_only: true
30
31
 
31
32
  # ------------------------------------------------------------------------------
32
33
  # END config
@@ -24,7 +24,9 @@ description:
24
24
  # User configuration settings
25
25
  #
26
26
  settings:
27
- expires: 365
27
+ enabled: true
28
+
29
+ check_cookies: false
28
30
 
29
31
  # ------------------------------------------------------------------------------
30
32
  # END config