j1-template 2024.3.12 → 2024.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) 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 +5 -5
  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 +2 -2
  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/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
  157. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
  158. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
  159. data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
  160. data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
  161. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
  162. data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +15 -5
  163. data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
  164. data/lib/starter_web/pages/public/tour/present_images.adoc +26 -3
  165. data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
  166. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
  167. data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
  168. metadata +84 -22
  169. /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
  170. /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
  171. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
  172. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
  173. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
  174. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
  175. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
  176. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
  177. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
  178. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
  179. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
  180. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
  181. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
  182. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
  183. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
  184. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
  185. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
@@ -841,5 +841,141 @@ settings:
841
841
  <h6>Beginner Mat Pilates: Core Workout</h6>
842
842
  <br>
843
843
 
844
+ # --------------------------------------------------------------------------
845
+ # HTML5 VIDEO (over VodeoJS)
846
+ #
847
+ - gallery:
848
+ enabled: true
849
+
850
+ id: jg_video_html5_videojs
851
+ type: video
852
+ video: html5
853
+ video_base_path: /assets/video/html5
854
+ image_base_path: /assets/video/poster/html5
855
+ thumb_base_path: /assets/video/poster/html5
856
+
857
+ # ------------------------------------------------------------------------
858
+ # Justified Gallery settings
859
+ # ------------------------------------------------------------------------
860
+ #
861
+ gallery_options:
862
+ rowHeight: 250
863
+ gutters: 3
864
+
865
+ # ------------------------------------------------------------------------
866
+ # Lightbox|lightGallery settings
867
+ # ------------------------------------------------------------------------
868
+ #
869
+ lightbox:
870
+ enabled: true
871
+ type: lg
872
+
873
+ lightGallery:
874
+ plugins: lgThumbnail, lgVideo
875
+
876
+ options:
877
+ licenseKey: 0000-0000-000-0000
878
+ download: false
879
+ alignThumbnails: left
880
+ animateThumb: true
881
+ autoplayFirstVideo: true
882
+ videojs: true
883
+ videojsTheme: vjs-theme-uno
884
+
885
+ videojsOptions:
886
+ enabled: true
887
+
888
+ muted: false
889
+ preload: true
890
+ # videoStart: ["00:00:30", "00:01:30"] # start time (hh:mm:ss) for [video1, video2]
891
+
892
+ controls: true
893
+ controlBar:
894
+ playbackRates: [0.25, 0.5, 1, 1.5, 2]
895
+ remainingTimeDisplay: true
896
+ pictureInPictureToggle: false
897
+
898
+ volumePanel:
899
+ inline: false
900
+
901
+ # hotkeysPlugin:
902
+ # enabled: true
903
+ # options:
904
+ # volumeStep: 0.2
905
+ #
906
+ # zoomPlugin:
907
+ # enabled: true
908
+ # options:
909
+ # moveX: 0
910
+ # moveY: 0
911
+ # rotate: 0
912
+ # zoom: 1
913
+
914
+ # ------------------------------------------------------------------------
915
+ # CSS filter options
916
+ #
917
+ filters:
918
+ enabled: false
919
+ grayscale: 0
920
+ contrast: 1
921
+ brightness: 1
922
+
923
+ # ------------------------------------------------------------------------
924
+ # Video settings
925
+ # ------------------------------------------------------------------------
926
+ #
927
+ videos:
928
+
929
+ - video: # video 1
930
+ enabled: true
931
+
932
+ name: Peck Pocketed
933
+ type: html5
934
+ size: 1280-720
935
+ source: peck_pocketed.mp4
936
+ poster_image: peck_pocketed.jpg
937
+ pinterest_prefix: Pin video
938
+ tweet_prefix: Try video
939
+ caption_text: Peck Pocketed &middot; Student Academy Award winning Cartoon Clip
940
+ description: >
941
+ <h5>Peck Pocketed by Kevin Herron | Disney Favorite</h5>
942
+ <h6>Student Academy Award winning Cartoon Clip</h6>
943
+
944
+ # - video: # video 2
945
+ # enabled: true
946
+ #
947
+ # name: Rollin Wild
948
+ # type: html5
949
+ # size: 1280-720
950
+ # source: rolling_wild.mp4
951
+ # poster_image: rolling_wild.jpg
952
+ # pinterest_prefix: Pin video
953
+ # tweet_prefix: Try video
954
+ # caption_text: Rollin` Wild &middot; Short Funny animated video clip created at the Film Academy
955
+ # description: >
956
+ # <h5>Rollin` Wild</h5>
957
+ # <h6>Short Funny Animated Clip created at the Film Academy</h6>
958
+
959
+ - video: # video 2
960
+ enabled: true
961
+
962
+ name: Last Carpool Karaoke
963
+ type: youtube
964
+ size: 1280-720
965
+ source: //youtube.com/watch?v=nV8UZJNBY6Y
966
+ poster_image: rolling_wild.jpg
967
+ pinterest_prefix: Pin video
968
+ tweet_prefix: Try video
969
+ caption_text: Carpool Karaoke 2023 &middot; Last Carpool Karaoke
970
+ description: >
971
+ <h5>Carpool Karaoke 2023</h5>
972
+ <h6>
973
+ April 2023 - Adele wakeup James at home for the last Late Night Show,
974
+ for the last Carpool Caraoke ever.
975
+ </h6>
976
+ <br>
977
+ playerParams:
978
+ start: 50 # seconds to start
979
+
844
980
  # ------------------------------------------------------------------------------
845
981
  # END config
@@ -0,0 +1,118 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/lazyCSSLoader.yml
3
+ # User Configuration of the lazyCSSLoader Module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023, 2024 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+ # NOTE:
14
+ #
15
+ # ------------------------------------------------------------------------------
16
+
17
+ # ------------------------------------------------------------------------------
18
+ # Description
19
+ #
20
+ description:
21
+ title: lazyCSSLoader
22
+ scope: User settings
23
+ location: _data/modules/lazyCSSLoader.yml
24
+
25
+ # ------------------------------------------------------------------------------
26
+ # User settings
27
+ #
28
+ settings:
29
+ enabled: true
30
+
31
+ # ----------------------------------------------------------------------------
32
+ # Loader settings
33
+ # ----------------------------------------------------------------------------
34
+ loaders:
35
+
36
+ # --------------------------------------------------------------------------
37
+ # Images (foreground)
38
+ #
39
+ - loader:
40
+ enabled: true
41
+ type: image
42
+ description: Foreground Images (img)
43
+
44
+ selector: 'img.lazy'
45
+ rootMargin: '150px'
46
+
47
+ # --------------------------------------------------------------------------
48
+ # MDI Light Icon CSS
49
+ #
50
+ - loader:
51
+ enabled: true
52
+ type: css
53
+ description: MDI Icons (light)
54
+
55
+ src: /assets/theme/j1/core/css/icon-fonts/mdil.min.css
56
+ selector: '.mdil'
57
+ rootMargin: '150px'
58
+
59
+ # --------------------------------------------------------------------------
60
+ # MDI Regular Icon CSS
61
+ #
62
+ - loader:
63
+ enabled: true
64
+ type: css
65
+ description: MDI Icon CSS (regular)
66
+
67
+ src: /assets/theme/j1/core/css/icon-fonts/mdi.min.css
68
+ selector: '.mdi'
69
+ rootMargin: '150px'
70
+
71
+ # --------------------------------------------------------------------------
72
+ # FontAwesone (FA) Icon CSS
73
+ #
74
+ - loader:
75
+ enabled: true
76
+ type: css
77
+ description: FA Icon CSS
78
+
79
+ src: /assets/theme/j1/core/css/icon-fonts/fontawesome.min.css
80
+ selector: '.fa'
81
+ rootMargin: '150px'
82
+
83
+ # --------------------------------------------------------------------------
84
+ # countryFlag Icon CSS
85
+ #
86
+ - loader:
87
+ enabled: true
88
+ type: css
89
+ description: CountryFlag Icon CSS
90
+
91
+ src: /assets/theme/j1/core/country-flags/css/theme/uno.min.css
92
+ selector: '.flag-icon'
93
+ rootMargin: '150px'
94
+
95
+ # --------------------------------------------------------------------------
96
+ # rTable CSS
97
+ #
98
+ - loader:
99
+ enabled: true
100
+ description: rTable CSS
101
+
102
+ src: /assets/theme/j1/modules/rtable/css/theme/uno/rtable.min.css
103
+ selector: '.rtable'
104
+ rootMargin: '150px'
105
+
106
+ # --------------------------------------------------------------------------
107
+ # Rouge CSS
108
+ #
109
+ # - loader:
110
+ # enabled: true
111
+ # description: Rouge CSS
112
+ #
113
+ # src: /assets/theme/j1/modules/rouge/css/uno.light/theme.min.css
114
+ # selector: '.highlight'
115
+ # rootMargin: '150px'
116
+
117
+ # ------------------------------------------------------------------------------
118
+ # END config
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------
2
- # ~/_data/modules/lazyLoader.yml
3
- # User Configuration of the lazyLoader Module
2
+ # ~/_data/modules/lazyCSSLoader.yml
3
+ # User Configuration of the lazyCSSLoader Module
4
4
  #
5
5
  # Product/Info:
6
6
  # https://jekyll.one
@@ -18,9 +18,9 @@
18
18
  # Description
19
19
  #
20
20
  description:
21
- title: lazyLoader
21
+ title: lazyCSSLoader
22
22
  scope: User settings
23
- location: _data/modules/lazyLoader.yml
23
+ location: _data/modules/lazyCSSLoader.yml
24
24
 
25
25
  # ------------------------------------------------------------------------------
26
26
  # User settings
@@ -34,59 +34,96 @@ settings:
34
34
  loaders:
35
35
 
36
36
  # --------------------------------------------------------------------------
37
- # MDI Light Icon CSS
37
+ # Images (foreground)
38
38
  #
39
39
  - loader:
40
40
  enabled: true
41
- description: MDI Icons (light)
41
+ type: image
42
+ description: Foreground Images (img)
42
43
 
43
- src: /assets/theme/j1/core/css/icon-fonts/mdil.min.css
44
- selector: '.mdil'
45
- rootMargin: '150px 0px'
44
+ selector: img.lazy
45
+ rootMargin: 150px
46
46
 
47
47
  # --------------------------------------------------------------------------
48
- # MDI Regular Icon CSS
48
+ # HTML content (banner) loaded via AJAX
49
49
  #
50
50
  - loader:
51
51
  enabled: true
52
- description: MDI Icon CSS (regular)
52
+ type: xhr
53
+ description: Teaser Banner
53
54
 
54
- src: /assets/theme/j1/core/css/icon-fonts/mdi.min.css
55
- selector: '.mdi'
56
- rootMargin: '150px 0px'
55
+ content: banner_home_teaser_content
56
+ content_file: /assets/data/banner.html
57
+ selector: banner_home_teaser # div id
58
+ rootMargin: 150px
59
+
60
+ - loader:
61
+ enabled: true
62
+ type: xhr
63
+ description: Parallax Banner
64
+
65
+ content: banner_home_parallax_content
66
+ content_file: /assets/data/banner.html
67
+ selector: banner_home_parallax # div id
68
+ rootMargin: 250px
57
69
 
58
70
  # --------------------------------------------------------------------------
59
- # FontAwesone (FA) Icon CSS
71
+ # CSS files
60
72
  #
61
73
  - loader:
62
74
  enabled: true
63
- description: FA Icon CSS
75
+ type: css
76
+ description: MDI Icons (light)
77
+
78
+ src: /assets/theme/j1/core/css/icon-fonts/mdil.min.css
79
+ selector: .mdil
80
+ rootMargin: 150px
81
+
82
+ - loader:
83
+ enabled: true
84
+ type: css
85
+ description: MDI Icon CSS (regular)
86
+
87
+ src: /assets/theme/j1/core/css/icon-fonts/mdi.min.css
88
+ selector: .mdi
89
+ rootMargin: 150px
90
+
91
+ - loader:
92
+ enabled: true
93
+ type: css
94
+ description: FA Icon CSS (all)
64
95
 
65
96
  src: /assets/theme/j1/core/css/icon-fonts/fontawesome.min.css
66
- selector: '.fa'
67
- rootMargin: '150px 0px'
97
+ selector: .fa
98
+ rootMargin: 150px
68
99
 
69
- # --------------------------------------------------------------------------
70
- # countryFlag Icon CSS
71
- #
72
100
  - loader:
73
101
  enabled: true
102
+ type: css
74
103
  description: CountryFlag Icon CSS
75
104
 
76
105
  src: /assets/theme/j1/core/country-flags/css/theme/uno.min.css
77
- selector: '.flag-icon'
78
- rootMargin: '150px 0px'
106
+ selector: .flag-icon
107
+ rootMargin: 150px
79
108
 
80
- # --------------------------------------------------------------------------
81
- # rTable CSS
109
+
110
+ # - loader:
111
+ # enabled: true
112
+ # type: css
113
+ # description: rTable CSS
82
114
  #
83
- - loader:
84
- enabled: true
85
- description: rTable CSS
115
+ # src: /assets/theme/j1/modules/rtable/css/theme/uno/rtable.min.css
116
+ # selector: .rtable
117
+ # rootMargin: 150px
86
118
 
87
- src: /assets/theme/j1/modules/rtable/css/theme/uno/rtable.min.css
88
- selector: '.rtable'
89
- rootMargin: '150px 0px'
119
+ # - loader:
120
+ # enabled: true
121
+ # type: css
122
+ # description: Rouge CSS
123
+ #
124
+ # src: /assets/theme/j1/modules/rouge/css/uno.light/theme.min.css
125
+ # selector: .highlight
126
+ # rootMargin: 50px
90
127
 
91
128
  # ------------------------------------------------------------------------------
92
129
  # END config
@@ -669,13 +669,13 @@ settings:
669
669
  name: Planet Earth II
670
670
  type: youtube
671
671
  size: 1280-720
672
- source: //youtube.com/watch?v=IUN664s7N-c
672
+ source: //youtu.be/IUN664s7N-c
673
673
  pinterest_prefix: Pin video
674
674
  tweet_prefix: Try video
675
675
  description: >
676
- <h5>The Breathtaking Beauty of Nature</h5>
676
+ <h5>Beauty of Nature</h5>
677
677
  <h6>
678
- The BBC America presents impressive landscapes of
678
+ The BBC America presents breathtaking landscapes of
679
679
  amazing habitats from their Planet Earth II series
680
680
  on YouTube
681
681
  </h6>
@@ -685,7 +685,7 @@ settings:
685
685
  source: //img.youtube.com/vi/IUN664s7N-c/maxresdefault.jpg
686
686
  caption:
687
687
  position: bottom
688
- text: YouTube Video &middot; The Breathtaking Beauty of Nature
688
+ text: YouTube Video &middot; Beauty of Nature
689
689
 
690
690
  # video 2
691
691
  - video: