j1-template 2024.3.13 → 2024.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  3. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -4
  4. data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +24 -23
  5. data/_includes/themes/j1/procedures/layouts/content_writer.proc +4 -3
  6. data/_includes/themes/j1/procedures/layouts/default_writer.proc +37 -6
  7. data/_includes/themes/j1/procedures/layouts/module_writer.proc +31 -95
  8. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +51 -29
  9. data/assets/data/amplitude.28.html +887 -0
  10. data/assets/data/amplitude.29.html +923 -0
  11. data/assets/data/amplitude.html +311 -46
  12. data/assets/data/banner.html +9 -7
  13. data/assets/data/masterslider.html +128 -7
  14. data/assets/data/panel.html +16 -65
  15. data/assets/theme/j1/adapter/js/amplitude.23.js +1165 -0
  16. data/assets/theme/j1/adapter/js/amplitude.24.js +1164 -0
  17. data/assets/theme/j1/adapter/js/amplitude.25.js +1268 -0
  18. data/assets/theme/j1/adapter/js/amplitude.js +294 -117
  19. data/assets/theme/j1/adapter/js/attic.js +14 -11
  20. data/assets/theme/j1/adapter/js/docsearch.js +2 -2
  21. data/assets/theme/j1/adapter/js/fab.js +2 -2
  22. data/assets/theme/j1/adapter/js/j1.js +8 -8
  23. data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
  24. data/assets/theme/j1/adapter/js/masonry.js +1 -1
  25. data/assets/theme/j1/adapter/js/masterslider.js +2 -2
  26. data/assets/theme/j1/adapter/js/particles.js +2 -2
  27. data/assets/theme/j1/adapter/js/scroller.js +2 -2
  28. data/assets/theme/j1/adapter/js/slick.js +2 -2
  29. data/assets/theme/j1/adapter/js/themes.js +1 -1
  30. data/assets/theme/j1/adapter/js/translator.js +2 -2
  31. data/assets/theme/j1/adapter/js/waves.js +1 -1
  32. data/assets/theme/j1/core/css/animate.css +1634 -1070
  33. data/assets/theme/j1/core/css/animate.css.map +1 -0
  34. data/assets/theme/j1/core/css/animate.min.css +2 -1
  35. data/assets/theme/j1/core/css/animate.min.css.map +1 -0
  36. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
  37. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
  38. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
  39. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
  40. data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
  41. data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
  42. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
  43. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
  44. data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
  45. data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
  46. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
  47. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
  48. data/assets/theme/j1/core/css/icon-fonts/mdib.css +5554 -2766
  49. data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
  50. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
  51. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
  52. data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
  53. data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
  54. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
  55. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
  56. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
  57. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
  58. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
  59. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
  60. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
  61. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
  62. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
  63. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
  64. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
  65. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
  66. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
  67. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
  68. data/assets/theme/j1/core/css/vendor.css +1771 -1043
  69. data/assets/theme/j1/core/css/vendor.css.map +1 -0
  70. data/assets/theme/j1/core/css/vendor.min.css +2 -1
  71. data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
  72. data/assets/theme/j1/core/js/template.js +399 -447
  73. data/assets/theme/j1/core/js/template.min.js +7 -7
  74. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  75. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +4 -2
  76. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +39 -4
  77. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  78. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +57 -17
  79. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  80. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
  81. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
  82. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
  83. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
  84. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
  85. data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
  86. data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
  87. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
  88. data/assets/theme/j1/modules/iconPicker/js/universal-icon-picker.js +471 -471
  89. data/assets/theme/j1/modules/j1LazyLoader/LICENSE +21 -0
  90. data/assets/theme/j1/modules/j1LazyLoader/js/j1Lazy.js +870 -0
  91. data/assets/theme/j1/modules/js-cookies/js/js.cookie.js +3 -3
  92. data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
  93. data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
  94. data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
  95. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
  96. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
  97. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
  98. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
  99. data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
  100. data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
  101. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
  102. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
  103. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
  104. data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
  105. data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
  106. data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
  107. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
  108. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
  109. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
  110. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
  111. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
  112. data/assets/theme/j1/modules/videojs/js/video.js +2 -2
  113. data/lib/j1/version.rb +1 -1
  114. data/lib/starter_web/README.md +577 -560
  115. data/lib/starter_web/_config.yml +2 -2
  116. data/lib/starter_web/_data/blocks/footer.yml +10 -5
  117. data/lib/starter_web/_data/blocks/panel.yml +2 -2
  118. data/lib/starter_web/_data/layouts/default.yml +14 -3
  119. data/lib/starter_web/_data/modules/amplitude.yml +145 -0
  120. data/lib/starter_web/_data/modules/defaults/amplitude.yml +29 -7
  121. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
  122. data/lib/starter_web/_data/modules/gallery.yml +136 -0
  123. data/lib/starter_web/_data/modules/lazyLoader.0.yml +118 -0
  124. data/lib/starter_web/_data/modules/lazyLoader.yml +68 -31
  125. data/lib/starter_web/_data/modules/masonry.yml +4 -4
  126. data/lib/starter_web/_data/modules/masterslider.yml +118 -12
  127. data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
  128. data/lib/starter_web/_data/resources.yml +154 -190
  129. data/lib/starter_web/_data/templates/feed.xml +1 -1
  130. data/lib/starter_web/_includes/attributes.asciidoc +1 -0
  131. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
  132. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
  133. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
  134. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  135. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
  136. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
  137. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
  138. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  139. data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
  140. data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
  141. data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
  142. data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
  143. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
  144. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
  145. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
  146. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
  147. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
  148. data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
  149. data/lib/starter_web/package.json +7 -18
  150. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
  151. data/lib/starter_web/pages/public/features/template.adoc +18 -8
  152. data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
  153. data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
  154. data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
  155. data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
  156. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
  157. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
  158. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  159. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  160. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  161. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  162. data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
  163. data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +2 -2
  164. data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
  165. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
  166. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
  167. data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
  168. data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
  169. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
  170. data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +207 -188
  171. data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
  172. data/lib/starter_web/pages/public/tour/present_images.adoc +27 -5
  173. data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
  174. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
  175. data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
  176. metadata +90 -22
  177. /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
  178. /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
  179. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
  180. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
  181. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
  182. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
  183. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
  184. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
  185. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
  186. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
  187. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
  188. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
  189. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
  190. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
  191. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
  192. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
  193. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
@@ -143,14 +143,14 @@
143
143
  # loading strategies for SYNC and DEFER.
144
144
  #
145
145
  # type: string
146
- # values: head|body-footer
146
+ # values: head|body
147
147
  # default: head
148
148
  #
149
149
  # layout
150
150
  # ------------------------------------------------------------------------------
151
151
  # Specifies the LAYOUT the resources is loaded
152
152
  #
153
- # type: sequence (array)
153
+ # type: ARRAY
154
154
  # values: home|page|post|app|all
155
155
  # default: []
156
156
  #
@@ -184,10 +184,14 @@
184
184
  # BROWSER
185
185
  #
186
186
  # type: string
187
- # values: async|defer|empty
188
- # default: no default
187
+ # values: sync|defer|async
188
+ # default: default
189
189
  #
190
190
  # NOTE:
191
+ # If 'sync' is set for script_load, NO attribute is placed and
192
+ # the resource is processed (loaded) syncronously at the tine
193
+ # the brouwser reads the (script) tag (default).
194
+
191
195
  # Modern web browsers support the ASYNC and DEFER attributes
192
196
  # on JS|SCRIPTS. These attributes instructs the browser it
193
197
  # is safe to CONTINUE parsing (the HTML code) while the scripts
@@ -258,7 +262,7 @@
258
262
  # init_function
259
263
  # ----------------------------------------------------------------------------
260
264
  # Specifies the name of the (J1|Module) initializer
261
- # function to be started on document-ready (event).
265
+ # function (and method) to be started on the document-ready (event).
262
266
  #
263
267
  # type: string
264
268
  # values: name
@@ -273,11 +277,11 @@
273
277
  # - resource:
274
278
  # enabled: true|false
275
279
  # id: resource_id
276
- # comment: cmments on YOUR_RESOURCE_NAME
277
- # region: head|body-footer
280
+ # comment: cmments on YOUR RESOURCE
281
+ # region: head|body
278
282
  # layout: [ layout_name(s)|all ]
279
283
  # required: always|ondemand
280
- # script_load: sync|defer|async
284
+ # script_load: sync|async|defer
281
285
  # pass_init_data: true|false
282
286
  #
283
287
  # data:
@@ -305,11 +309,7 @@
305
309
  # },
306
310
  # ...
307
311
  # ]
308
- # init_function: [
309
- # INITIALIZER_NAME.INIT_METHOD_NAME,
310
- # INITIALIZER_NAME.INIT_METHOD_NAME,
311
- # ...
312
- # ]
312
+ # init_function: INITIALIZER_NAME.INIT_METHOD
313
313
  #
314
314
  # ------------------------------------------------------------------------------
315
315
 
@@ -319,8 +319,6 @@
319
319
  globals:
320
320
  base_path: /assets/theme/j1
321
321
  location: local
322
- dependency_check_cycle: 25
323
- dependency_check_timeout: 50
324
322
  extensions:
325
323
  css_dev: css
326
324
  css_prod: min.css
@@ -343,17 +341,16 @@ resources:
343
341
  # NOTE: load always 'unolight' as a 'bese' (e.g. for unodark, but should be removed)
344
342
  # NOTE: Changed J1 Theme Core resources for template.js bcecause of potential AV Scanner issues of min version
