j1-template 2022.0.10 → 2022.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/advertising.js +66 -48
  3. data/assets/themes/j1/adapter/js/algolia.js +10 -13
  4. data/assets/themes/j1/adapter/js/analytics.js +259 -0
  5. data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
  6. data/assets/themes/j1/adapter/js/attic.js +10 -5
  7. data/assets/themes/j1/adapter/js/bmd.js +10 -14
  8. data/assets/themes/j1/adapter/js/carousel.js +10 -13
  9. data/assets/themes/j1/adapter/js/clipboard.js +9 -10
  10. data/assets/themes/j1/adapter/js/comments.js +407 -0
  11. data/assets/themes/j1/adapter/js/cookieConsent.js +106 -87
  12. data/assets/themes/j1/adapter/js/fab.js +11 -11
  13. data/assets/themes/j1/adapter/js/framer.js +60 -62
  14. data/assets/themes/j1/adapter/js/j1.js +225 -268
  15. data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
  16. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
  17. data/assets/themes/j1/adapter/js/lightbox.js +12 -9
  18. data/assets/themes/j1/adapter/js/logger.js +11 -5
  19. data/assets/themes/j1/adapter/js/mmenu.js +11 -12
  20. data/assets/themes/j1/adapter/js/navigator.js +13 -12
  21. data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
  22. data/assets/themes/j1/adapter/js/rouge.js +10 -13
  23. data/assets/themes/j1/adapter/js/rtable.js +10 -13
  24. data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
  25. data/assets/themes/j1/adapter/js/scroller.js +13 -11
  26. data/assets/themes/j1/adapter/js/themer.js +12 -3
  27. data/assets/themes/j1/adapter/js/toccer.js +10 -13
  28. data/assets/themes/j1/adapter/js/translator.js +35 -81
  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/assets/themes/j1/modules/advertising/js/google/adInitializer.js +14 -4
  33. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
  34. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  35. data/lib/j1/version.rb +1 -1
  36. data/lib/starter_web/Gemfile +1 -1
  37. data/lib/starter_web/_config.yml +1 -9
  38. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  39. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  40. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  41. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  42. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  43. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  44. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  45. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  46. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  47. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  48. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  49. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  50. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  51. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  52. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  53. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  54. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  55. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  56. data/lib/starter_web/_data/j1_config.yml +0 -116
  57. data/lib/starter_web/_data/layouts/default.yml +14 -14
  58. data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
  59. data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
  60. data/lib/starter_web/_data/layouts/home.yml +1 -1
  61. data/lib/starter_web/_data/layouts/page.yml +7 -18
  62. data/lib/starter_web/_data/layouts/post.yml +0 -11
  63. data/lib/starter_web/_data/modules/advertising.yml +4 -14
  64. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  65. data/lib/starter_web/_data/modules/attics.yml +3 -2
  66. data/lib/starter_web/_data/modules/comments.yml +55 -0
  67. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  68. data/lib/starter_web/_data/modules/cookies.yml +6 -1
  69. data/lib/starter_web/_data/modules/defaults/advertising.yml +9 -9
  70. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  71. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  72. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  73. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  74. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  75. data/lib/starter_web/_data/modules/defaults/cookies.yml +107 -26
  76. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  77. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  78. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  79. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  80. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  81. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  82. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  83. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  84. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  85. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  86. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  87. data/lib/starter_web/_data/modules/fab.yml +3 -2
  88. data/lib/starter_web/_data/modules/framer.yml +3 -4
  89. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  90. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  91. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  92. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  93. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  94. data/lib/starter_web/_data/modules/themer.yml +2 -3
  95. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  96. data/lib/starter_web/_data/modules/translator.yml +1 -1
  97. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  98. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  99. data/lib/starter_web/_data/resources.yml +442 -309
  100. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  101. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  102. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  103. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
  104. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  105. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  106. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
  107. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
  108. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
  109. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
  110. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
  111. data/lib/starter_web/index.html +0 -3
  112. data/lib/starter_web/package.json +1 -1
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  115. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  116. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -4
  117. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -4
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -4
  119. data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.no_ads.asciidoc → 100_present_images.base.asciidoc} +0 -0
  120. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  121. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
  122. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
  123. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  124. data/lib/starter_web/utilsrv/package.json +1 -1
  125. metadata +14 -26
  126. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  127. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  128. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  129. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  130. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  131. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  132. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  133. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  134. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  135. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  136. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  137. data/_includes/themes/j1/modules/connectors/comments +0 -64
  138. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  139. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  140. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  141. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  142. data/_includes/themes/j1/modules/connectors/translator +0 -58
  143. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  144. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  145. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  146. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  147. data/assets/data/disqus.js +0 -81
  148. data/assets/data/hyvor.js +0 -72
@@ -33,8 +33,8 @@
33
33
  # under ~/assets/themes/j1. To shorten the filenames to be configured,
34
34
  # base_url points to the (base) asset path.
35
35
  #
36
- # type: string
37
- # default: /assets/themes/j1
36
+ # type: string
37
+ # default: /assets/themes/j1
38
38
  #
39
39
  # extensions
40
40
  # ------------------------------------------------------------------------------
@@ -45,10 +45,10 @@
45
45
  #
46
46
  # defaults
47
47
  # ------------------------------------------------------------------------------
48
- # css_dev: css
49
- # css_prod: min.css
50
- # js_dev: js
51
- # js_prod: min.js
48
+ # css_dev: css
49
+ # css_prod: min.css
50
+ # js_dev: js
51
+ # js_prod: min.js
52
52
  #
53
53
  # location
54
54
  # ------------------------------------------------------------------------------
@@ -86,8 +86,8 @@
86
86
  # NOTE:
87
87
  # To load resources from REMOTE, access to the INTERNET is needed.
88
88
  #
89
- # type: string (local|remote)
90
- # default: local
89
+ # type: string (local|remote)
90
+ # default: local
91
91
  #
92
92
  # ------------------------------------------------------------------------------
93
93
  # RESOURCES
@@ -106,16 +106,16 @@
106
106
  # ------------------------------------------------------------------------------
107
107
  # Enables|Disables the use of a resource
108
108
  #
109
- # type: boolean
110
- # values: true|false
111
- # default: true
109
+ # type: boolean
110
+ # values: true|false
111
+ # default: true
112
112
  #
113
113
  # id
114
114
  # ------------------------------------------------------------------------------
115
115
  # Specifies the ID of a ressoure.
116
116
  #
117
- # type: string
118
- # default: ""
117
+ # type: string
118
+ # default: ""
119
119
  #
120
120
  # comment
121
121
  # ------------------------------------------------------------------------------
@@ -124,8 +124,8 @@
124
124
  # used for commenting the generated HTML markup for easier
125
125
  # (post mortem) code analysis.
126
126
  #
127
- # type: string
128
- # default: ""
127
+ # type: string
128
+ # default: ""
129
129
  #
130
130
  # region
131
131
  # ------------------------------------------------------------------------------
@@ -143,17 +143,17 @@
143
143
  # (REGION head) assuming modern browsers managing script
144
144
  # loading strategies for SYNC and DEFER.
145
145
  #
146
- # type: string
147
- # values: head|body-footer
148
- # default: head
146
+ # type: string
147
+ # values: head|body-footer
148
+ # default: head
149
149
  #
150
150
  # layout
151
151
  # ------------------------------------------------------------------------------
152
152
  # Specifies the LAYOUT the resources is loaded
153
153
  #
154
- # type: sequence (array)
155
- # values: home|page|post|app|all
156
- # default: []
154
+ # type: sequence (array)
155
+ # values: home|page|post|app|all
156
+ # default: []
157
157
  #
158
158
  # required
159
159
  # ------------------------------------------------------------------------------
@@ -165,7 +165,7 @@
165
165
  #
166
166
  # ---
167
167
  # ...
168
- # resources: [ ID, .. ,ID ]
168
+ # resources: [ ID, .. ,ID ]
169
169
  # ...
170
170
  # ---
171
171
  #
@@ -175,18 +175,18 @@
175
175
  # of data (CSS|JS files) loaded by a page, MODULES should loaded
176
176
  # (and initialized) on ondemand.
177
177
  #
178
- # type: string
179
- # values: always|ondemand
180
- # default: always
178
+ # type: string
179
+ # values: always|ondemand
180
+ # default: always
181
181
  #
182
182
  # script_load
183
183
  # ------------------------------------------------------------------------------
184
184
  # Specifies HOW a js resource (script) is loaded by the
185
185
  # BROWSER
186
186
  #
187
- # type: string
188
- # values: sync|async|defer
189
- # default: sync
187
+ # type: string
188
+ # values: sync|async|defer
189
+ # default: sync
190
190
  #
191
191
  # NOTE:
192
192
  # Modern web browsers support the ASYNC and DEFER attributes
@@ -210,9 +210,9 @@
210
210
  # Set to false, if the (native) initializer of a resource should
211
211
  # NOT get any template specific parameters at startup.
212
212
  #
213
- # type: boolean
214
- # values: true|false
215
- # default: true
213
+ # type: boolean
214
+ # values: true|false
215
+ # default: true
216
216
  #
217
217
  # data
218
218
  # ------------------------------------------------------------------------------
@@ -234,36 +234,36 @@
234
234
  # versions (e.g. js files from commercial products) are
235
235
  # available.
236
236
  #
237
- # type: sequence (array)
238
- # values: JSON object for local|remote resources
239
- # default: []
237
+ # type: sequence (array)
238
+ # values: JSON object for local|remote resources
239
+ # default: []
240
240
  #
241
241
  # css
242
242
  # ----------------------------------------------------------------------------
243
243
  # Specifies CSS resources (NO .css extention) the module
244
244
  # depends on.
245
245
  #
246
- # type: sequence (array)
247
- # values: JSON object for local|remote CSS resources
248
- # default: []
246
+ # type: sequence (array)
247
+ # values: JSON object for local|remote CSS resources
248
+ # default: []
249
249
  #
250
250
  # js
251
251
  # ----------------------------------------------------------------------------
252
252
  # Specifies JAVASCRIPT resources (NO .js extention) the
253
253
  # module depends on.
254
254
  #
255
- # type: sequence (array)
256
- # values: JSON object for local|remote JS resources
257
- # default: []
255
+ # type: sequence (array)
256
+ # values: JSON object for local|remote JS resources
257
+ # default: []
258
258
  #
259
259
  # init_function
260
260
  # ----------------------------------------------------------------------------
261
261
  # Specifies the name of the (J1|Module) initializer
262
262
  # function to be started on document-ready (event).
263
263
  #
264
- # type: string
265
- # values: name
266
- # default: ""
264
+ # type: string
265
+ # values: name
266
+ # default: ""
267
267
  #
268
268
  # ------------------------------------------------------------------------------
269
269
  # Resource SKELETON
@@ -272,45 +272,45 @@
272
272
  # # ---------------------------------------------------------------------------
273
273
  # # RESOURCE description
274
274
  # - resource:
275
- # enabled: true|false
276
- # id: resource_id
277
- # comment: cmments on YOUR_RESOURCE_NAME
278
- # region: head|body-footer
279
- # layout: [ layout_name(s)|all ]
280
- # required: always|ondemand
281
- # preload: false|true
282
- # script_load: sync|defer|async
283
- # pass_init_data: true|false
275
+ # enabled: true|false
276
+ # id: resource_id
277
+ # comment: cmments on YOUR_RESOURCE_NAME
278
+ # region: head|body-footer
279
+ # layout: [ layout_name(s)|all ]
280
+ # required: always|ondemand
281
+ # preload: false|true
282
+ # script_load: sync|defer|async
283
+ # pass_init_data: true|false
284
284
  # data:
285
285
  #
286
- # css: [
287
- # { local: "path/to/1/css_file",
288
- # remote: "URL 1st css_file"
289
- # },
290
- # { local: "path/to/2/css_file",
291
- # remote: "URL 2nd css_file"
292
- # },
293
- # ...
294
- # ]
295
- # files: [
296
- # "path/to/1/file.ext",
297
- # "path/to/2/file.ext",
298
- # ...
299
- # ]
300
- # js: [
301
- # { local: "path/to/1/js_file",
302
- # remote: "URL 1st js_file"
303
- # },
304
- # { local: "path/to/2/js_file",
305
- # remote: "URL 2nd js_file"
306
- # },
307
- # ...
308
- # ]
309
- # init_function: [
310
- # INITIALIZER_NAME.INIT_METHOD_NAME,
311
- # INITIALIZER_NAME.INIT_METHOD_NAME,
312
- # ...
313
- # ]
286
+ # css: [
287
+ # { local: "path/to/1/css_file",
288
+ # remote: "URL 1st css_file"
289
+ # },
290
+ # { local: "path/to/2/css_file",
291
+ # remote: "URL 2nd css_file"
292
+ # },
293
+ # ...
294
+ # ]
295
+ # files: [
296
+ # "path/to/1/file.ext",
297
+ # "path/to/2/file.ext",
298
+ # ...
299
+ # ]
300
+ # js: [
301
+ # { local: "path/to/1/js_file",
302
+ # remote: "URL 1st js_file"
303
+ # },
304
+ # { local: "path/to/2/js_file",
305
+ # remote: "URL 2nd js_file"
306
+ # },
307
+ # ...
308
+ # ]
309
+ # init_function: [
310
+ # INITIALIZER_NAME.INIT_METHOD_NAME,
311
+ # INITIALIZER_NAME.INIT_METHOD_NAME,
312
+ # ...
313
+ # ]
314
314
  #
315
315
  # ------------------------------------------------------------------------------
316
316
 
@@ -333,17 +333,18 @@ globals:
333
333
  #
334
334
  resources:
335
335
 
336
- # ==============================================================================
337
- # J1 Resources loaded SYCHRONOUSLY
338
- # ------------------------------------------------------------------------------
336
+ # ============================================================================
337
+ # J1 Resources loaded ALWAYS
338
+ # ----------------------------------------------------------------------------
339
339
 
340
340
  # ----------------------------------------------------------------------------
341
341
  # J1 Core, Main JS API for J1 Template
342
342
  #
343
343
  - name: J1 Template Core
344
344
  resource:
345
- id: core
346
345
  enabled: true
346
+
347
+ id: core
347
348
  comment: template core
348
349
  region: head
349
350
  layout: [ all ]
@@ -376,12 +377,15 @@ resources:
376
377
  init_function: [ j1.init ]
377
378
 
378
379
  # ----------------------------------------------------------------------------
379
- # J1 Logger, JS API for all logs used by J1 Template
380
+ # J1 Logger, JS API for all logs used by J1 Template based on the
381
+ # log4j implementation for JS (log4javascript)
382
+ # See: http://log4javascript.org
380
383
  #
381
384
  - name: Logger
382
385
  resource:
383
- id: logger
384
386
  enabled: true
387
+
388
+ id: logger
385
389
  comment: module logger
386
390
  region: head
387
391
  layout: [ all ]
@@ -397,12 +401,15 @@ resources:
397
401
  init_function: [ j1.adapter.logger.init ]
398
402
 
399
403
  # ----------------------------------------------------------------------------
400
- # Backstretch, JS API to add responsive image|video content to J1 Top Headers
404
+ # Backstretch, JS API to add responsive image|video content
405
+ # to J1 Top Headers
406
+ # See: https://github.com/jquery-backstretch/jquery-backstretch
401
407
  #
402
408
  - name: Backstretch
403
409
  resource:
404
- id: backstretch
405
410
  enabled: true
411
+
412
+ id: backstretch
406
413
  comment: Backstretch
407
414
  region: head
408
415
  layout: [ all ]
@@ -418,12 +425,15 @@ resources:
418
425
  init_function: []
419
426
 
420
427
  # ----------------------------------------------------------------------------
421
- # Top Header, JS API to create top headers for J1 Template
428
+ # Top Header, JS implementaion to create top headers for J1 Template
429
+ # based on the JS API jQuery Backstretch
430
+ # See: https://github.com/jquery-backstretch/jquery-backstretch
422
431
  #
423
432
  - name: J1 Attic
424
433
  resource:
425
- id: attic
426
434
  enabled: true
435
+
436
+ id: attic
427
437
  comment: module attic
428
438
  region: head
429
439
  layout: [ all ]
@@ -440,11 +450,14 @@ resources:
440
450
 
441
451
  # ----------------------------------------------------------------------------
442
452
  # Navigator, JS API to create the naviagtion for J1 Template
453
+ # based on the (BS3) JS implementaion of Bootsnav.
454
+ # See: https://github.com/adamnurdin01/bootsnav
443
455
  #
444
456
  - name: J1 Navigator
445
457
  resource:
446
- id: navigator
447
458
  enabled: true
459
+
460
+ id: navigator
448
461
  comment: module navigator
449
462
  region: head
450
463
  layout: [ all ]
@@ -461,11 +474,13 @@ resources:
461
474
 
462
475
  # ----------------------------------------------------------------------------
463
476
  # Mobile Menu (Light), JS API to create TOCs for mobile devices
477
+ # See: https://github.com/FrDH/mmenu-light
464
478
  #
465
479
  - name: MMenu
466
480
  resource:
467
- id: mmenu
468
481
  enabled: true
482
+
483
+ id: mmenu
469
484
  comment: module mmenu
470
485
  region: head
471
486
  layout: [ all ]
@@ -484,12 +499,15 @@ resources:
484
499
  init_function: [ j1.adapter.mmenu.init ]
485
500
 
486
501
  # ----------------------------------------------------------------------------
487
- # Themer, JS API to use themes from Bootswatch
502
+ # Themer, JS implementation to integrate themes from Bootswatch
503
+ # based on the bootstrapThemeSwitcher API
504
+ # See: https://github.com/jguadagno/bootstrapThemeSwitcher
488
505
  #
489
506
  - name: J1 Themer
490
507
  resource:
491
- id: themer
492
508
  enabled: true
509
+
510
+ id: themer
493
511
  comment: module themer
494
512
  region: head
495
513
  layout: [ all ]
@@ -505,12 +523,15 @@ resources:
505
523
  init_function: [ j1.adapter.themer.init ]
506
524
 
507
525
  # ----------------------------------------------------------------------------
508
- # Toccer, JS API to create TOCs from HTML headine elements
526
+ # Toccer, JS implementation to create TOCs from HTML headline elements
527
+ # based on Tocbot API
528
+ # See: https://github.com/tscanlin/tocbot
509
529
  #
510
530
  - name: J1 Toccer
511
531
  resource:
512
- id: toccer
513
532
  enabled: true
533
+
534
+ id: toccer
514
535
  comment: module toccer
515
536
  layout: [ page, post, collection, blog_archive ]
516
537
  region: head
@@ -526,12 +547,15 @@ resources:
526
547
  init_function: [ j1.adapter.toccer.init ]
527
548
 
528
549
  # ----------------------------------------------------------------------------
529
- # CookieConsent, JS API to create GDPR compatible cookie consent
550
+ # CookieConsent, JS API to create GDPR compatible cookie consent based
551
+ # on bootstrap-cookie-banner JS API
552
+ # See: https://github.com/shaack/bootstrap-cookie-banner
530
553
  #
531
554
  - name: J1 CookieConsent
532
555
  resource:
533
- id: cookieConsent
534
556
  enabled: true
557
+
558
+ id: cookieConsent
535
559
  comment: module cookieConsent
536
560
  region: head
537
561
  layout: [ all ]
@@ -547,12 +571,14 @@ resources:
547
571
  init_function: [ j1.adapter.cookieConsent.init ]
548
572
 
549
573
  # ----------------------------------------------------------------------------
550
- # jqMouseWheel, cross-browser mouse wheel support (currently NOT used)
574
+ # jqMouseWheel, cross-browser mouse wheel support (currently NOT used)
575
+ # See: https://github.com/jquery/jquery-mousewheel
551
576
  #
552
577
  - name: jqMouseWheel
553
578
  resource:
579
+ enabled: false
580
+
554
581
  id: jq_mouse_wheel
555
- enabled: false # currently NOT used
556
582
  comment: module jqMouseWheel
557
583
  region: head
558
584
  layout: [ all ]
@@ -569,11 +595,13 @@ resources:
569
595
 
570
596
  # ----------------------------------------------------------------------------
571
597
  # Theme Switcher, JS API for switching Bootstrap Themes (Bootswatch)
598
+ # See: https://bootswatch.com/
572
599
  #
573
600
  - name: themeSwitcher
574
601
  resource:
575
- id: theme_switcher
576
602
  enabled: true
603
+
604
+ id: theme_switcher
577
605
  comment: module theme_switcher
578
606
  region: head
579
607
  layout: [ all ]
@@ -589,12 +617,14 @@ resources:
589
617
  init_function: []
590
618
 
591
619
  # ----------------------------------------------------------------------------
592
- # Bootstrap JS (V5)
620
+ # Bootstrap V5 JS components
621
+ # See: https://getbootstrap.com/docs/5.0/getting-started/introduction/
593
622
  #
594
623
  - name: Bootstrap JS
595
624
  resource:
596
- id: bs5
597
625
  enabled: true
626
+
627
+ id: bs5
598
628
  comment: Bootstrap JS
599
629
  region: head
600
630
  layout: [ all ]
@@ -611,12 +641,13 @@ resources:
611
641
 
612
642
  # ----------------------------------------------------------------------------
613
643
  # BMD, responsive UI framework for Bootstrap
614
- # https://github.com/mdbootstrap/bootstrap-material-design/tree/4.1.3
644
+ # See: https://github.com/mdbootstrap/bootstrap-material-design/tree/4.1.3
615
645
  #
616
646
  - name: Bootstrap Material Design
617
647
  resource:
618
- id: bmd
619
648
  enabled: true
649
+
650
+ id: bmd
620
651
  comment: Bootstrap Material Design
621
652
  region: head
622
653
  layout: [ all ]
@@ -632,13 +663,14 @@ resources:
632
663
  init_function: [ j1.adapter.bmd.init ]
633
664
 
634
665
  # ----------------------------------------------------------------------------
635
- # Materialize, responsive UI framework (Vanilla JS)
636
- # https://materializecss.com/
666
+ # Materialize, responsive JS (Vanilla) UI framework (currently NOT used)
667
+ # See: https://materializecss.com/
637
668
  #
638
669
  - name: Materialize
639
670
  resource:
671
+ enabled: false
672
+
640
673
  id: materialze
641
- enabled: false # currently NOT used
642
674
  comment: Materialize
643
675
  region: head
644
676
  layout: [ all ]
@@ -656,12 +688,15 @@ resources:
656
688
  init_function: []
657
689
 
658
690
  # ----------------------------------------------------------------------------
659
- # Responsive Tables, JS API to create responsive HTML tables
691
+ # Responsive Tables, JS implementation to create responsive HTML tables
692
+ # based on the JS API Tablesaw
693
+ # See: https://github.com/filamentgroup/tablesaw
660
694
  #
661
695
  - name: Responsive Tables
662
696
  resource:
663
- id: rtable
664
697
  enabled: true
698
+
699
+ id: rtable
665
700
  comment: module rtable
666
701
  region: head
667
702
  layout: [ all ]
@@ -675,31 +710,19 @@ resources:
675
710
  files: [ adapter/js/rtable.js ]
676
711
  js: [ modules/rtable/js/rtable ]
677
712
  init_function: [ j1.adapter.rtable.init ]
678
-
679
- # ==============================================================================
680
- # MODULES initialized 'ondemand' for a layout
681
- # ------------------------------------------------------------------------------
682
-
683
- # ==============================================================================
684
- # Apps and Modules loaded SYCHRONOUSLY (sync)
685
- # ------------------------------------------------------------------------------
686
-
687
- # ==============================================================================
688
- # Apps and Modules loaded ASYCHRONOUSLY (defer)
689
- # ------------------------------------------------------------------------------
690
-
691
713
  # ----------------------------------------------------------------------------
692
- # Asciidoctor, JS API to create HTML output from Asciidoc pages
714
+ # Asciidoctor, JS functions to (dynamically) modify Asciidoctor HTML elements
693
715
  #
694
716
  - name: Asciidoctor
695
717
  resource:
696
- id: asciidoctor
697
718
  enabled: true
719
+
720
+ id: asciidoctor
698
721
  comment: HTML writer for Asciidoctor
699
722
  region: head
700
723
  layout: [ home, page, post, collection, blog_archive, app ]
701
724
  required: always
702
- preload: false # property currently unused
725
+ preload: false
703
726
  script_load: defer
704
727
  dependencies: false
705
728
  pass_init_data: false
@@ -709,18 +732,199 @@ resources:
709
732
  js: []
710
733
  init_function: [ j1.adapter.asciidoctor.init ]
711
734
 
735
+
736
+ # ----------------------------------------------------------------------------
737
+ # CSS Flags Previewer, preview page (UI) for country flags
738
+ # See: https://github.com/lipis/flag-icons
739
+ #
740
+ - name: CSS Flags Previewer
741
+ resource:
742
+ enabled: true
743
+
744
+ id: css_flags_previewer
745
+ comment: module css_flags_previewer
746
+ layout: [ all ]
747
+ region: head
748
+ required: always
749
+ preload: false
750
+ script_load: deferred
751
+ dependencies: false
752
+ pass_init_data: false
753
+ data:
754
+ css: [ core/country-flags/css/theme/uno ]
755
+ files: []
756
+ js: []
757
+ init_function: []
758
+
759
+ # ----------------------------------------------------------------------------
760
+ # Floating Action Button Menu. JS API to create FAB menus
761
+ #
762
+ - name: FABM
763
+ resource:
764
+ enabled: true
765
+
766
+ id: fabm
767
+ comment: FAB Menus
768
+ region: head
769
+ layout: [ all ]
770
+ required: always
771
+ preload: false
772
+ script_load: sync
773
+ dependencies: false
774
+ pass_init_data: true
775
+ data:
776
+ css: [] # styles moved to Template CSS
777
+ files: [
778
+ modules/fab/js/cash.js, # adapted|old (1.3.5) version from Materialize
779
+ modules/fab/js/fab.js, # modified version for J1 (former: button.js)
780
+ adapter/js/fab.js # adapter adopted from ssm module
781
+ ]
782
+ js: []
783
+ init_function: [ j1.adapter.fab.init ]
784
+
785
+
786
+ # ----------------------------------------------------------------------------
787
+ # lunr search engine, JS API used for the QuickSearch feature
788
+ # of J1 Template based on the Lunr JS API
789
+ # See: https://lunrjs.com/
790
+ #
791
+ - name: QuickSearch
792
+ resource:
793
+ enabled: true
794
+
795
+ id: quicksearch
796
+ comment: J1 QuickSearch
797
+ region: head
798
+ layout: [ all ]
799
+ required: always # always | ondemand
800
+ preload: false # property currently unused
801
+ script_load: defer
802
+ dependencies: false
803
+ pass_init_data: false
804
+ data:
805
+ css: [ modules/lunrSearch/css/quicksearch ]
806
+ files: [ adapter/js/quicksearch.js ]
807
+ js: [
808
+ modules/lunrSearch/js/lunr,
809
+ modules/lunrSearch/js/mustache,
810
+ modules/lunrSearch/js/dateformat,
811
+ modules/lunrSearch/js/uri,
812
+ # modules/jquery/js/require, # require.js currently unused, but conflicts with some modules
813
+ modules/lunrSearch/js/quicksearch
814
+ ]
815
+ init_function: [ j1.adapter.quicksearch.init ]
816
+
817
+ # ----------------------------------------------------------------------------
818
+ # rtextResizer (currently NOT used)
819
+ #
820
+ - name: rtextResizer
821
+ resource:
822
+ enabled: false
823
+
824
+ id: rtextresizer
825
+ comment: J1 rtextResizer
826
+ region: head
827
+ layout: [ home, page, post, collection, blog_archive ]
828
+ required: always # always | ondemand
829
+ preload: false # property currently unused
830
+ script_load: defer
831
+ dependencies: false
832
+ pass_init_data: false
833
+ data:
834
+ css: []
835
+ files: [ adapter/js/rtextResizer.js ]
836
+ js: []
837
+ init_function: [ j1.adapter.rtextResizer.init ]
838
+
839
+ # ----------------------------------------------------------------------------
840
+ # Dropdowns, JS implementation to create themeable HTML <select>
841
+ # elements (dropdowns) based on the msDropdown API
842
+ # See: https://github.com/marghoobsuleman/ms-Dropdown
843
+ #
844
+ - name: Dropdowns
845
+ resource:
846
+ enabled: true
847
+
848
+ id: msDropdown
849
+ comment: module msDropdown
850
+ region: head
851
+ layout: [ all ]
852
+ required: always
853
+ preload: false
854
+ script_load: async
855
+ dependencies: false
856
+ pass_init_data: false
857
+ data:
858
+ css: []
859
+ files: [ modules/msDropdown/css/themes/uno/msDropdown.css ]
860
+ js: [ modules/msDropdown/js/msDropdown ]
861
+ init_function: []
862
+
863
+ # ----------------------------------------------------------------------------
864
+ # Translator, JS API to provide Translation services
865
+ # See: https://translate.google.com/intl/en/about/
866
+ #
867
+ - name: Translator
868
+ resource:
869
+ enabled: true
870
+
871
+ id: translator
872
+ comment: module translator
873
+ region: head
874
+ layout: [ all ]
875
+ required: always
876
+ preload: false
877
+ script_load: sync
878
+ dependencies: false
879
+ pass_init_data: false
880
+ data:
881
+ css: [ modules/translator/css/translator ]
882
+ files: [ adapter/js/translator.js ]
883
+ js: [ modules/translator/js/translator ]
884
+ init_function: [ j1.adapter.translator.init ]
885
+
886
+ # ----------------------------------------------------------------------------
887
+ # Analytics, JS implementation to provide Analytics services
888
+ # See: https://analytics.google.com/
889
+ #
890
+ - name: Analytics
891
+ resource:
892
+ enabled: true
893
+
894
+ id: analytics
895
+ comment: module analytics
896
+ region: head
897
+ layout: [ all ]
898
+ required: always
899
+ preload: false
900
+ script_load: sync
901
+ dependencies: false
902
+ pass_init_data: false
903
+ data:
904
+ css: []
905
+ files: [ adapter/js/analytics.js ]
906
+ js: []
907
+ init_function: [ j1.adapter.analytics.init ]
908
+
909
+
910
+ # ============================================================================
911
+ # J1 Resources loaded ONDEMAND
912
+ # ----------------------------------------------------------------------------
913
+
712
914
  # ----------------------------------------------------------------------------
713
915
  # Rouge, pure Ruby themeable code highlighter
916
+ # See: http://rouge.jneen.net/
714
917
  #
715
918
  - name: Rouge Highlighter
716
919
  resource:
717
- id: rouge
718
920
  enabled: true
921
+
922
+ id: rouge
719
923
  comment: theme rouge
720
924
  region: head
721
925
  layout: [ home, page, post, collection, blog_archive, raw, app ]
722
926
  required: ondemand
723
- preload: false # property currently unused
927
+ preload: false
724
928
  script_load: defer
725
929
  dependencies: false
726
930
  pass_init_data: false
@@ -735,16 +939,18 @@ resources:
735
939
 
736
940
  # ----------------------------------------------------------------------------
737
941
  # Animate CSS, styles for CSS-based animations
942
+ # See: https://animate.style/
738
943
  #
739
944
  - name: Animate CSS
740
945
  resource:
741
- id: animate
742
946
  enabled: true
947
+
948
+ id: animate
743
949
  comment: Animate
744
950
  region: head
745
951
  layout: [ all ]
746
952
  required: ondemand
747
- preload: false # property currently unused
953
+ preload: false
748
954
  script_load: defer
749
955
  dependencies: false
750
956
  pass_init_data: false
@@ -755,17 +961,18 @@ resources:
755
961
  init_function: []
756
962
 
757
963
  # ----------------------------------------------------------------------------
758
- # Gallery Customizer, Customizer UI for Justifie dGallery
964
+ # Gallery Customizer, Customizer UI for Justified dGallery
759
965
  #
760
966
  - name: J1 Gallery Customizer
761
967
  resource:
762
- id: justifiedGalleryCustomizer
763
968
  enabled: true
969
+
970
+ id: justifiedGalleryCustomizer
764
971
  comment: Justified Gallery Customizer
765
972
  layout: [ app, raw ]
766
973
  region: head
767
974
  required: ondemand
768
- preload: false # property currently unused
975
+ preload: false
769
976
  script_load: defer
770
977
  dependencies: false
771
978
  pass_init_data: true
@@ -776,35 +983,38 @@ resources:
776
983
  init_function: [ j1.adapter.justifiedGalleryCustomizer.init ]
777
984
 
778
985
  # ----------------------------------------------------------------------------
779
- # iFrameResizer, client|server based HTML iframes
986
+ # iFrameResizer, JS Client|Server implementation to manage HTML iframes
987
+ # based on the JS API iFrame Resizer
988
+ # See: https://github.com/davidjbradshaw/iframe-resizer
780
989
  #
781
990
  - name: J1 Framer
782
991
  resource:
783
- id: framer
784
992
  enabled: true
993
+
994
+ id: framer
785
995
  comment: module framer
786
996
  layout: [ home, page, post, collection, blog_archive, raw, app ]
787
997
  region: head
788
998
  required: ondemand
789
- preload: false # property currently unused
999
+ preload: false
790
1000
  script_load: sync
791
1001
  dependencies: false
792
1002
  pass_init_data: true
793
1003
  data:
794
1004
  css: []
795
1005
  files: [ adapter/js/framer.js ]
796
- js: [
797
- modules/iframeResizer/js/resizer # server component
798
- ]
1006
+ js: [ modules/iframeResizer/js/resizer ]
799
1007
  init_function: [ j1.adapter.framer.init ]
800
1008
 
801
1009
  # ----------------------------------------------------------------------------
802
1010
  # Lightbox V2, the main lightbox for J1 Template
1011
+ # See: ttp://lokeshdhakar.com/projects/lightbox2/
803
1012
  #
804
1013
  - name: J1 Lightbox
805
1014
  resource:
806
- id: lightbox
807
1015
  enabled: true
1016
+
1017
+ id: lightbox
808
1018
  comment: module lightbox
809
1019
  layout: [ home, page, post, collection, blog_archive ]
810
1020
  region: head
@@ -823,17 +1033,19 @@ resources:
823
1033
  init_function: [ j1.adapter.lightbox.init ]
824
1034
 
825
1035
  # ----------------------------------------------------------------------------
826
- # Twitter Emoji Icons, CSS compinet for Twitter Emojis
1036
+ # Twitter Emoji Icons, CSS component for using Twitter Emojis
1037
+ # See: https://twemoji.twitter.com/
827
1038
  #
828
1039
  - name: Twitter Emoji Icons
829
1040
  resource:
830
- id: twemoji
831
1041
  enabled: true
1042
+
1043
+ id: twemoji
832
1044
  comment: module twemoji
833
1045
  layout: [ home, page, post, collection, blog_archive ]
834
1046
  region: head
835
1047
  required: ondemand
836
- preload: false # property currently unused
1048
+ preload: false
837
1049
  script_load: deferred
838
1050
  dependencies: false
839
1051
  pass_init_data: false
@@ -845,16 +1057,18 @@ resources:
845
1057
 
846
1058
  # ----------------------------------------------------------------------------
847
1059
  # Twitter Emoji Picker, selection UI for Twitter Emojis
1060
+ # See: https://github.com/xLs51/Twemoji-Picker
848
1061
  #
849
1062
  - name: Twitter Emoji Picker
850
1063
  resource:
851
- id: twemoji_picker
852
1064
  enabled: true
1065
+
1066
+ id: twemoji_picker
853
1067
  comment: module twemoji_picker
854
1068
  layout: [ page ]
855
1069
  region: head
856
1070
  required: ondemand
857
- preload: false # property currently unused
1071
+ preload: false
858
1072
  script_load: deferred
859
1073
  dependencies: false
860
1074
  pass_init_data: false
@@ -866,16 +1080,18 @@ resources:
866
1080
 
867
1081
  # ----------------------------------------------------------------------------
868
1082
  # MDI Previewer, preview page (UI) for MDI icons
1083
+ # See: https://materialdesignicons.com/
869
1084
  #
870
1085
  - name: MDI Previewer
871
1086
  resource:
872
- id: mdi_previewer
873
1087
  enabled: true
1088
+
1089
+ id: mdi_previewer
874
1090
  comment: module mdi_previewer
875
1091
  layout: [ page ]
876
1092
  region: head
877
1093
  required: ondemand
878
- preload: false # property currently unused
1094
+ preload: false
879
1095
  script_load: deferred
880
1096
  dependencies: false
881
1097
  pass_init_data: false
@@ -887,16 +1103,18 @@ resources:
887
1103
 
888
1104
  # ----------------------------------------------------------------------------
889
1105
  # MDIl Previewer, preview page (UI) for MDI icons (light)
1106
+ # See: https://materialdesignicons.com/cdn/light/0.2.63/
890
1107
  #
891
1108
  - name: MDIL Previewer
892
1109
  resource:
893
- id: mdil_previewer
894
1110
  enabled: true
1111
+
1112
+ id: mdil_previewer
895
1113
  comment: module mdil_previewer
896
1114
  layout: [ page ]
897
1115
  region: head
898
1116
  required: ondemand
899
- preload: false # property currently unused
1117
+ preload: false
900
1118
  script_load: deferred
901
1119
  dependencies: false
902
1120
  pass_init_data: false
@@ -906,39 +1124,20 @@ resources:
906
1124
  js: [ modules/mdilPreviewer/js/previewer ]
907
1125
  init_function: []
908
1126
 
909
- # ----------------------------------------------------------------------------
910
- # CSS Flags Previewer, preview page (UI) for country flags
911
- #
912
- - name: CSS Flags Previewer
913
- resource:
914
- id: css_flags_previewer
915
- enabled: true
916
- comment: module css_flags_previewer
917
- layout: [ all ]
918
- region: head
919
- required: always
920
- preload: false # property currently unused
921
- script_load: deferred
922
- dependencies: false
923
- pass_init_data: false
924
- data:
925
- css: [ core/country-flags/css/theme/uno ]
926
- files: []
927
- js: []
928
- init_function: []
929
-
930
1127
  # ----------------------------------------------------------------------------
931
1128
  # Iconify Framework, JS API to use Iconify icons
1129
+ # See: https://iconify.design/
932
1130
  #
933
1131
  - name: Iconify Framework
934
1132
  resource:
935
- id: iconify
936
1133
  enabled: true
1134
+
1135
+ id: iconify
937
1136
  comment: Iconify framework
938
1137
  region: head
939
1138
  layout: [ home, page, post, collection, blog_archive ]
940
1139
  required: ondemand
941
- preload: false # property currently unused
1140
+ preload: false
942
1141
  script_load: defer
943
1142
  dependencies: false
944
1143
  pass_init_data: false
@@ -950,15 +1149,17 @@ resources:
950
1149
 
951
1150
  # ----------------------------------------------------------------------------
952
1151
  # Algolia, JS API (wrapper) to use Algolia Search
1152
+ # See: https://www.algolia.com/doc/
953
1153
  #
954
1154
  - resource:
955
1155
  enabled: true
1156
+
956
1157
  id: algolia
957
1158
  comment: Resources used by Algolia Instantsearch
958
1159
  region: head
959
1160
  layout: [ home, page, post, collection ]
960
1161
  required: ondemand
961
- preload: false # property currently unused
1162
+ preload: false
962
1163
  script_load: defer
963
1164
  data:
964
1165
  files: [
@@ -970,17 +1171,20 @@ resources:
970
1171
  init_function: [ j1.adapter.algolia.init ]
971
1172
 
972
1173
  # ----------------------------------------------------------------------------
973
- # Clipboard, JS API to add clipboard functionality
1174
+ # Clipboard, JS implementation to add clipboard functionality based
1175
+ # on the JS API clipboard.js
1176
+ # See: https://clipboardjs.com/
974
1177
  #
975
1178
  - name: Clipboard
976
1179
  resource:
977
- id: clipboard
978
1180
  enabled: true
1181
+
1182
+ id: clipboard
979
1183
  comment: module clipboard
980
1184
  region: head
981
1185
  layout: [ page, post, collection ]
982
1186
  required: ondemand
983
- preload: false # property currently unused
1187
+ preload: false
984
1188
  script_load: defer
985
1189
  dependencies: false
986
1190
  pass_init_data: false
@@ -995,13 +1199,14 @@ resources:
995
1199
  #
996
1200
  - name: Carousel
997
1201
  resource:
998
- id: carousel
999
1202
  enabled: true
1203
+
1204
+ id: carousel
1000
1205
  comment: module carousel
1001
1206
  region: head
1002
1207
  layout: [ home, page, post, collection, blog_archive ]
1003
1208
  required: ondemand
1004
- preload: false # property currently unused
1209
+ preload: false
1005
1210
  script_load: defer
1006
1211
  dependencies: false
1007
1212
  pass_init_data: true
@@ -1018,17 +1223,20 @@ resources:
1018
1223
  init_function: [ j1.adapter.carousel.init ]
1019
1224
 
1020
1225
  # ----------------------------------------------------------------------------
1021
- # Justified Gallery, JS API for full-featured image galleries
1226
+ # Justified Gallery, JS implementation for full-featured image galleries
1227
+ # based on the Justified Gallery API
1228
+ # See: https://miromannino.github.io/Justified-Gallery/
1022
1229
  #
1023
1230
  - name: Justified Gallery
1024
1231
  resource:
1025
- id: justifiedGallery
1026
1232
  enabled: true
1233
+
1234
+ id: justifiedGallery
1027
1235
  comment: module justifiedGallery
1028
1236
  region: head
1029
1237
  layout: [ home, page, post, collection, blog_archive, raw, app ]
1030
1238
  required: ondemand
1031
- preload: false # property currently unused
1239
+ preload: false
1032
1240
  script_load: defer
1033
1241
  dependencies: false
1034
1242
  pass_init_data: true
@@ -1042,12 +1250,15 @@ resources:
1042
1250
  init_function: [ j1.adapter.justifiedGallery.init ]
1043
1251
 
1044
1252
  # ----------------------------------------------------------------------------
1045
- # LightGallery, JS API for full-featured lightboxes
1253
+ # LightGallery, JS implementaion for full-featured lightboxes based on
1254
+ # the JS API lightGallery
1255
+ # See: https://www.lightgalleryjs.com/
1046
1256
  #
1047
1257
  - name: LightGallery
1048
1258
  resource:
1049
- id: lightGallery
1050
1259
  enabled: true
1260
+
1261
+ id: lightGallery
1051
1262
  comment: module lightGallery
1052
1263
  region: head
1053
1264
  layout: [ home, page, post, collection, blog_archive, raw, app ]
@@ -1082,8 +1293,9 @@ resources:
1082
1293
  #
1083
1294
  - name: VideoJS Player
1084
1295
  resource:
1085
- id: video_js
1086
1296
  enabled: true
1297
+
1298
+ id: video_js
1087
1299
  comment: module videojs
1088
1300
  region: head
1089
1301
  layout: [ home, page, post, collection, blog_archive ]
@@ -1111,8 +1323,9 @@ resources:
1111
1323
  #
1112
1324
  - name: VimeoFroogaloopAPI
1113
1325
  resource:
1114
- id: vimeo_froogaloop
1115
1326
  enabled: true
1327
+
1328
+ id: vimeo_froogaloop
1116
1329
  comment: module vimeo_froogaloop
1117
1330
  region: head
1118
1331
  layout: [ home, page, post, collection, blog_archive ]
@@ -1132,8 +1345,9 @@ resources:
1132
1345
  #
1133
1346
  - name: Vimeo Player
1134
1347
  resource:
1135
- id: vimeo_player
1136
1348
  enabled: true
1349
+
1350
+ id: vimeo_player
1137
1351
  comment: module vimeo_player
1138
1352
  region: head
1139
1353
  layout: [ home, page, post, collection, blog_archive ]
@@ -1149,17 +1363,20 @@ resources:
1149
1363
  init_function: []
1150
1364
 
1151
1365
  # ----------------------------------------------------------------------------
1152
- # noUiSlider, responsive input sliders (currently NOT used)
1366
+ # Slider, responsive input sliders based on the JS implementation
1367
+ # of noUiSlider API (currently NOT used)
1368
+ # See: https://github.com/leongersen/noUiSlider
1153
1369
  #
1154
- - name: noUiSlider
1370
+ - name: Slider
1155
1371
  resource:
1372
+ enabled: false
1373
+
1156
1374
  id: nouislider
1157
- enabled: false # currently NOT used
1158
1375
  comment: module nouislider
1159
1376
  region: head
1160
1377
  layout: [ page, post, collection ]
1161
1378
  required: ondemand
1162
- preload: false # property currently unused
1379
+ preload: false
1163
1380
  script_load: defer
1164
1381
  dependencies: false
1165
1382
  pass_init_data: false
@@ -1169,66 +1386,15 @@ resources:
1169
1386
  js: [ modules/noUISlider/js/noUISlider ]
1170
1387
  init_function: []
1171
1388
 
1172
- # ----------------------------------------------------------------------------
1173
- # Floating Action Button Menu. JS API to create FAB menus
1174
- #
1175
- - name: FABM
1176
- resource:
1177
- id: fabm
1178
- enabled: true
1179
- comment: FAB Menus
1180
- region: head
1181
- layout: [ all ]
1182
- required: always
1183
- preload: false
1184
- script_load: sync
1185
- dependencies: false
1186
- pass_init_data: true
1187
- data:
1188
- css: [] # styles moved to Template CSS
1189
- files: [
1190
- modules/fab/js/cash.js, # adapted|old (1.3.5) version from Materialize
1191
- modules/fab/js/fab.js, # modified version for J1 (former: button.js)
1192
- adapter/js/fab.js # adapter adopted from ssm module
1193
- ]
1194
- js: []
1195
- init_function: [ j1.adapter.fab.init ]
1196
-
1197
- # ----------------------------------------------------------------------------
1198
- # lunr search engine, JS API used for the QuickSearch feature of J1 Template
1199
- #
1200
- - name: QuickSearch
1201
- resource:
1202
- id: quicksearch
1203
- enabled: true
1204
- comment: J1 QuickSearch
1205
- region: head
1206
- layout: [ all ]
1207
- required: always # always | ondemand
1208
- preload: false # property currently unused
1209
- script_load: defer
1210
- dependencies: false
1211
- pass_init_data: false
1212
- data:
1213
- css: [ modules/lunrSearch/css/quicksearch ]
1214
- files: [ adapter/js/quicksearch.js ]
1215
- js: [
1216
- modules/lunrSearch/js/lunr,
1217
- modules/lunrSearch/js/mustache,
1218
- modules/lunrSearch/js/dateformat,
1219
- modules/lunrSearch/js/uri,
1220
- # modules/jquery/js/require, # require.js currently unused, but conflicts with some modules
1221
- modules/lunrSearch/js/quicksearch
1222
- ]
1223
- init_function: [ j1.adapter.quicksearch.init ]
1224
-
1225
1389
  # ----------------------------------------------------------------------------
1226
1390
  # Data tables for J1 Template (currently NOT used)
1391
+ # See: https://datatables.net/
1227
1392
  #
1228
1393
  - name: Data Tables
1229
1394
  resource:
1230
- id: datatables
1231
1395
  enabled: false
1396
+
1397
+ id: datatables
1232
1398
  comment: module datatables
1233
1399
  region: head
1234
1400
  layout: [ all ]
@@ -1243,34 +1409,14 @@ resources:
1243
1409
  js: [ modules/datatables/js/datatables ]
1244
1410
  init_function: []
1245
1411
 
1246
- # ----------------------------------------------------------------------------
1247
- # rtextResizer (currently NOT used)
1248
- #
1249
- - name: rtextResizer
1250
- resource:
1251
- id: rtextresizer
1252
- enabled: false
1253
- comment: J1 rtextResizer
1254
- region: head
1255
- layout: [ home, page, post, collection, blog_archive ]
1256
- required: always # always | ondemand
1257
- preload: false # property currently unused
1258
- script_load: defer
1259
- dependencies: false
1260
- pass_init_data: false
1261
- data:
1262
- css: []
1263
- files: [ adapter/js/rtextResizer.js ]
1264
- js: []
1265
- init_function: [ j1.adapter.rtextResizer.init ]
1266
-
1267
1412
  # ----------------------------------------------------------------------------
1268
1413
  # scroller, JS API to implement infinite scroll
1269
1414
  #
1270
1415
  - name: scroller
1271
1416
  resource:
1272
- id: scroller
1273
1417
  enabled: true
1418
+
1419
+ id: scroller
1274
1420
  comment: scroller
1275
1421
  region: head
1276
1422
  layout: [ home, page, post, collection, blog_archive ]
@@ -1287,11 +1433,13 @@ resources:
1287
1433
 
1288
1434
  # ----------------------------------------------------------------------------
1289
1435
  # deeplAPI, JS Wrapper for the DeepL API
1436
+ # See: https://www.deepl.com/docs-api/
1290
1437
  #
1291
1438
  - name: deeplAPI
1292
1439
  resource:
1293
- id: deeplAPI
1294
1440
  enabled: true
1441
+
1442
+ id: deeplAPI
1295
1443
  comment: deeplAPI
1296
1444
  region: head
1297
1445
  layout: [ home, page, post, collection, blog_archive ]
@@ -1307,13 +1455,16 @@ resources:
1307
1455
  init_function: []
1308
1456
 
1309
1457
  # ----------------------------------------------------------------------------
1310
- # cryptoJS, JavaScript implementations of standard and secure cryptographic algorithms
1458
+ # Crypto, JS implementation of standard and secure cryptographic
1459
+ # algorithms based on Google's cryptoJS APIs
1460
+ # See: https://code.google.com/archive/p/crypto-js/
1311
1461
  #
1312
- - name: cryptoJS
1462
+ - name: Crypto
1313
1463
  resource:
1314
- id: cryptoJS
1315
1464
  enabled: true
1316
- comment: cryptoJS
1465
+
1466
+ id: crypto
1467
+ comment: crypto
1317
1468
  region: head
1318
1469
  layout: [ all ]
1319
1470
  required: ondemand
@@ -1328,55 +1479,40 @@ resources:
1328
1479
  init_function: []
1329
1480
 
1330
1481
  # ----------------------------------------------------------------------------
1331
- # msDropdown, JS API to create themeable HTML <select> elements (dropdowns)
1482
+ # Advertising, JS implementation to provide Advertising services
1483
+ # See: https://www.google.com/intl/de_de/adsense/start/
1332
1484
  #
1333
- - name: msDropdown
1485
+ - name: Advertising
1334
1486
  resource:
1335
- id: msDropdown
1336
1487
  enabled: true
1337
- comment: module msDropdown
1338
- region: head
1339
- layout: [ home, page, post, collection, blog_archive ]
1340
- required: always
1341
- preload: false
1342
- script_load: async
1343
- dependencies: false
1344
- pass_init_data: false
1345
- data:
1346
- css: []
1347
- files: [ modules/msDropdown/css/themes/uno/msDropdown.css ]
1348
- js: [ modules/msDropdown/js/msDropdown ]
1349
- init_function: []
1350
1488
 
1351
- # ----------------------------------------------------------------------------
1352
- # Translator, JS API to provide translations for J1 Template
1353
- #
1354
- - name: Translator
1355
- resource:
1356
- id: translator
1357
- enabled: true
1358
- comment: module translator
1489
+ id: advertising
1490
+ comment: module advertising
1359
1491
  region: head
1360
1492
  layout: [ all ]
1361
- required: always
1493
+ required: ondemand
1362
1494
  preload: false
1363
1495
  script_load: sync
1364
1496
  dependencies: false
1365
1497
  pass_init_data: false
1366
1498
  data:
1367
- css: [ modules/translator/css/translator ]
1368
- files: [ adapter/js/translator.js ]
1369
- js: [ modules/translator/js/translator ]
1370
- init_function: [ j1.adapter.translator.init ]
1499
+ css: []
1500
+ files: [
1501
+ modules/advertising/js/google/adInitializer.js,
1502
+ adapter/js/advertising.js
1503
+ ]
1504
+ js: []
1505
+ init_function: [ j1.adapter.advertising.init ]
1371
1506
 
1372
1507
  # ----------------------------------------------------------------------------
1373
- # Advertising, JS API to provide Ads for J1 Template
1508
+ # Comments, JS implementation to provide access on comment providers
1374
1509
  #
1375
- - name: Advertising
1510
+ - name: Comments
1376
1511
  resource:
1377
- id: advertising
1378
1512
  enabled: true
1379
- comment: module advertising
1513
+
1514
+ id: comments
1515
+ comment: module comments
1380
1516
  region: head
1381
1517
  layout: [ all ]
1382
1518
  required: ondemand
@@ -1386,12 +1522,9 @@ resources:
1386
1522
  pass_init_data: false
1387
1523
  data:
1388
1524
  css: []
1389
- files: [
1390
- modules/advertising/js/google/adInitializer.js,
1391
- adapter/js/advertising.js
1392
- ]
1525
+ files: [ adapter/js/comments.js ]
1393
1526
  js: []
1394
- init_function: [ j1.adapter.advertising.init ]
1527
+ init_function: [ j1.adapter.comments.init ]
1395
1528
 
1396
1529
  # ------------------------------------------------------------------------------
1397
1530
  # END config