j1-template 2024.3.23 → 2024.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/apps/amplitudehtml +1147 -0
  3. data/assets/data/apps/gallery.html +342 -0
  4. data/assets/data/{masonry.html → apps/masonry.html} +22 -9
  5. data/assets/data/apps/swiper.html +901 -0
  6. data/assets/data/gallery_app.html +102 -14
  7. data/assets/data/masonry_app.html +521 -0
  8. data/assets/theme/j1/adapter/js/gallery.js +13 -2
  9. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +29 -0
  10. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  11. data/assets/theme/j1/core/css/vendor.css +1 -1
  12. data/assets/theme/j1/core/css/vendor.min.css +1 -1
  13. data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +21 -13
  14. data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +1 -2
  15. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +48 -28
  16. data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +1 -8
  17. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +463 -298
  18. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +1 -8
  19. data/assets/theme/j1/modules/rtable/css/theme/uno/rtable.css +11 -1
  20. data/assets/theme/j1/modules/videojs/css/themes/uno.css +53 -31
  21. data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
  22. data/assets/theme/j1/modules/videojs/css/videojs.css +2 -3
  23. data/assets/theme/j1/modules/videojs/css/videojs.min.css +1 -1
  24. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +4 -9
  25. data/assets/theme/j1/modules/videojs/plugins/controls/hotkeys/!examples/example.html +1 -1
  26. data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +3 -7
  27. data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +3 -8
  28. data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.css +55 -55
  29. data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +2 -1
  30. data/assets/theme/j1/modules/videojs/plugins/controls/zoom/js/zoom.js +590 -382
  31. data/assets/theme/j1/modules/videojs/plugins/controls/zoom/js/zoom.min.js +1 -1
  32. data/assets/theme/j1/modules/videojs/plugins/j1_core/template.min.js +31 -0
  33. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/index.html +32 -0
  34. data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.0.js +647 -0
  35. data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.1.js +653 -0
  36. data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/{player → iframe_api}/index.html +6 -6
  37. data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/videojs_api/index.html +38 -0
  38. data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/v2.21.0/vimeo.js +3562 -0
  39. data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/v2.21.0/vimeo.min.js +36 -0
  40. data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/vimeo.js +451 -1849
  41. data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/vimeo.min.js +2 -14
  42. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/LICENSE +21 -0
  43. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/README.md +54 -0
  44. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/old/vimeo.js +666 -0
  45. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/old/vimeo.min.js +28 -0
  46. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.js +2318 -548
  47. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +12 -18
  48. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/index.html +31 -0
  49. data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.js +12 -5
  50. data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +1 -1
  51. data/lib/j1/version.rb +1 -1
  52. data/lib/starter_web/Gemfile +1 -1
  53. data/lib/starter_web/README.md +5 -5
  54. data/lib/starter_web/_config.yml +2 -2
  55. data/lib/starter_web/_data/blocks/banner.yml +3 -3
  56. data/lib/starter_web/_data/j1_config.yml +1 -1
  57. data/lib/starter_web/_data/layouts/home.yml +1 -1
  58. data/lib/starter_web/_data/modules/attics.yml +11 -0
  59. data/lib/starter_web/_data/modules/authentication.yml +1 -2
  60. data/lib/starter_web/_data/modules/carousel.yml +1 -1
  61. data/lib/starter_web/_data/modules/defaults/masonry.yml +116 -23
  62. data/lib/starter_web/_data/modules/gallery.yml +197 -238
  63. data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
  64. data/lib/starter_web/_data/modules/masonry.yml +36 -14
  65. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  66. data/lib/starter_web/_data/modules/navigator_menu.yml +12 -8
  67. data/lib/starter_web/_data/templates/feed.xml +1 -1
  68. data/lib/starter_web/_includes/attributes.asciidoc +7 -0
  69. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +206 -24
  70. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  71. data/lib/starter_web/assets/image/module/attic/1920x1280/admin-dashboard-bootstrap.jpg +0 -0
  72. data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-redl.jpg +0 -0
  73. data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-shatov.jpg +0 -0
  74. data/lib/starter_web/assets/image/module/attic/1920x1280/alexey-ruban.jpg +0 -0
  75. data/lib/starter_web/assets/image/module/attic/1920x1280/andrea-badino.jpg +0 -0
  76. data/lib/starter_web/assets/image/module/attic/1920x1280/bootstrap-modal.jpg +0 -0
  77. data/lib/starter_web/assets/image/module/attic/1920x1280/bp-miller.jpg +0 -0
  78. data/lib/starter_web/assets/image/module/attic/1920x1280/brad-neathery.jpg +0 -0
  79. data/lib/starter_web/assets/image/module/attic/1920x1280/brigitta-schneiter.jpg +0 -0
  80. data/lib/starter_web/assets/image/module/attic/1920x1280/build-with-gemini.jpg +0 -0
  81. data/lib/starter_web/assets/image/module/attic/1920x1280/clem-onojeghuo.jpg +0 -0
  82. data/lib/starter_web/assets/image/module/attic/1920x1280/crawford-jolly.jpg +0 -0
  83. data/lib/starter_web/assets/image/module/attic/1920x1280/eleni-afiontzi.jpg +0 -0
  84. data/lib/starter_web/assets/image/module/attic/1920x1280/fly-d.jpg +0 -0
  85. data/lib/starter_web/assets/image/module/attic/1920x1280/guillaume-bolduc.jpg +0 -0
  86. data/lib/starter_web/assets/image/module/attic/1920x1280/ideas-start-here-1920x1280.jpg +0 -0
  87. data/lib/starter_web/assets/image/module/attic/1920x1280/isaac-davis.jpg +0 -0
  88. data/lib/starter_web/assets/image/module/attic/1920x1280/j1-launch.jpg +0 -0
  89. data/lib/starter_web/assets/image/module/attic/1920x1280/j1-mockup.jpg +0 -0
  90. data/lib/starter_web/assets/image/module/attic/1920x1280/john-schnobrich-2.jpg +0 -0
  91. data/lib/starter_web/assets/image/module/attic/1920x1280/josep-martins.jpg +0 -0
  92. data/lib/starter_web/assets/image/module/attic/1920x1280/josh-liu.jpg +0 -0
  93. data/lib/starter_web/assets/image/module/attic/1920x1280/kelly-sikkemal.jpg +0 -0
  94. data/lib/starter_web/assets/image/module/attic/1920x1280/kira-auf-der-heide.jpg +0 -0
  95. data/lib/starter_web/assets/image/module/attic/1920x1280/kristopher-roller.jpg +0 -0
  96. data/lib/starter_web/assets/image/module/attic/1920x1280/markus-spiske.jpg +0 -0
  97. data/lib/starter_web/assets/image/module/attic/1920x1280/martin-sanchez.jpg +0 -0
  98. data/lib/starter_web/assets/image/module/attic/1920x1280/material_symbols.jpg +0 -0
  99. data/lib/starter_web/assets/image/module/attic/1920x1280/matthaeus.jpg +0 -0
  100. data/lib/starter_web/assets/image/module/attic/1920x1280/melanie-deziel.jpg +0 -0
  101. data/lib/starter_web/assets/image/module/attic/1920x1280/milad-fakurian.jpg +0 -0
  102. data/lib/starter_web/assets/image/module/attic/1920x1280/mohammad-rahmani.jpg +0 -0
  103. data/lib/starter_web/assets/image/module/attic/1920x1280/nasa.jpg +0 -0
  104. data/lib/starter_web/assets/image/module/attic/1920x1280/quino-al-2.jpg +0 -0
  105. data/lib/starter_web/assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg +0 -0
  106. data/lib/starter_web/assets/image/module/attic/1920x1280/towfiqu-barbhuiya.jpg +0 -0
  107. data/lib/starter_web/assets/image/page/tour/bootswatch-themes.jpg +0 -0
  108. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  109. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +2 -2
  110. data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +2 -2
  111. data/lib/starter_web/config.ru +1 -1
  112. data/lib/starter_web/dot.gitattributes +1 -1
  113. data/lib/starter_web/index.html +8 -7
  114. data/lib/starter_web/package.json +1 -1
  115. data/lib/starter_web/pages/public/about/features.adoc +5 -5
  116. data/lib/starter_web/pages/public/about/reporting_issues.adoc +5 -5
  117. data/lib/starter_web/pages/public/about/site.adoc +14 -10
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  119. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  124. data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
  125. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
  126. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
  127. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
  128. data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
  129. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
  130. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
  131. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
  132. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +1 -1
  133. data/lib/starter_web/pages/public/learn/bookshelf/viewer_all_books.adoc +1 -1
  134. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  135. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -3
  136. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -3
  137. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -3
  138. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -3
  139. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +1 -1
  140. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -4
  141. data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
  142. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +6 -6
  143. data/lib/starter_web/pages/public/tools/tester/app_tester_amplitudejs_yt.adoc +7 -3
  144. data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +7 -3
  145. data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +122 -34
  146. data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +1 -2
  147. data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +1 -1
  148. data/lib/starter_web/pages/public/tour/_includes/documents/themes_bootstrap.asciidoc +1 -1
  149. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +7 -3
  150. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +62 -7
  151. data/lib/starter_web/pages/public/tour/icon_fonts.adoc +4 -8
  152. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +2 -2
  153. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +21 -15
  154. data/lib/starter_web/pages/public/tour/typography.adoc +5 -5
  155. data/lib/starter_web/pages/public/tour/video_data.adoc +51 -26
  156. metadata +34 -149
  157. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +0 -984
  158. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +0 -26
  159. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +0 -1627
  160. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +0 -25
  161. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/animation-w.png +0 -0
  162. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/customize-w.png +0 -0
  163. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/dynamic-w.png +0 -0
  164. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/facebook-icon.svg +0 -10
  165. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/googleplus-icon.svg +0 -30
  166. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/html5-w.png +0 -0
  167. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/linked-in.png +0 -0
  168. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/module-w.png +0 -0
  169. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button-hover.svg +0 -94
  170. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button.png +0 -0
  171. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button.svg +0 -93
  172. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/responsive-w.png +0 -0
  173. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/thumb-w.png +0 -0
  174. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/touch-w.png +0 -0
  175. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/twitter-icon.svg +0 -15
  176. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/twitter.png +0 -0
  177. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/video1-w.png +0 -0
  178. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/zoom-w.png +0 -0
  179. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/zoom.png +0 -0
  180. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/uno.css +0 -140
  181. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/uno.min.css +0 -19
  182. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +0 -54
  183. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.ttf +0 -0
  184. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff +0 -0
  185. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff2 +0 -0
  186. data/assets/theme/j1/modules/lightGallery/!v2.7.2/images/loading.gif +0 -0
  187. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/loading.gif +0 -0
  188. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/video-play.png +0 -0
  189. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/vimeo-play.png +0 -0
  190. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/youtube-play.png +0 -0
  191. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.js +0 -2782
  192. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +0 -26
  193. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +0 -44
  194. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +0 -37
  195. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +0 -890
  196. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +0 -8
  197. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/j1-video.js +0 -402
  198. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/j1-video.min.js +0 -7
  199. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +0 -585
  200. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +0 -275
  201. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +0 -26
  202. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +0 -230
  203. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +0 -26
  204. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +0 -160
  205. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +0 -26
  206. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +0 -223
  207. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +0 -27
  208. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +0 -157
  209. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +0 -26
  210. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +0 -164
  211. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +0 -26
  212. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +0 -299
  213. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +0 -26
  214. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +0 -244
  215. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +0 -27
  216. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +0 -509
  217. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +0 -26
  218. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +0 -909
  219. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +0 -26
  220. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +0 -207
  221. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +0 -26
  222. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +0 -999
  223. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +0 -26
  224. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +0 -495
  225. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +0 -513
  226. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +0 -553
  227. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +0 -585
  228. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +0 -914
  229. data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +0 -151
  230. data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +0 -150
  231. data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/video-js-cdn.css +0 -2012
  232. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +0 -147
  233. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +0 -5
  234. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +0 -113
  235. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +0 -5
  236. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +0 -166
  237. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +0 -5
  238. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +0 -72
  239. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +0 -5
  240. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +0 -311
  241. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +0 -19
  242. data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +0 -1686
  243. data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +0 -13
  244. data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +0 -65226
  245. data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +0 -55
  246. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-controls.html +0 -18
  247. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-javascript.html +0 -28
  248. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-playlist.html +0 -19
  249. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/global-parameters.html +0 -30
  250. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/simple.html +0 -20
  251. data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/switch.html +0 -39
  252. data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/index.html +0 -34
  253. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/global-parameters.html +0 -34
  254. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/simple.html +0 -22
  255. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/switch.html +0 -39
  256. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-controls.html +0 -20
  257. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-javascript.html +0 -29
  258. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-list.html +0 -21
  259. data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-playlist.html +0 -21
  260. data/lib/starter_web/_data/modules/gallery_app.yml +0 -1002
  261. data/lib/starter_web/_data/modules/gallery_playlists.yml +0 -534
  262. data/lib/starter_web/assets/image/module/attic/1920x1280/alina-grubnyak.jpg +0 -0
  263. data/lib/starter_web/assets/image/module/attic/1920x1280/bruno-figueiredo.jpg +0 -0
  264. data/lib/starter_web/assets/image/module/attic/1920x1280/harpal-singh.jpg +0 -0
  265. data/lib/starter_web/assets/image/module/attic/1920x1280/hayden-mills-2.jpg +0 -0
  266. data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-1.jpg +0 -0
  267. data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-2.jpg +0 -0
  268. data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-3.jpg +0 -0
  269. data/lib/starter_web/assets/image/module/attic/1920x1280/j1-starter-mockup-1.jpg +0 -0
  270. data/lib/starter_web/assets/image/module/attic/1920x1280/recha-oktaviani.jpg +0 -0
  271. data/lib/starter_web/assets/image/module/attic/1920x1280/tiny_desk.jpg +0 -0
  272. data/lib/starter_web/assets/image/module/attic/admin-dashboard-bootstrap-1280x600.jpg +0 -0
  273. data/lib/starter_web/assets/image/module/attic/alice-donovan-rouse-2.jpg +0 -0
  274. data/lib/starter_web/assets/image/module/attic/building-blocks-1920x1280.jpg +0 -0
  275. data/lib/starter_web/assets/image/module/attic/christina-1920x1280.jpg +0 -0
  276. data/lib/starter_web/assets/image/module/attic/franck-1920x1280.jpg +0 -0
  277. data/lib/starter_web/assets/image/module/attic/giammarco-boscaro-1920x1280.jpg +0 -0
  278. data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280-bw.jpg +0 -0
  279. data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280.jpg +0 -0
  280. data/lib/starter_web/assets/image/module/attic/jessica-ruscello-1920x1280.jpg +0 -0
  281. data/lib/starter_web/assets/image/module/attic/joanna-kosinska-1920x1280.jpg +0 -0
  282. data/lib/starter_web/assets/image/module/attic/leon-1920x1280.jpg +0 -0
  283. data/lib/starter_web/assets/image/module/attic/lianhao-1920x1280.jpg +0 -0
  284. data/lib/starter_web/assets/image/module/attic/library-1920x1280.jpg +0 -0
  285. data/lib/starter_web/assets/image/module/attic/markus-krisetya-1920x1280.jpg +0 -0
  286. data/lib/starter_web/assets/image/module/attic/markus-spiske-1920x1280.jpg +0 -0
  287. data/lib/starter_web/assets/image/module/attic/markus-spiske4-1920x1280.jpg +0 -0
  288. data/lib/starter_web/assets/image/module/attic/matthaeus-1920x1280.jpg +0 -0
  289. data/lib/starter_web/assets/image/module/attic/matthew-dockery-1920x1280.jpg +0 -0
  290. data/lib/starter_web/assets/image/module/attic/no-time-1920x1280.jpg +0 -0
  291. data/lib/starter_web/assets/image/module/attic/rirri-1920x1280.jpg +0 -0
  292. data/lib/starter_web/assets/image/module/attic/shubham-dhage-1920x1280.jpg +0 -0
  293. data/lib/starter_web/assets/image/module/attic/shutterstock_sponsor-1920x1280.jpg +0 -0
  294. data/lib/starter_web/assets/image/module/attic/sigmund-1920x1280.jpg +0 -0
  295. data/lib/starter_web/assets/image/module/attic/szabo-viktor-1920x1280.jpg +0 -0
  296. data/lib/starter_web/assets/image/module/attic/themes-1920x1280-bw.jpg +0 -0
  297. data/lib/starter_web/assets/image/module/attic/tldr-1920x800.jpg +0 -0
  298. data/lib/starter_web/assets/image/module/attic/vladislav-klapin-1920x1280.jpg +0 -0
  299. data/lib/starter_web/assets/image/module/attic/yellow-cactus-1920x1280.jpg +0 -0
  300. /data/assets/theme/j1/modules/videojs/plugins/players/vm/{LICENSE → js/old/LICENSE} +0 -0
  301. /data/assets/theme/j1/modules/videojs/plugins/players/vm/{README.md → js/old/README.md} +0 -0
@@ -0,0 +1,342 @@
1
+ ---
2
+ regenerate: true
3
+ exclude_from_search: true
4
+ ---
5
+
6
+ {%- capture cache -%}
7
+
8
+ {% comment %}
9
+ # -----------------------------------------------------------------------------
10
+ # ~/assets/data/gallery.html
11
+ # Liquid procedure to generate the HTML portion for all J1 Galleries Apps
12
+ # configured (Justified Gallery)
13
+ #
14
+ # Product/Info:
15
+ # https://jekyll.one
16
+ #
17
+ # Copyright (C) 2023-2025 Juergen Adams
18
+ #
19
+ # J1 Template is licensed under the MIT License.
20
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
21
+ # -----------------------------------------------------------------------------
22
+ # NOTE: Data loaded dynamically by J1 Gallery module (AJAX)
23
+ # -----------------------------------------------------------------------------
24
+ # Test data:
25
+ # {{variable | debug}}
26
+ # -----------------------------------------------------------------------------
27
+ {% endcomment %}
28
+
29
+ {% comment %} Liquid procedures
30
+ -------------------------------------------------------------------------------- {% endcomment %}
31
+
32
+ {% comment %} Liquid var initialization
33
+ -------------------------------------------------------------------------------- {% endcomment %}
34
+
35
+ {% comment %} Set config files
36
+ -------------------------------------------------------------------------------- {% endcomment %}
37
+ {% assign template_config = site.data.j1_config %}
38
+ {% assign modules = site.data.modules %}
39
+
40
+ {% comment %} Set config data
41
+ -------------------------------------------------------------------------------- {% endcomment %}
42
+ {% assign environment = site.environment %}
43
+ {% assign gallery_defaults = modules.defaults.gallery.defaults %}
44
+ {% assign gallery_settings = modules.gallery.settings %}
45
+
46
+ {% comment %} Set config options
47
+ -------------------------------------------------------------------------------- {% endcomment %}
48
+ {% assign gallery_options = gallery_defaults | merge: gallery_settings %}
49
+ {% assign galleries = gallery_options.galleries %}
50
+
51
+ {% comment %} Configure permalink settings
52
+ -------------------------------------------------------------------------------- {% endcomment %}
53
+ {% assign ext = '' %}
54
+ {% if site.permalink == 'none' %}
55
+ {% assign ext = '.html' %}
56
+ {% endif %}
57
+
58
+ {% comment %} Detect prod mode
59
+ -------------------------------------------------------------------------------- {% endcomment %}
60
+ {% assign production = false %}
61
+ {% if environment == 'prod' or environment == 'production' %}
62
+ {% assign production = true %}
63
+ {% endif %}
64
+
65
+
66
+ {% comment %} Main
67
+ ================================================================================ {% endcomment %}
68
+ <!DOCTYPE {{site.doctype}}>
69
+ <html lang="{{site.language}}">
70
+ <head>
71
+ <!-- [INFO ] [~/assets/data/galleries.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
72
+ <meta name="robots" content="noindex, nofollow">
73
+ <meta name="gallery" content="module data file">
74
+ </head>
75
+ <body>
76
+ {% comment %} Collect Galleries
77
+ galleries {{galleries | debug}}
78
+ ------------------------------------------------------------------------------ {% endcomment %}
79
+ {% for gallery in galleries %} {% if gallery.enabled %}
80
+
81
+ {% comment %} Image Galleries
82
+ ---------------------------------------------------------------------------- {% endcomment %}
83
+ {% if gallery.type == 'image' %}
84
+
85
+ {% comment %} Collect CSS image filters
86
+ -------------------------------------------------------------------------- {% endcomment %}
87
+ {% assign css_filters = gallery_options.filters | merge: gallery.filters %}
88
+ {% assign image_filters = 'filter:' %}
89
+
90
+ {% if css_filters.enabled %}
91
+ {% for filter in css_filters %}
92
+ {% if filter[0] contains 'enabled' %}
93
+ {% continue %}
94
+ {% endif %}
95
+ {% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
96
+ {% endfor %}
97
+ {% endif %}
98
+
99
+ <!-- START Image Galleries -->
100
+ <div id="{{gallery.id}}">
101
+ {% for image in gallery.images %}
102
+ {% assign caption = image.caption_text %}
103
+ {% assign description = image.description %}
104
+
105
+ {% if gallery.lightbox.enabled %}
106
+ {% if gallery.lightbox.type == 'lb' %}
107
+ <a
108
+ href="{{gallery.image_base_path}}/{{image.file}}"
109
+ data-lightbox="{{gallery.id}}-image-group"
110
+ data-caption="{{caption|strip|strip_newlines}}"
111
+ data-title="{{caption|strip|strip_newlines}}">
112
+ <img
113
+ id="{{gallery.id}}_{{forloop.index}}"
114
+ class="{{gallery.image_styles}}"
115
+ src="{{gallery.image_base_path}}/{{image.file}}"
116
+ alt="{{caption|strip|strip_newlines}}"
117
+ aria-label="{{caption|strip|strip_newlines}}"
118
+ style="{{image_filters}};">
119
+ </a>
120
+ {% elsif gallery.lightbox.type == 'lg' %}
121
+ <a
122
+ href="{{gallery.image_base_path}}/{{image.file}}"
123
+ class="lg-item"
124
+ data-sub-html="{{description|strip|strip_newlines}}">
125
+ <img
126
+ id="{{gallery.id}}_{{forloop.index}}"
127
+ class="{{gallery.image_styles}}"
128
+ src="{{gallery.image_base_path}}/{{image.file}}"
129
+ alt="{{caption|strip|strip_newlines}}"
130
+ aria-label="{{caption|strip|strip_newlines}}"
131
+ style="{{image_filters}};">
132
+ </a>
133
+ {% endif %}
134
+ {% endif %}
135
+ {% endfor %}
136
+ </div>
137
+ <!-- END Image Galleries -->
138
+ {% endif %}
139
+
140
+ {% comment %} VIDEO Galleries
141
+ -------------------------------------------------------------------------- {% endcomment %}
142
+ {% if gallery.type == 'video' %}
143
+ {% assign play-button = '/assets/theme/j1/modules/lightGallery/css/themes/uno/icons/play-button.svg' %}
144
+
145
+ {% comment %} Collect CSS image filters
146
+ -------------------------------------------------------------------------- {% endcomment %}
147
+ {% assign css_filters = gallery_options.filters | merge: gallery.filters %}
148
+ {% assign image_filters = 'filter:' %}
149
+
150
+ {% if css_filters.enabled %}
151
+ {% for filter in css_filters %}
152
+ {% if filter[0] contains 'enabled' %}
153
+ {% continue %}
154
+ {% endif %}
155
+ {% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
156
+ {% endfor %}
157
+ {% endif %}
158
+
159
+ <!-- START Video Galleries -->
160
+ <div id="{{gallery.id}}" class="gallery justified-gallery">
161
+ {% for video in gallery.videos %}
162
+
163
+ {% if video.type == 'vimeo' or video.type == 'tiktoc' or video.type == 'wistia' or video.type == 'dailymotion' %}
164
+ {% assign description = video.description %}
165
+ {% assign alt = video.caption_text %}
166
+
167
+ <!-- START video type: {{video.type}} -->
168
+ <a
169
+ href="#"
170
+ class="lg-item lg-uno-video-icon speak2me-ignore"
171
+ data-lg-size="{{video.size}}"
172
+ data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
173
+ data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
174
+ data-src="{{video.source}}"
175
+ data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
176
+ data-sub-html="{{description|strip|strip_newlines}}">
177
+
178
+ <img
179
+ class="{{gallery.image_styles}}"
180
+ src="{{gallery.image_base_path}}/{{video.poster_image}}"
181
+ alt="{{alt|strip|strip_newlines}}"
182
+ aria-label="{{alt|strip|strip_newlines}}">
183
+
184
+ <span class="big-play-button"></span>
185
+
186
+ </a>
187
+ <!-- END video type: {{video.type}} -->
188
+
189
+ {% elsif video.type == 'html5' %}
190
+ {% assign description = video.description %}
191
+ {% assign alt = video.caption_text %}
192
+ {% assign video_split = video.source | split: '.' %}
193
+ {% assign extention = video_split[1] %}
194
+ <!-- START video type: {{video.type}} -->
195
+ <a
196
+ href="#"
197
+ class="lg-item lg-uno-video-icon speak2me-ignore"
198
+ data-lg-size="{{video.size}}"
199
+ data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
200
+ data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
201
+ data-src="{{video.source}}"
202
+ data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
203
+ data-sub-html="{{description|strip|strip_newlines}}"
204
+ data-video='{
205
+ "source": [{
206
+ "type": "video/{{extention}}",
207
+ "src": "{{gallery.video_base_path}}/{{video.source}}"
208
+ }],
209
+ "tracks": [
210
+ {% for track in video.tracks %}
211
+ {
212
+ {% for attribute in track %}
213
+ {% if attribute[0] == 'track' %} {% continue %} {% endif %}
214
+ {{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
215
+ {% endfor %}
216
+ }{% if forloop.last %}{% else %},{% endif %}
217
+ {% endfor %}
218
+ ]
219
+ }'>
220
+
221
+ <img
222
+ class="{{gallery.image_styles}}"
223
+ src="{{gallery.image_base_path}}/{{video.poster_image}}"
224
+ alt="{{alt|strip|strip_newlines}}"
225
+ aria-label="{{alt|strip|strip_newlines}}">
226
+
227
+ <span class="big-play-button"></span>
228
+
229
+ </a>
230
+ <!-- END video type: {{video.type}} -->
231
+
232
+ {% elsif video.type == 'youtube' %}
233
+ {% assign description = video.description %}
234
+ {% assign alt = video.caption_text %}
235
+ {% if video.api == 'videojs' %}
236
+ <!-- START video api: {{video.api}} -->
237
+ <a
238
+ href="#"
239
+ class="lg-item lg-uno-video-icon speak2me-ignore"
240
+ data-lg-size="{{video.size}}"
241
+ data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
242
+ data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
243
+ data-src="{{video.source}}"
244
+ data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
245
+ data-sub-html="{{description|strip|strip_newlines}}"
246
+ data-video='{
247
+ "source": [{
248
+ "type": "video/youtube",
249
+ "src": "{{gallery.video_base_path}}/{{video.source}}"
250
+ }],
251
+ "tracks": [
252
+ {% for track in video.tracks %}
253
+ {
254
+ {% for attribute in track %}
255
+ {% if attribute[0] == 'track' %} {% continue %} {% endif %}
256
+ {{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
257
+ {% endfor %}
258
+ }{% if forloop.last %}{% else %},{% endif %}
259
+ {% endfor %}
260
+ ]
261
+ }'>
262
+
263
+ <img
264
+ class="{{gallery.image_styles}}"
265
+ src="{{gallery.image_base_path}}/{{video.poster_image}}"
266
+ alt="{{alt|strip|strip_newlines}}"
267
+ aria-label="{{alt|strip|strip_newlines}}">
268
+
269
+ <span class="big-play-button"></span>
270
+
271
+ </a>
272
+ <!-- END video api: {{video.api}} -->
273
+ {% elsif video.api == 'iframe' %}
274
+ <!-- START video api: {{video.api}} -->
275
+ <a
276
+ href="#"
277
+ class="lg-item lg-uno-video-icon speak2me-ignore"
278
+ data-lg-size="{{video.size}}"
279
+ data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
280
+ data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
281
+ data-src="{{video.source}}"
282
+ data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
283
+ data-sub-html="{{description|strip|strip_newlines}}">
284
+
285
+ <img
286
+ class="{{gallery.image_styles}}"
287
+ src="{{gallery.image_base_path}}/{{video.poster_image}}"
288
+ alt="{{alt|strip|strip_newlines}}"
289
+ aria-label="{{alt|strip|strip_newlines}}">
290
+
291
+ <span class="big-play-button"></span>
292
+
293
+ </a>
294
+ <!-- END video api: {{video.api}} -->
295
+ {% else %}
296
+ <!-- START video api: {{video.api}} (fallback) -->
297
+ <a
298
+ href="#"
299
+ class="lg-item lg-uno-video-icon speak2me-ignore"
300
+ data-lg-size="{{video.size}}"
301
+ data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
302
+ data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
303
+ data-src="{{video.source}}"
304
+ data-poster="{{gallery.image_base_path}}/{{video.poster_image}}"
305
+ data-sub-html="{{description|strip|strip_newlines}}">
306
+
307
+ <img
308
+ class="{{gallery.image_styles}}"
309
+ src="{{gallery.image_base_path}}/{{video.poster_image}}"
310
+ alt="{{alt|strip|strip_newlines}}"
311
+ aria-label="{{alt|strip|strip_newlines}}">
312
+
313
+ <span class="big-play-button"></span>
314
+
315
+ </a>
316
+ <!-- END video api: {{video.api}} (fallback) -->
317
+ {% endif %}
318
+ <!-- END video type: {{video.type}} -->
319
+
320
+ {% endif %} {% endfor %}
321
+ </div>
322
+ <!-- END Video Galleries -->
323
+
324
+ {% endif %}
325
+
326
+ {% endif %} {% endfor %}
327
+ <!-- [INFO ] [~/assets/data/galleries.html ] [end collecting all grid items] -->
328
+ </body>
329
+ </html>
330
+ {%- endcapture -%}
331
+
332
+ {% comment %} Beautify|Compress page
333
+ -------------------------------------------------------------------------------- {% endcomment %}
334
+ {%- if production -%}
335
+ {% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _END %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _END %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
336
+ {%- else -%}
337
+ {{ cache | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
338
+ {%- endif -%}
339
+
340
+ {% comment %} Reset page cache
341
+ -------------------------------------------------------------------------------- {% endcomment %}
342
+ {%- assign cache = false -%}
@@ -456,6 +456,7 @@ exclude_from_search: true
456
456
  data-lg-size="{{video.size}}"
457
457
  data-pinterest-text="{{video.pinterest_prefix}} {{video.name}} at {{video.source}}"
458
458
  data-tweet-text="{{video.tweet_prefix}} {{video.name}} at {{video.source}}"
459
+ data-src="{{video.source}}"
459
460
  data-poster="{{grid.html5.poster_base_path}}/{{video.poster.source}}"
460
461
  data-sub-html="{{video.description|strip|strip_newlines}}"
461
462
  data-video='{
@@ -467,17 +468,29 @@ exclude_from_search: true
467
468
  {% for attribute in grid.lightGallery.attributes %}
468
469
  {{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
469
470
  {% endfor %}
470
- }
471
+ },
472
+ "tracks": [
473
+ {% for track in video.tracks %}
474
+ {
475
+ {% for attribute in track %}
476
+ {% if attribute[0] == 'track' %} {% continue %} {% endif %}
477
+ {{attribute[0] | json}}: {{attribute[1] | json}}{% if forloop.last %}{% else %},{% endif %}
478
+ {% endfor %}
479
+ }{% if forloop.last %}{% else %},{% endif %}
480
+ {% endfor %}
481
+ ]
471
482
  }'>
472
- <div class="lg-uno-video-icon">
473
- <img
474
- id="{{video.name | replace: ' ','_' | replace: '-','_' | downcase}}"
475
- class="{{video.poster.style}}"
476
- src="{{grid.html5.poster_base_path}}/{{video.poster.source}}"
477
- aria-label="{{video.name}}">
478
483
 
479
- <span class="big-play-button"></span>
480
- </div>
484
+ <div class="lg-uno-video-icon">
485
+ <img
486
+ id="{{video.name | replace: ' ','_' | replace: '-','_' | downcase}}"
487
+ class="{{video.poster.style}}"
488
+ src="{{grid.html5.poster_base_path}}/{{video.poster.source}}"
489
+ aria-label="{{video.name}}">
490
+
491
+ <span class="big-play-button"></span>
492
+ </div>
493
+
481
494
  </a>
482
495
  <!-- END {{video.type}} video -->
483
496
  <div class="caption">{{video.caption.text}}</div>