345
343
  #
346
- - name: J1 Theme Core
344
+ - name: J1 Template Core
347
345
  resource:
348
346
  enabled: true
349
347
 
350
348
  id: core
351
- comment: Module J1 Theme Core
349
+ comment: J1 Template Core
352
350
  region: head
353
351
  layout: [ all ]
354
352
  required: always
355
- script_load:
356
- dependencies: false
353
+ script_load: sync
357
354
  pass_init_data: true
358
355
 
359
356
  data:
@@ -387,8 +384,7 @@ resources:
387
384
  region: head
388
385
  layout: [ all ]
389
386
  required: always
390
- script_load:
391
- dependencies: false
387
+ script_load: sync
392
388
  pass_init_data: false
393
389
 
394
390
  data:
@@ -407,11 +403,10 @@ resources:
407
403
 
408
404
  id: speak2me
409
405
  comment: Module speak2me
410
- region: head
406
+ region: body-footer
411
407
  layout: [ home, page, post ]
412
408
  required: always
413
- script_load: defer
414
- dependencies: false
409
+ script_load: sync
415
410
  pass_init_data: true
416
411
 
417
412
  data:
@@ -431,11 +426,10 @@ resources:
431
426
 
432
427
  id: bmd
433
428
  comment: Module BMD
434
- region: head
429
+ region: body-footer
435
430
  layout: [ all ]
436
431
  required: ondemand
437
- script_load:
438
- dependencies: false
432
+ script_load: defer
439
433
  pass_init_data: false
440
434
 
441
435
  data:
@@ -455,11 +449,10 @@ resources:
455
449
 
456
450
  id: ga-optin
457
451
  comment: Module GA OptIn
458
- region: head
452
+ region: body-footer
459
453
  layout: [ all ]
460
454
  required: always
461
- script_load: defer
462
- dependencies: false
455
+ script_load: sync
463
456
  pass_init_data: false
464
457
 
465
458
  data:
@@ -480,11 +473,10 @@ resources:
480
473
 
481
474
  id: logger
482
475
  comment: Module Logger
483
- region: head
476
+ region: body-footer
484
477
  layout: [ all ]
485
478
  required: always
486
- script_load:
487
- dependencies: false
479
+ script_load: sync
488
480
  pass_init_data: false
489
481
 
490
482
  data:
@@ -505,11 +497,10 @@ resources:
505
497
 
506
498
  id: backstretch
507
499
  comment: Module Backstretch
508
- region: head
500
+ region: body-footer
509
501
  layout: [ all ]
510
502
  required: always
511
- script_load:
512
- dependencies: false
503
+ script_load: sync
513
504
  pass_init_data: false
514
505
 
515
506
  data:
@@ -530,11 +521,10 @@ resources:
530
521
 
531
522
  id: attic
532
523
  comment: Module Attic
533
- region: head
524
+ region: body-footer
534
525
  layout: [ all ]
535
526
  required: always
536
- script_load:
537
- dependencies: false
527
+ script_load: sync
538
528
  pass_init_data: true
539
529
 
540
530
  data:
@@ -555,11 +545,10 @@ resources:
555
545
 
556
546
  id: navigator
557
547
  comment: Module Navigator
558
- region: head
548
+ region: body-footer
559
549
  layout: [ all ]
560
550
  required: always
561
- script_load:
562
- dependencies: false
551
+ script_load: sync
563
552
  pass_init_data: false
564
553
 
565
554
  data:
@@ -579,11 +568,10 @@ resources:
579
568
 
580
569
  id: mmenu
581
570
  comment: Module MMenu
582
- region: head
571
+ region: body-footer
583
572
  layout: [ all ]
584
573
  required: always
585
- script_load: defer
586
- dependencies: false
574
+ script_load: sync
587
575
  pass_init_data: false
588
576
 
589
577
  data:
@@ -607,11 +595,10 @@ resources:
607
595
 
608
596
  id: themes
609
597
  comment: Module Themes
610
- region: head
598
+ region: body-footer
611
599
  layout: [ all ]
612
600
  required: always
613
- script_load:
614
- dependencies: false
601
+ script_load: sync
615
602
  pass_init_data: false
616
603
 
617
604
  data:
@@ -633,10 +620,9 @@ resources:
633
620
  id: toccer
634
621
  comment: Module Toccer
635
622
  layout: [ page, post, collection, blog_archive ]
636
- region: head
623
+ region: body-footer
637
624
  required: always
638
- script_load:
639
- dependencies: false
625
+ script_load: sync
640
626
  pass_init_data: true
641
627
 
642
628
  data:
@@ -657,11 +643,10 @@ resources:
657
643
 
658
644
  id: cookie-consent
659
645
  comment: Module Cookie Consent
660
- region: head
646
+ region: body-footer
661
647
  layout: [ home, page, post ]
662
648
  required: always
663
- script_load:
664
- dependencies: false
649
+ script_load: sync
665
650
  pass_init_data: false
666
651
 
667
652
  data:
@@ -682,11 +667,10 @@ resources:
682
667
 
683
668
  id: lunr
684
669
  comment: Module Lunr
685
- region: head
670
+ region: body-footer
686
671
  layout: [ all ]
687
672
  required: always
688
- script_load:
689
- dependencies: false
673
+ script_load: sync
690
674
  pass_init_data: false
691
675
 
692
676
  data:
@@ -710,11 +694,10 @@ resources:
710
694
 
711
695
  id: fab
712
696
  comment: Module FAB
713
- region: head
714
- layout: [ home, page, post ]
697
+ region: body-footer
698
+ layout: [ page, post, home ]
715
699
  required: always
716
- script_load: defer
717
- dependencies: false
700
+ script_load: sync
718
701
  pass_init_data: true
719
702
 
720
703
  data:
@@ -737,11 +720,10 @@ resources:
737
720
 
738
721
  id: preload-polyfill
739
722
  comment: Module Preload Polyfill
740
- region: head
723
+ region: body-footer
741
724
  layout: [all]
742
725
  required: always
743
- script_load:
744
- dependencies: false
726
+ script_load: sync
745
727
  pass_init_data: false
746
728
 
747
729
  data:
@@ -766,11 +748,10 @@ resources:
766
748
 
767
749
  id: jquery-ui
768
750
  comment: Module jQueryUI
769
- region: head
751
+ region: body-footer
770
752
  layout: [ all ]
771
753
  required: ondemand
772
- script_load:
773
- dependencies: false
754
+ script_load: sync
774
755
  pass_init_data: false
775
756
 
776
757
  data:
@@ -793,11 +774,10 @@ resources:
793
774
 
794
775
  id: theme-switcher
795
776
  comment: Module Theme Switcher
796
- region: head
777
+ region: body-footer
797
778
  layout: [ home, page, post ]
798
779
  required: always
799
- script_load:
800
- dependencies: false
780
+ script_load: sync
801
781
  pass_init_data: false
802
782
 
803
783
  data:
@@ -818,12 +798,10 @@ resources:
818
798
 
819
799
  id: responsive-tables
820
800
  comment: Module Responsive Tables
821
- region: head
801
+ region: body-footer
822
802
  layout: [ home, page, post ]
823
803
  required: always
824
- script_load: defer
825
- script_load:
826
- dependencies: false
804
+ script_load: sync
827
805
  pass_init_data: false
828
806
 
829
807
  data:
@@ -841,11 +819,10 @@ resources:
841
819
 
842
820
  id: asciidoctor
843
821
  comment: Module Asciidoctor
844
- region: head
822
+ region: body-footer
845
823
  layout: [ home, page, post, collection, blog_archive, app ]
846
824
  required: always
847
- script_load: defer
848
- dependencies: false
825
+ script_load: sync
849
826
  pass_init_data: false
850
827
 
851
828
  data:
@@ -863,11 +840,10 @@ resources:
863
840
 
864
841
  id: text-resizer
865
842
  comment: Module Text Resizer
866
- region: head
843
+ region: body-footer
867
844
  layout: [ all ]
868
845
  required: always
869
- script_load:
870
- dependencies: false
846
+ script_load: sync
871
847
  pass_init_data: false
872
848
 
873
849
  data:
@@ -888,11 +864,10 @@ resources:
888
864
 
889
865
  id: ms-dropdown
890
866
  comment: Module MS Dropdown
891
- region: head
867
+ region: body-footer
892
868
  layout: [ home, page, post ]
893
869
  required: always
894
- script_load: defer
895
- dependencies: false
870
+ script_load: sync
896
871
  pass_init_data: false
897
872
 
898
873
  data:
@@ -912,11 +887,10 @@ resources:
912
887
 
913
888
  id: translator
914
889
  comment: Module Translator
915
- region: head
890
+ region: body-footer
916
891
  layout: [ all ]
917
892
  required: always
918
- script_load: defer
919
- dependencies: false
893
+ script_load: sync
920
894
  pass_init_data: false
921
895
 
922
896
  data:
@@ -936,11 +910,10 @@ resources:
936
910
 
937
911
  id: analytics
938
912
  comment: Module Analytics
939
- region: head
913
+ region: body-footer
940
914
  layout: [ all ]
941
915
  required: always
942
- script_load: defer
943
- dependencies: false
916
+ script_load: sync
944
917
  pass_init_data: false
945
918
 
946
919
  data:
@@ -963,11 +936,10 @@ resources:
963
936
 
964
937
  id: custom-module
965
938
  comment: Module Custom Module
966
- region: head
939
+ region: body-footer
967
940
  layout: [ home, page, post ]
968
941
  required: ondemand
969
942
  script_load: defer
970
- dependencies: false
971
943
  pass_init_data: false
972
944
 
973
945
  data:
@@ -985,11 +957,10 @@ resources:
985
957
 
986
958
  id: custom-function
987
959
  comment: Module Custom Function
988
- region: head
960
+ region: body-footer
989
961
  layout: [ home, page, post ]
990
962
  required: ondemand
991
- script_load: defer
992
- dependencies: false
963
+ script_load: sync
993
964
  pass_init_data: false
994
965
 
995
966
  data:
@@ -1008,11 +979,10 @@ resources:
1008
979
 
1009
980
  id: rouge
1010
981
  comment: Module Rouge
1011
- region: head
982
+ region: body-footer
1012
983
  layout: [ all ]
1013
984
  required: always
1014
- script_load: defer
1015
- dependencies: false
985
+ script_load: sync
1016
986
  pass_init_data: false
1017
987
 
1018
988
  data:
@@ -1035,11 +1005,10 @@ resources:
1035
1005
 
1036
1006
  id: animate-css
1037
1007
  comment: Module AnimateCSS
1038
- region: head
1008
+ region: body-footer
1039
1009
  layout: [ all ]
1040
1010
  required: always
1041
- script_load: defer
1042
- dependencies: false
1011
+ script_load: sync
1043
1012
  pass_init_data: false
1044
1013
 
1045
1014
  data:
@@ -1061,10 +1030,9 @@ resources:
1061
1030
  id: iframer
1062
1031
  comment: Module IFramer
1063
1032
  layout: [ home, page, post ]
1064
- region: head
1033
+ region: body-footer
1065
1034
  required: ondemand
1066
- script_load: defer
1067
- dependencies: false
1035
+ script_load: sync
1068
1036
  pass_init_data: true
1069
1037
 
1070
1038
  data:
@@ -1085,10 +1053,9 @@ resources:
1085
1053
  id: lightbox
1086
1054
  comment: Module Lightbox
1087
1055
  layout: [ all ]
1088
- region: head
1056
+ region: body-footer
1089
1057
  required: ondemand
1090
1058
  script_load: defer
1091
- dependencies: false
1092
1059
  pass_init_data: true
1093
1060
 
1094
1061
  data:
@@ -1111,11 +1078,10 @@ resources:
1111
1078
 
1112
1079
  id: iconify
1113
1080
  comment: Module Iconify framework
1114
- region: head
1081
+ region: body-footer
1115
1082
  layout: [ all ]
1116
1083
  required: ondemand
1117
1084
  script_load: defer
1118
- dependencies: false
1119
1085
  pass_init_data: false
1120
1086
 
1121
1087
  data:
@@ -1135,11 +1101,10 @@ resources:
1135
1101
 
1136
1102
  id: algolia-search
1137
1103
  comment: Module Algolia Search
1138
- region: head
1104
+ region: body-footer
1139
1105
  layout: [ all ]
1140
1106
  required: ondemand
1141
- script_load: defer
1142
- dependencies: false
1107
+ script_load: sync
1143
1108
  pass_init_data: false
1144
1109
 
1145
1110
  data:
@@ -1163,11 +1128,10 @@ resources:
1163
1128
 
1164
1129
  id: clipboard
1165
1130
  comment: Module Clipboard
1166
- region: head
1131
+ region: body-footer
1167
1132
  layout: [ home, page, post ]
1168
1133
  required: always
1169
- script_load: defer
1170
- dependencies: false
1134
+ script_load: sync
1171
1135
  pass_init_data: false
1172
1136
 
1173
1137
  data:
@@ -1185,11 +1149,10 @@ resources:
1185
1149
 
1186
1150
  id: carousel
1187
1151
  comment: Module Carousel
1188
- region: head
1152
+ region: body-footer
1189
1153
  layout: [ home, page, post ]
1190
1154
  required: ondemand
1191
1155
  script_load: defer
1192
- dependencies: false
1193
1156
  pass_init_data: true
1194
1157
 
1195
1158
  data:
@@ -1211,11 +1174,10 @@ resources:
1211
1174
 
1212
1175
  id: master-slider
1213
1176
  comment: Module Master Slider
1214
- region: head
1177
+ region: body-footer
1215
1178
  layout: [ home, page, post ]
1216
1179
  required: ondemand
1217
1180
  script_load: defer
1218
- dependencies: false
1219
1181
  pass_init_data: false
1220
1182
 
1221
1183
  data:
@@ -1239,11 +1201,10 @@ resources:
1239
1201
 
1240
1202
  id: master-slider-pro
1241
1203
  comment: Module Master Slider Professional
1242
- region: head
1204
+ region: body-footer
1243
1205
  layout: [ home, page, post ]
1244
1206
  required: ondemand
1245
- script_load: defer
1246
- dependencies: false
1207
+ script_load: sync
1247
1208
  pass_init_data: false
1248
1209
 
1249
1210
  data:
@@ -1282,11 +1243,10 @@ resources:
1282
1243
 
1283
1244
  id: gallery
1284
1245
  comment: Module Gallery
1285
- region: head
1246
+ region: body-footer
1286
1247
  layout: [ home, page, post ]
1287
1248
  required: ondemand
1288
1249
  script_load: defer
1289
- dependencies: false
1290
1250
  pass_init_data: true
1291
1251
 
1292
1252
  data:
@@ -1310,11 +1270,10 @@ resources:
1310
1270
 
1311
1271
  id: lightgallery
1312
1272
  comment: Module J1 lightGallery V2
1313
- region: head
1273
+ region: body-footer
1314
1274
  layout: [ home, page, post ]
1315
1275
  required: ondemand
1316
1276
  script_load: defer
1317
- dependencies: false
1318
1277
  pass_init_data: false
1319
1278
 
1320
1279
  data:
@@ -1351,11 +1310,10 @@ resources:
1351
1310
 
1352
1311
  id: videojs
1353
1312
  comment: Module VideoJS
1354
- region: head
1313
+ region: body-footer
1355
1314
  layout: [ home, page, post ]
1356
1315
  required: ondemand
1357
1316
  script_load: defer
1358
- dependencies: false
1359
1317
  pass_init_data: false
1360
1318
 
1361
1319
  data:
@@ -1390,11 +1348,10 @@ resources:
1390
1348
 
1391
1349
  id: tiktoc-player
1392
1350
  comment: Module TikToc Player
1393
- region: head
1351
+ region: body-footer
1394
1352
  layout: [ home, page, post ]
1395
1353
  required: ondemand
1396
1354
  script_load: defer
1397
- dependencies: false
1398
1355
  pass_init_data: false
1399
1356
 
1400
1357
  data:
@@ -1412,11 +1369,10 @@ resources:
1412
1369
 
1413
1370
  id: dailymotion-player
1414
1371
  comment: Module Dailymotion Player
1415
- region: head
1372
+ region: body-footer
1416
1373
  layout: [ home, page, post ]
1417
1374
  required: ondemand
1418
1375
  script_load: defer
1419
- dependencies: false
1420
1376
  pass_init_data: false
1421
1377
 
1422
1378
  data:
@@ -1434,11 +1390,10 @@ resources:
1434
1390
 
1435
1391
  id: vimeo-player
1436
1392
  comment: Module Vimeo Player
1437
- region: head
1393
+ region: body-footer
1438
1394
  layout: [ home, page, post ]
1439
1395
  required: ondemand
1440
1396
  script_load: defer
1441
- dependencies: false
1442
1397
  pass_init_data: false
1443
1398
 
1444
1399
  data:
@@ -1456,11 +1411,10 @@ resources:
1456
1411
 
1457
1412
  id: wistia-player
1458
1413
  comment: Module Wistia Player
1459
- region: head
1414
+ region: body-footer
1460
1415
  layout: [ home, page, post ]
1461
1416
  required: ondemand
1462
1417
  script_load: defer
1463
- dependencies: false
1464
1418
  pass_init_data: false
1465
1419
 
1466
1420
  data:
@@ -1480,11 +1434,10 @@ resources:
1480
1434
 
1481
1435
  id: range-slider
1482
1436
  comment: Module Range Slider
1483
- region: head
1437
+ region: body-footer
1484
1438
  layout: [ home, page, post ]
1485
1439
  required: ondemand
1486
1440
  script_load: defer
1487
- dependencies: false
1488
1441
  pass_init_data: false
1489
1442
 
1490
1443
  data:
@@ -1502,11 +1455,10 @@ resources:
1502
1455
 
1503
1456
  id: scroller
1504
1457
  comment: Module Scroller
1505
- region: head
1458
+ region: body-footer
1506
1459
  layout: [ all ]
1507
1460
  required: ondemand
1508
1461
  script_load: defer
1509
- dependencies: false
1510
1462
  pass_init_data: false
1511
1463
 
1512
1464
  data:
@@ -1526,11 +1478,10 @@ resources:
1526
1478
 
1527
1479
  id: advertising
1528
1480
  comment: Module Advertising
1529
- region: head
1481
+ region: body-footer
1530
1482
  layout: [ all ]
1531
1483
  required: ondemand
1532
1484
  script_load: defer
1533
- dependencies: false
1534
1485
  pass_init_data: true
1535
1486
 
1536
1487
  data:
@@ -1548,11 +1499,10 @@ resources:
1548
1499
 
1549
1500
  id: comments
1550
1501
  comment: Module Comments
1551
- region: head
1502
+ region: body-footer
1552
1503
  layout: [ all ]
1553
1504
  required: ondemand
1554
1505
  script_load: defer
1555
- dependencies: false
1556
1506
  pass_init_data: true
1557
1507
 
1558
1508
  data:
@@ -1577,11 +1527,10 @@ resources:
1577
1527
 
1578
1528
  id: require-js
1579
1529
  comment: Module RequireJS
1580
- region: head
1530
+ region: body-footer
1581
1531
  layout: [ all ]
1582
1532
  required: ondemand
1583
- script_load: defer
1584
- dependencies: false
1533
+ script_load: sync
1585
1534
  pass_init_data: false
1586
1535
 
1587
1536
  data:
@@ -1599,11 +1548,10 @@ resources:
1599
1548
 
1600
1549
  id: waves
1601
1550
  comment: Module Waves
1602
- region: head
1551
+ region: body-footer
1603
1552
  layout: [ home, page, post ]
1604
1553
  required: always
1605
- script_load: defer
1606
- dependencies: false
1554
+ script_load: sync
1607
1555
  pass_init_data: false
1608
1556
 
1609
1557
  data:
@@ -1624,11 +1572,10 @@ resources:
1624
1572
 
1625
1573
  id: js-cookie
1626
1574
  comment: Module jsCookie
1627
- region: head
1575
+ region: body-footer
1628
1576
  layout: [ all ]
1629
1577
  required: ondemand
1630
- script_load: defer
1631
- dependencies: false
1578
+ script_load: sync
1632
1579
  pass_init_data: false
1633
1580
 
1634
1581
  data:
@@ -1646,11 +1593,10 @@ resources:
1646
1593
 
1647
1594
  id: particles
1648
1595
  comment: Module Particles
1649
- region: head
1596
+ region: body-footer
1650
1597
  layout: [ home, page, post ]
1651
1598
  required: ondemand
1652
- script_load: defer
1653
- dependencies: false
1599
+ script_load: sync
1654
1600
  pass_init_data: false
1655
1601
 
1656
1602
  data:
@@ -1671,11 +1617,10 @@ resources:
1671
1617
 
1672
1618
  id: slick-slider
1673
1619
  comment: Module Slick Slider
1674
- region: head
1620
+ region: body-footer
1675
1621
  layout: [ home, page, post ]
1676
1622
  required: ondemand
1677
1623
  script_load: defer
1678
- dependencies: false
1679
1624
  pass_init_data: false
1680
1625
 
1681
1626
  data:
@@ -1704,11 +1649,10 @@ resources:
1704
1649
 
1705
1650
  id: masonry
1706
1651
  comment: Module Masonry
1707
- region: head
1652
+ region: body-footer
1708
1653
  layout: [ home, page, post ]
1709
1654
  required: ondemand
1710
1655
  script_load: defer
1711
- dependencies: false
1712
1656
  pass_init_data: false
1713
1657
 
1714
1658
  data:
@@ -1732,11 +1676,10 @@ resources:
1732
1676
 
1733
1677
  id: icon-picker
1734
1678
  comment: Module J1 Icon Picker
1735
- region: head
1679
+ region: body-footer
1736
1680
  layout: [ page ]
1737
1681
  required: ondemand
1738
1682
  script_load: defer
1739
- dependencies: false
1740
1683
  pass_init_data: false
1741
1684
 
1742
1685
  data:
@@ -1764,11 +1707,10 @@ resources:
1764
1707
 
1765
1708
  id: theme-toggler
1766
1709
  comment: Module heme Toggler
1767
- region: head
1710
+ region: body-footer
1768
1711
  layout: [ home, page, post ]
1769
1712
  required: always
1770
- script_load: defer
1771
- dependencies: false
1713
+ script_load: sync
1772
1714
  pass_init_data: false
1773
1715
 
1774
1716
  data:
@@ -1778,20 +1720,19 @@ resources:
1778
1720
  init_function: [ j1.adapter.themeToggler.init ]
1779
1721
 
1780
1722
  # ----------------------------------------------------------------------------
1781
- # dynamicLoader
1782
- # Configurable JS
1723
+ # J1 lazy Loader
1724
+ # Load resources if required|requested
1783
1725
  #
1784
- - name: J1 CSS Loader
1726
+ - name: J1 lazyLoader
1785
1727
  resource:
1786
1728
  enabled: true
1787
1729
 
1788
- id: css-loader
1789
- comment: Module CSS Loader
1790
- region: head
1730
+ id: lazy-loader
1731
+ comment: Module J1 lazyLoader
1732
+ region: body-footer
1791
1733
  layout: [ all ]
1792
1734
  required: always
1793
- script_load: defer
1794
- dependencies: false
1735
+ script_load: sync
1795
1736
  pass_init_data: false
1796
1737
 
1797
1738
  data:
@@ -1800,6 +1741,36 @@ resources:
1800
1741
  js: []
1801
1742
  init_function: [ j1.adapter.lazyLoader.init ]
1802
1743
 
1744
+ # ----------------------------------------------------------------------------
1745
+ # jQuery Lazy
1746
+ # Load CSS|JS and general files if required|requested
1747
+ #
1748
+ - name: jQuery Lazy
1749
+ resource:
1750
+ enabled: false
1751
+
1752
+ id: jquery-lazy-loader
1753
+ comment: Module jQuery Lazy
1754
+ region: head
1755
+ layout: [ all ]
1756
+ required: always
1757
+ script_load: sync
1758
+ pass_init_data: false
1759
+
1760
+ data:
1761
+ css: []
1762
+ files: [ adapter/js/lazyLoader.js ]
1763
+ js: [
1764
+ modules/lazyLoader/js/jquery.lazy,
1765
+ modules/lazyLoader/js/plugins/jquery.lazy.ajax,
1766
+ modules/lazyLoader/js/plugins/jquery.lazy.av,
1767
+ modules/lazyLoader/js/plugins/jquery.lazy.iframe,
1768
+ modules/lazyLoader/js/plugins/jquery.lazy.script,
1769
+ modules/lazyLoader/js/plugins/jquery.lazy.vimeo,
1770
+ modules/lazyLoader/js/plugins/jquery.lazy.youtube
1771
+ ]
1772
+ init_function: [ j1.adapter.lazyLoader.init ]
1773
+
1803
1774
  # ----------------------------------------------------------------------------
1804
1775
  # Dropdowns. JS API to create simple dropdown menus
1805
1776
  #
@@ -1812,11 +1783,10 @@ resources:
1812
1783
 
1813
1784
  id: dropdowns
1814
1785
  comment: Module J1 Dropdown Menus
1815
- region: head
1786
+ region: body-footer
1816
1787
  layout: [ home, page, post ]
1817
1788
  required: ondemand
1818
- script_load: defer
1819
- dependencies: false
1789
+ script_load: sync
1820
1790
  pass_init_data: false
1821
1791
 
1822
1792
  data:
@@ -1840,11 +1810,10 @@ resources:
1840
1810
 
1841
1811
  id: slim-select
1842
1812
  comment: Module Slim Select
1843
- region: head
1813
+ region: body-footer
1844
1814
  layout: [ home, page, post ]
1845
1815
  required: always
1846
- script_load: defer
1847
- dependencies: false
1816
+ script_load: sync
1848
1817
  pass_init_data: false
1849
1818
 
1850
1819
  data:
@@ -1863,11 +1832,10 @@ resources:
1863
1832
 
1864
1833
  id: chat-bot
1865
1834
  comment: Module Chatbot
1866
- region: head
1835
+ region: body-footer
1867
1836
  layout: [ all ]
1868
1837
  required: ondemand
1869
- script_load:
1870
- dependencies: false
1838
+ script_load: sync
1871
1839
  pass_init_data: false
1872
1840
 
1873
1841
  data:
@@ -1886,11 +1854,10 @@ resources:
1886
1854
 
1887
1855
  id: doc-search
1888
1856
  comment: Module DocSearch
1889
- region: head
1857
+ region: body-footer
1890
1858
  layout: [ all ]
1891
1859
  required: ondemand
1892
- script_load: defer
1893
- dependencies: false
1860
+ script_load: sync
1894
1861
  pass_init_data: false
1895
1862
 
1896
1863
  data:
@@ -1909,11 +1876,10 @@ resources:
1909
1876
 
1910
1877
  id: gemini
1911
1878
  comment: Module Gemini
1912
- region: head
1879
+ region: body-footer
1913
1880
  layout: [ page ]
1914
1881
  required: ondemand
1915
1882
  script_load: defer
1916
- dependencies: false
1917
1883
  pass_init_data: false
1918
1884
 
1919
1885
  data:
@@ -1934,11 +1900,10 @@ resources:
1934
1900
 
1935
1901
  id: amplitudejs
1936
1902
  comment: Module AmplitudeJS
1937
- region: head
1903
+ region: body-footer
1938
1904
  layout: [ home, page, post ]
1939
1905
  required: ondemand
1940
1906
  script_load: defer
1941
- dependencies: false
1942
1907
  pass_init_data: false
1943
1908
 
1944
1909
  data:
@@ -1957,15 +1922,14 @@ resources:
1957
1922
  #
1958
1923
  - name: J1 jqueryScrollbar
1959
1924
  resource:
1960
- enabled: true
1925
+ enabled: false
1961
1926
 
1962
1927
  id: scrollbars
1963
1928
  comment: Module jqueryScrollbar
1964
- region: head
1929
+ region: body-footer
1965
1930
  layout: [ home, page, post ]
1966
1931
  required: always
1967
1932
  script_load: defer
1968
- dependencies: false
1969
1933
  pass_init_data: false
1970
1934
 
1971
1935
  data: