j1-template 2023.3.0 → 2023.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +11 -9
  3. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  4. data/_includes/themes/j1/layouts/layout_metadata_generator.html +0 -3
  5. data/_includes/themes/j1/modules/navigator/generator.html +3 -3
  6. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +5 -5
  7. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +3 -3
  8. data/_includes/themes/j1/procedures/global/select_icon_size.proc +9 -2
  9. data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
  10. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -8
  11. data/_includes/themes/j1/procedures/posts/create_series_header.proc +2 -2
  12. data/_layouts/category.html +2 -2
  13. data/assets/data/authclient.html +10 -12
  14. data/assets/data/banner.html +3 -3
  15. data/assets/data/fab.html +11 -8
  16. data/assets/data/footer.html +2 -3
  17. data/assets/data/gallery_customizer.html +2 -2
  18. data/assets/data/masonry.html +5 -5
  19. data/assets/data/masterslider.html +1 -1
  20. data/assets/data/menu.html +9 -6
  21. data/assets/data/panel.html +8 -8
  22. data/assets/data/quicklinks.html +3 -1
  23. data/assets/data/rtext_resizer.html +1 -1
  24. data/assets/data/slick.html +2 -2
  25. data/assets/data/translator.html +1 -1
  26. data/assets/themes/j1/adapter/js/advertising.js +302 -96
  27. data/assets/themes/j1/adapter/js/carousel.js +2 -2
  28. data/assets/themes/j1/adapter/js/j1.js +92 -25
  29. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -1
  30. data/assets/themes/j1/adapter/js/lazyLoader.js +221 -0
  31. data/assets/themes/j1/adapter/js/lunr.js +3 -3
  32. data/assets/themes/j1/adapter/js/navigator.js +3 -5
  33. data/assets/themes/j1/adapter/js/themeToggler.js +3 -3
  34. data/assets/themes/j1/adapter/js/themer.js +55 -21
  35. data/assets/themes/j1/core/css/icon-fonts/mdi.css +3 -7
  36. data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -1
  37. data/assets/themes/j1/core/css/icon-fonts/mdib.css +8337 -0
  38. data/assets/themes/j1/core/css/icon-fonts/mdib.min.css +1 -0
  39. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +104 -30
  40. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  41. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -5
  42. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  43. data/assets/themes/j1/core/js/template.js +98 -31
  44. data/assets/themes/j1/core/js/template.min.js +2 -2
  45. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  46. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.json +2690 -0
  47. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.min.json +1 -0
  48. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +2 -2
  49. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -1
  50. data/assets/themes/j1/modules/materialize/scss/components/_global.scss +1 -1
  51. data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +2 -2
  52. data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +1 -1
  53. data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +2 -2
  54. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
  55. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  56. data/lib/j1/version.rb +1 -1
  57. data/lib/starter_web/Gemfile +2 -2
  58. data/lib/starter_web/README.md +5 -5
  59. data/lib/starter_web/_config.yml +2 -2
  60. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  61. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  62. data/lib/starter_web/_data/blocks/footer.yml +4 -1
  63. data/lib/starter_web/_data/blocks/panel.yml +47 -47
  64. data/lib/starter_web/_data/layouts/default.yml +1 -1
  65. data/lib/starter_web/_data/layouts/home.yml +29 -0
  66. data/lib/starter_web/_data/modules/advertising.yml +120 -42
  67. data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -1
  68. data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
  69. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
  70. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +20 -20
  71. data/lib/starter_web/_data/modules/defaults/fab.yml +3 -3
  72. data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
  73. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +33 -0
  74. data/lib/starter_web/_data/modules/defaults/lunr.yml +2 -2
  75. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  76. data/lib/starter_web/_data/modules/defaults/navigator.yml +18 -18
  77. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -2
  78. data/lib/starter_web/_data/modules/fab.yml +7 -7
  79. data/lib/starter_web/_data/modules/iconPicker.yml +3 -3
  80. data/lib/starter_web/_data/modules/lazyLoader.yml +93 -0
  81. data/lib/starter_web/_data/modules/masonry.yml +2 -2
  82. data/lib/starter_web/_data/modules/navigator_menu.yml +190 -148
  83. data/lib/starter_web/_data/modules/slick.yml +47 -86
  84. data/lib/starter_web/_data/resources.yml +68 -70
  85. data/lib/starter_web/_data/templates/feed.xml +1 -1
  86. data/lib/starter_web/_includes/attributes.0.asciidoc +626 -0
  87. data/lib/starter_web/_includes/attributes.asciidoc +26 -24
  88. data/lib/starter_web/_includes/custom/templates/collection_panel.html +2 -2
  89. data/lib/starter_web/_includes/google/static/google_ad_5128488466.html +19 -0
  90. data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +19 -0
  91. data/lib/starter_web/_includes/google/templates/google_ads.html +55 -0
  92. data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +1 -1
  93. data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +1 -1
  94. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +1 -1
  95. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  96. data/lib/starter_web/assets/images/badges/configBinder.jpg +0 -0
  97. data/lib/starter_web/assets/images/badges/docsBinder.jpg +0 -0
  98. data/lib/starter_web/assets/images/badges/notebookBinder.jpg +0 -0
  99. data/lib/starter_web/assets/images/badges/scaleable/configBinder.svg +1 -1
  100. data/lib/starter_web/assets/images/badges/scaleable/docsBinder.svg +1 -1
  101. data/lib/starter_web/assets/images/badges/scaleable/myBinder.svg +1 -1
  102. data/lib/starter_web/assets/images/badges/scaleable/notebookBinder.svg +1 -1
  103. data/lib/starter_web/assets/images/icons/hyvor-talk/jpg/hyvor-logo.512x512.jpg +0 -0
  104. data/lib/starter_web/assets/images/icons/hyvor-talk/png/hyvor-logo.24x24.jpg +0 -0
  105. data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +1 -1
  106. data/lib/starter_web/assets/images/icons/j1/jpg/j1-256x256.jpg +0 -0
  107. data/lib/starter_web/assets/images/icons/j1/jpg/j1-512x512.jpg +0 -0
  108. data/lib/starter_web/assets/images/icons/j1/jpg/j1-64x64.jpg +0 -0
  109. data/lib/starter_web/assets/images/icons/j1/png/j1-256x256.png +0 -0
  110. data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg +0 -0
  111. data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg.png +0 -0
  112. data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.png +0 -0
  113. data/lib/starter_web/assets/images/icons/j1/png/j1-64x64.png +0 -0
  114. data/lib/starter_web/assets/images/icons/j1/scalable/j1.svg +1 -1
  115. data/lib/starter_web/assets/images/modules/attics/1920x1280/brigitta-schneiter.jpg +0 -0
  116. data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +1 -1
  117. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.jpg +0 -0
  118. data/lib/starter_web/assets/images/pages/core_web_vitals/200-create-a-link-1.jpg +0 -0
  119. data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.jpg +0 -0
  120. data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.jpg +0 -0
  121. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.jpg +0 -0
  122. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
  123. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
  124. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
  125. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
  126. data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.jpg +0 -0
  127. data/lib/starter_web/assets/images/posts/featured/jamstack-generators.jpg +0 -0
  128. data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.jpg +0 -0
  129. data/lib/starter_web/assets/images/posts/featured/jekyll.jpg +0 -0
  130. data/lib/starter_web/assets/images/posts/featured/static-web-access.jpg +0 -0
  131. data/lib/starter_web/assets/images/promo/home/screenshot.jpg +0 -0
  132. data/lib/starter_web/assets/images/promo/jekyll/jekyll-faq.jpg +0 -0
  133. data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.jpg +0 -0
  134. data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.png +0 -0
  135. data/lib/starter_web/assets/images/promo/jekyll/jekyll-og.png +0 -0
  136. data/lib/starter_web/assets/images/promo/jekyll/scalable/jekyll-faq.psd +0 -0
  137. data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +1 -1
  138. data/lib/starter_web/collections/_biography/becoming.adoc +1 -1
  139. data/lib/starter_web/collections/_biography/born-to-run.adoc +1 -1
  140. data/lib/starter_web/collections/_biography/forty-autumns.adoc +1 -1
  141. data/lib/starter_web/collections/_biography/not-dead-yet.adoc +1 -1
  142. data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +1 -1
  143. data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +1 -1
  144. data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +1 -1
  145. data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +1 -1
  146. data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +26 -1
  147. data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +1 -1
  148. data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +17 -2
  149. data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +24 -1
  150. data/lib/starter_web/collections/_romance/{breath-of-snow-and-ashes-a.adoc → breath-of-snow-and-ashes.adoc} +13 -1
  151. data/lib/starter_web/collections/_romance/dressmaker-the.adoc +13 -1
  152. data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +1 -1
  153. data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +1 -1
  154. data/lib/starter_web/collections/_romance/outlander-novel.adoc +1 -1
  155. data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +1 -1
  156. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +4 -2
  157. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +4 -1
  158. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +5 -3
  159. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +4 -1
  160. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  161. data/lib/starter_web/index.html +0 -9
  162. data/lib/starter_web/package.json +1 -1
  163. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +1 -1
  164. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -1
  165. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +4 -4
  166. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +1 -1
  167. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +2 -2
  168. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.0.asciidoc +112 -0
  169. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
  170. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +1 -1
  171. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +152 -12
  172. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +28 -4
  173. data/lib/starter_web/pages/public/learn/where_to_go.adoc +11 -13
  174. data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/gem.adoc +5 -5
  175. data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/git.adoc +14 -14
  176. data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/j1.adoc +1 -1
  177. data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/yaml.adoc +1 -1
  178. data/lib/starter_web/pages/public/{previewer → tools/previewer}/preview_bootstrap_theme.adoc +1 -1
  179. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  180. data/lib/starter_web/utilsrv/package.json +1 -1
  181. metadata +58 -88
  182. data/assets/data/nbinteract.html +0 -129
  183. data/assets/themes/j1/adapter/js/nbinteract.js +0 -1485
  184. data/assets/themes/j1/modules/advertising/js/adInitializer.js +0 -160
  185. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +0 -7312
  186. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +0 -1
  187. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +0 -1315
  188. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +0 -7
  189. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +0 -886
  190. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +0 -5
  191. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +0 -446
  192. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +0 -5
  193. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +0 -37
  194. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +0 -17
  195. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +0 -42
  196. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +0 -17
  197. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +0 -19057
  198. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +0 -6
  199. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +0 -10872
  200. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +0 -2
  201. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +0 -1
  202. data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +0 -2145
  203. data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +0 -5
  204. data/assets/themes/j1/modules/nbinteract-core/LICENSE.txt +0 -60
  205. data/assets/themes/j1/modules/nbinteract-core/README.md +0 -226
  206. data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.css +0 -191
  207. data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.min.css +0 -19
  208. data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.css +0 -250
  209. data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.min.css +0 -15
  210. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/latest.js +0 -19
  211. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml-full.js +0 -34
  212. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml.js +0 -1
  213. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-mml-chtml.js +0 -1
  214. data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/README +0 -1
  215. data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js +0 -94
  216. data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js.map +0 -1
  217. data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.js +0 -2068
  218. data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.min.js +0 -36
  219. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +0 -281
  220. data/lib/starter_web/assets/images/icons/j1/j1-256x256.gif +0 -0
  221. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
  222. data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.png +0 -0
  223. data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.png +0 -0
  224. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
  225. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
  226. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
  227. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
  228. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
  229. data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.jpg +0 -0
  230. data/lib/starter_web/assets/images/pages/nbinteract/jupyterlab-architecture.jpg +0 -0
  231. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  232. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  233. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi-textbook-example.jpg +0 -0
  234. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  235. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  236. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  237. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  238. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  239. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  240. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  241. data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
  242. data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.png +0 -0
  243. data/lib/starter_web/assets/images/posts/featured/jamstack-generators.png +0 -0
  244. data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.png +0 -0
  245. data/lib/starter_web/assets/images/posts/featured/jekyll.png +0 -0
  246. data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
  247. data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
  248. data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
  249. data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
  250. data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
  251. data/lib/starter_web/assets/images/posts/featured/static-web-access.png +0 -0
  252. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +0 -118
  253. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +0 -118
  254. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +0 -118
  255. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +0 -117
  256. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +0 -117
  257. /data/lib/starter_web/assets/images/badges/{configBinder.png → png/configBinder.png} +0 -0
  258. /data/lib/starter_web/assets/images/badges/{docsBinder.png → png/docsBinder.png} +0 -0
  259. /data/lib/starter_web/assets/images/badges/{notebookBinder.png → png/notebookBinder.png} +0 -0
  260. /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.24x24.png → png/hyvor-logo.24x24.png} +0 -0
  261. /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.512x512.png → png/hyvor-logo.512x512.png} +0 -0
@@ -82,8 +82,7 @@ regenerate: true
82
82
 
83
83
  {% assign authentication_options = authentication_defaults | merge: authentication_settings %}
84
84
 
85
-
86
-
85
+ {% assign footer = 'active_footer' %}
87
86
  {% assign footer_id = footer_options.active_footer %}
88
87
  {% assign footer_data_path = footer_defaults.data_path %}
89
88
  {% assign banner_data_path = banner_defaults.data_path %}
@@ -165,6 +164,8 @@ var j1 = (function (options) {
165
164
  var state = 'not_started';
166
165
  var mode = 'not_detected';
167
166
 
167
+ var performance_monitors_enabled = ('{{template_config.monitor.performance_observer}}' === 'true') ? true: false;
168
+
168
169
  // defaults for tracking providers
169
170
  var tracking_enabled = ('{{tracking_enabled}}' === 'true') ? true: false;
170
171
  var tracking_id = '{{tracking_id}}';
@@ -457,12 +458,12 @@ var j1 = (function (options) {
457
458
  // set signout
458
459
  logger.info('\n' + 'show signout icon');
459
460
  $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignOut');
460
- $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
461
+ $('#iconSignInOut').removeClass('mdib-login').addClass('mdib-logout');
461
462
  } else {
462
463
  // set signin
463
464
  logger.info('\n' + 'show signin icon');
464
465
  $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignIn');
465
- $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
466
+ $('#iconSignInOut').removeClass('mdib-logout').addClass('mdib-login');
466
467
  }
467
468
  logger.info('\n' + 'authentication detected as: ' + user_session.authenticated);
468
469
  $('#quickLinksSignInOutButton').css('display', 'block');
@@ -562,7 +563,7 @@ var j1 = (function (options) {
562
563
  // show the content|footer
563
564
  //
564
565
  $('#content').show();
565
- $('#{{footer_id}}').show();
566
+ $('.{{footer}}').show();
566
567
 
567
568
  clearInterval(dependencies_met_page_ready);
568
569
  clearInterval(dependencies_met_blocks_ready);
@@ -582,7 +583,7 @@ var j1 = (function (options) {
582
583
  //
583
584
  if ( footer_state == 'success') {
584
585
  $('#content').show();
585
- $('#{{footer_id}}').show();
586
+ $('.{{footer}}').show();
586
587
 
587
588
  clearInterval(dependencies_met_page_ready);
588
589
  }
@@ -720,7 +721,7 @@ var j1 = (function (options) {
720
721
  // show the content|footer
721
722
  //
722
723
  $('#content').show();
723
- $('#{{footer_id}}').show();
724
+ $('.{{footer}}').show();
724
725
 
725
726
  clearInterval(dependencies_met_page_ready);
726
727
  clearInterval(dependencies_met_blocks_ready);
@@ -740,7 +741,7 @@ var j1 = (function (options) {
740
741
  //
741
742
  if ( footer_state == 'success') {
742
743
  $('#content').show();
743
- $('#{{footer_id}}').show();
744
+ $('.{{footer}}').show();
744
745
 
745
746
  clearInterval(dependencies_met_page_ready);
746
747
  }
@@ -1215,12 +1216,12 @@ var j1 = (function (options) {
1215
1216
  // set signout
1216
1217
  logger.info('\n' + 'show signout icon');
1217
1218
  $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignOut');
1218
- $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
1219
+ $('#iconSignInOut').removeClass('mdib-login').addClass('mdib-logout');
1219
1220
  } else {
1220
1221
  // set signin
1221
1222
  logger.info('\n' + 'show signin icon');
1222
1223
  $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignIn');
1223
- $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
1224
+ $('#iconSignInOut').removeClass('mdib-logout').addClass('mdib-login');
1224
1225
  }
1225
1226
  logger.info('\n' + 'authentication detected as: ' + user_session.authenticated);
1226
1227
  $('#quickLinksSignInOutButton').css('display', 'block');
@@ -2486,8 +2487,8 @@ var j1 = (function (options) {
2486
2487
  // // var tabs_pills_link_color_active = j1.setColorData('md_blue'); // j1.getStyleValue('btn-info', 'background-color');
2487
2488
  // // var tabs_pills_link_color_hover = j1.setColorData('md_gray_300'); // j1.getStyleValue('btn-secondary', 'background-color');
2488
2489
  //
2489
- // // var tabs_pills_link_color_active = 'mdi-blue';
2490
- // // var tabs_pills_link_color_hover = 'mdi-gray-300';
2490
+ // // var tabs_pills_link_color_active = 'md-blue';
2491
+ // // var tabs_pills_link_color_hover = 'md-gray-300';
2491
2492
  //
2492
2493
  // // nav module
2493
2494
  // // -----------------------------------------------------------------------
@@ -2699,6 +2700,64 @@ var j1 = (function (options) {
2699
2700
 
2700
2701
  }, // END stringToBoolean
2701
2702
 
2703
+ // -------------------------------------------------------------------------
2704
+ // registerLazyLoadCss()
2705
+ // CSS loader to speed up inital rendering
2706
+ //
2707
+ // Requires the following config serrings:
2708
+ //
2709
+ // src: the 'location' of the CSS file
2710
+ // selector: the 'selector' that triggers the observer
2711
+ // rootMargin: the 'margin' before the load is trigged
2712
+ //
2713
+ // -------------------------------------------------------------------------
2714
+ //
2715
+ registerLazyLoadCss: function () {
2716
+
2717
+ console.log('register CSS files for lazy loading');
2718
+
2719
+ // load MDI Light CSS
2720
+ //
2721
+ j1.lazyCss().observe({
2722
+ 'src': '/assets/themes/j1/core/css/icon-fonts/mdil.min.css',
2723
+ 'selector': '.mdil',
2724
+ 'rootMargin': '150px 0px'
2725
+ });
2726
+
2727
+ // load MDI Regular CSS
2728
+ //
2729
+ j1.lazyCss().observe({
2730
+ 'src': '/assets/themes/j1/core/css/icon-fonts/mdi.min.css',
2731
+ 'selector': '.mdi',
2732
+ 'rootMargin': '150px 0px'
2733
+ });
2734
+
2735
+ // load FA CSS
2736
+ //
2737
+ j1.lazyCss().observe({
2738
+ 'src': '/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css',
2739
+ 'selector': '.fa',
2740
+ 'rootMargin': '150px 0px'
2741
+ });
2742
+
2743
+ // load rTable CSS
2744
+ //
2745
+ j1.lazyCss().observe({
2746
+ 'src': '/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css',
2747
+ 'selector': '.rtable',
2748
+ 'rootMargin': '150px 0px'
2749
+ });
2750
+
2751
+ // load CountryFlags CSS
2752
+ //
2753
+ j1.lazyCss().observe({
2754
+ 'src': '/assets/themes/j1/core/country-flags/css/theme/uno.min.css',
2755
+ 'selector': '.flag-icon',
2756
+ 'rootMargin': '150px 0px'
2757
+ });
2758
+
2759
+ }, // END registerLazyLoadCss
2760
+
2702
2761
  // -------------------------------------------------------------------------
2703
2762
  // registerMonitors()
2704
2763
  //
@@ -2778,7 +2837,12 @@ var j1 = (function (options) {
2778
2837
  }
2779
2838
 
2780
2839
  for (const {node, currentRect, previousRect} of entry.sources) {
2781
- if (node.hasOwnProperty('firstElementChild') && typeof node.firstElementChild != 'null' && typeof node.firstElementChild != 'undefined') {
2840
+ var hasProperty = node.hasOwnProperty('firstElementChild');
2841
+ if (hasProperty == null) {
2842
+ hasProperty = false;
2843
+ }
2844
+
2845
+ if (hasProperty) {
2782
2846
  var id = '';
2783
2847
  try {
2784
2848
  id = node.firstElementChild.id;
@@ -2898,19 +2962,22 @@ var j1 = (function (options) {
2898
2962
  // run all observers for page monitoring
2899
2963
  // -----------------------------------------------------------------------
2900
2964
 
2901
- // monitor 'LCP'
2902
- //
2903
- performanceObserverLCP.observe({
2904
- type: 'largest-contentful-paint',
2905
- buffered: true
2906
- });
2965
+ if (performance_monitors_enabled) {
2966
+ // monitor 'LCP'
2967
+ //
2968
+ performanceObserverLCP.observe({
2969
+ type: 'largest-contentful-paint',
2970
+ buffered: true
2971
+ });
2907
2972
 
2908
- // monitor 'CLS'
2909
- //
2910
- performanceObserverCLS.observe({
2911
- type: 'layout-shift',
2912
- buffered: true
2913
- });
2973
+ // monitor 'CLS'
2974
+ //
2975
+ performanceObserverCLS.observe({
2976
+ type: 'layout-shift',
2977
+ buffered: true
2978
+ });
2979
+
2980
+ } // END if 'performance_monitors'
2914
2981
 
2915
2982
  // monitor 'GROWTH'
2916
2983
  resizeObserver.observe(
@@ -290,7 +290,7 @@ j1.adapter.justifiedGalleryCustomizer = (function (j1, window) {
290
290
  // See: https://jsfiddle.net/prathviraj080/vbbbw46a/1/
291
291
  //
292
292
  $('button.drawer-toggler').click(function(){
293
- $('button.drawer-toggler span.mdi').toggleClass('mdi-menu mdi-close');
293
+ $('button.drawer-toggler span.mdi').toggleClass('mdib-menu mdib-close');
294
294
  });
295
295
  $('button.drawer-toggler').click(function(){
296
296
  $('button.drawer-toggler').toggleClass('fadeIn rotateIn');
@@ -0,0 +1,221 @@
1
+ ---
2
+ regenerate: true
3
+ ---
4
+
5
+ {% capture cache %}
6
+
7
+ {% comment %}
8
+ # -----------------------------------------------------------------------------
9
+ # ~/assets/themes/j1/adapter/js/lazyCSSLoader.js
10
+ # Liquid template to adapt the lazyCSS module(core)
11
+ #
12
+ # Product/Info:
13
+ # https://jekyll.one
14
+ # Copyright (C) 2023 Juergen Adams
15
+ #
16
+ # J1 Theme is licensed under the MIT License.
17
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
18
+ # -----------------------------------------------------------------------------
19
+ # Test data:
20
+ # {{ liquid_var | debug }}
21
+ # wave_options: {{ wave_options | debug }}
22
+ # -----------------------------------------------------------------------------
23
+ {% endcomment %}
24
+
25
+ {% comment %} Liquid procedures
26
+ -------------------------------------------------------------------------------- {% endcomment %}
27
+
28
+ {% comment %} Set global settings
29
+ -------------------------------------------------------------------------------- {% endcomment %}
30
+ {% assign environment = site.environment %}
31
+ {% assign asset_path = "/assets/themes/j1" %}
32
+
33
+ {% comment %} Process YML config data
34
+ ================================================================================ {% endcomment %}
35
+
36
+ {% comment %} Set config files
37
+ -------------------------------------------------------------------------------- {% endcomment %}
38
+ {% assign template_config = site.data.j1_config %}
39
+ {% assign blocks = site.data.blocks %}
40
+ {% assign modules = site.data.modules %}
41
+
42
+ {% comment %} Set config data (settings only)
43
+ -------------------------------------------------------------------------------- {% endcomment %}
44
+ {% assign lazy_loader_defaults = modules.defaults.lazyLoader.defaults %}
45
+ {% assign lazy_loader_settings = modules.lazyLoader.settings %}
46
+
47
+ {% comment %} Set config options (settings only)
48
+ -------------------------------------------------------------------------------- {% endcomment %}
49
+ {% assign lazy_loader_options = lazy_loader_defaults | merge: lazy_loader_settings %}
50
+
51
+ {% comment %} Detect prod mode
52
+ -------------------------------------------------------------------------------- {% endcomment %}
53
+ {% assign production = false %}
54
+ {% if environment == 'prod' or environment == 'production' %}
55
+ {% assign production = true %}
56
+ {% endif %}
57
+
58
+ /*
59
+ # -----------------------------------------------------------------------------
60
+ # ~/assets/themes/j1/adapter/js/lazyLoader.js
61
+ # J1 Adapter for the lazyLoader module (core)
62
+ #
63
+ # Product/Info:
64
+ # https://jekyll.one
65
+ #
66
+ # Copyright (C) 2023 Juergen Adams
67
+ #
68
+ # J1 Theme is licensed under the MIT License.
69
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
70
+ # -----------------------------------------------------------------------------
71
+ # Adapter generated: {{site.time}}
72
+ # -----------------------------------------------------------------------------
73
+ */
74
+
75
+ // -----------------------------------------------------------------------------
76
+ // ESLint shimming
77
+ // -----------------------------------------------------------------------------
78
+ /* eslint indent: "off" */
79
+ // -----------------------------------------------------------------------------
80
+ 'use strict';
81
+ j1.adapter.lazyLoader = (function (j1, window) {
82
+
83
+ {% comment %} Set global variables
84
+ -------------------------------------------------------------------------------- {% endcomment %}
85
+ var environment = '{{environment}}';
86
+ var cookie_names = j1.getCookieNames();
87
+ var user_state = j1.readCookie(cookie_names.user_state);
88
+ var lazyLoaderDefaults;
89
+ var lazyLoaderSettings;
90
+ var lazyLoaderOptions;
91
+ var frontmatterOptions;
92
+ var _this;
93
+ var logger;
94
+ var logText;
95
+
96
+ // ---------------------------------------------------------------------------
97
+ // Main object
98
+ // ---------------------------------------------------------------------------
99
+ return {
100
+
101
+ // -------------------------------------------------------------------------
102
+ // init()
103
+ // adapter initializer
104
+ // -------------------------------------------------------------------------
105
+ init: function (options) {
106
+
107
+ // -----------------------------------------------------------------------
108
+ // Default module settings
109
+ // -----------------------------------------------------------------------
110
+ var settings = $.extend({
111
+ module_name: 'j1.adapter.lazyLoader',
112
+ generated: '{{site.time}}'
113
+ }, options);
114
+
115
+ // -----------------------------------------------------------------------
116
+ // Global variable settings
117
+ // -----------------------------------------------------------------------
118
+
119
+ // create settings object from module options
120
+ //
121
+ lazyLoaderDefaults = $.extend({}, {{lazy_loader_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
122
+ lazyLoaderSettings = $.extend({}, {{lazy_loader_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
123
+ lazyLoaderOptions = $.extend(true, {}, lazyLoaderDefaults, lazyLoaderSettings);
124
+
125
+ _this = j1.adapter.lazyLoader;
126
+ logger = log4javascript.getLogger('j1.adapter.lazyLoader');
127
+
128
+ var dependencies_met_lazy_loader = setInterval(function() {
129
+ var pageFinished = (j1.getState() == 'finished') ? true: false;
130
+
131
+ if (pageFinished) {
132
+
133
+ _this.setState('started');
134
+ logger.info('\n' + 'initialize moodule lazyLoader: started');
135
+
136
+ _this.registerLoaders(lazyLoaderOptions);
137
+
138
+ _this.setState('finished');
139
+ logger.info('\n' + 'initialize moodule lazyLoader: finished');
140
+ clearInterval(dependencies_met_lazy_loader);
141
+ }
142
+ }, 10);
143
+
144
+ }, // END init
145
+
146
+ // -------------------------------------------------------------------------
147
+ // registerLoaders()
148
+ // Lazy load CSS to speed up page rendering
149
+ //
150
+ // Requires the following settings:
151
+ //
152
+ // src: the 'location' of the CSS file
153
+ // selector: the 'selector' that triggers the observer
154
+ // rootMargin: the 'margin' before the load is trigged
155
+ //
156
+ // -------------------------------------------------------------------------
157
+ //
158
+ registerLoaders: function () {
159
+ {% for loader in lazy_loader_options.loaders %} {% if loader.enabled %}
160
+ j1.lazyCSS().observe({
161
+ src: '{{loader.src}}',
162
+ selector: '{{loader.selector}}',
163
+ rootMargin: '{{loader.rootMargin}}'
164
+ });
165
+ logger.info('\n' + 'register lazy loading for: {{loader.description}}');
166
+ {% endif %} {% endfor %}
167
+ }, // END registerLoaders
168
+
169
+ // -------------------------------------------------------------------------
170
+ // messageHandler()
171
+ // manage messages send from other J1 modules
172
+ // -------------------------------------------------------------------------
173
+ messageHandler: function (sender, message) {
174
+ var json_message = JSON.stringify(message, undefined, 2);
175
+
176
+ logText = '\n' + 'received message from ' + sender + ': ' + json_message;
177
+ logger.debug(logText);
178
+
179
+ // -----------------------------------------------------------------------
180
+ // Process commands|actions
181
+ // -----------------------------------------------------------------------
182
+ if (message.type === 'command' && message.action === 'module_initialized') {
183
+ //
184
+ // Place handling of command|action here
185
+ //
186
+ logger.info('\n' + message.text);
187
+ }
188
+
189
+ //
190
+ // Place handling of other command|action here
191
+ //
192
+
193
+ return true;
194
+ }, // END messageHandler
195
+
196
+ // -------------------------------------------------------------------------
197
+ // setState()
198
+ // Sets the current (processing) state of the module
199
+ // -------------------------------------------------------------------------
200
+ setState: function (stat) {
201
+ _this.state = stat;
202
+ }, // END setState
203
+
204
+ // -------------------------------------------------------------------------
205
+ // getState()
206
+ // Returns the current (processing) state of the module
207
+ // -------------------------------------------------------------------------
208
+ getState: function () {
209
+ return _this.state;
210
+ } // END getState
211
+
212
+ }; // END return
213
+ })(j1, window);
214
+
215
+ {% endcapture %}
216
+ {% if production %}
217
+ {{ cache | minifyJS }}
218
+ {% else %}
219
+ {{ cache | strip_empty_lines }}
220
+ {% endif %}
221
+ {% assign cache = nil %}
@@ -168,10 +168,10 @@ j1.adapter.lunr = (function (j1, window) {
168
168
  _this.modalScript.text += '{{#docs}}' + '\n';
169
169
  _this.modalScript.text += ' <li>' + '\n';
170
170
  _this.modalScript.text += ' <h4 class="result-item"> <a class="link-no-decoration" href="{{url}}" target="_blank">{{title}} · {{tagline}}</a> </h4>' + '\n';
171
- _this.modalScript.text += ' <p class="result-item-text small text-muted mt-2 mb-0"> <i class="mdi mdi-calendar-blank mdi-18px mr-1"></i>{{displaydate}} </p>' + '\n';
171
+ _this.modalScript.text += ' <p class="result-item-text small text-muted mt-2 mb-0"> <i class="mdib mdib-calendar-blank mdib-18px mr-1"></i>{{displaydate}} </p>' + '\n';
172
172
  _this.modalScript.text += ' <p class="result-item-text">{{description}}</p>' + '\n';
173
- _this.modalScript.text += ' <i class="mdi mdi-tag-text-outline mdi-18px mr-1"></i><span class="sr-categories">{{#categories}} {{.}} · {{/categories}}</span>' + '\n';
174
- _this.modalScript.text += ' <i class="mdi mdi-tag mdi-18px mr-1 ml-2"></i><span class="sr-tags">{{#tags}} {{.}} · {{/tags}}</span>' + '\n';
173
+ _this.modalScript.text += ' <i class="mdib mdib-tag-text-outline mdib-18px mr-1"></i><span class="sr-categories">{{#categories}} {{.}} · {{/categories}}</span>' + '\n';
174
+ _this.modalScript.text += ' <i class="mdib mdib-tag mdib-18px mr-1 ml-2"></i><span class="sr-tags">{{#tags}} {{.}} · {{/tags}}</span>' + '\n';
175
175
  _this.modalScript.text += ' </p>' + '\n';
176
176
  _this.modalScript.text += ' </li>' + '\n';
177
177
  _this.modalScript.text += '{{/docs}}' + '\n';
@@ -487,11 +487,11 @@ j1.adapter.navigator = (function (j1, window) {
487
487
  if (user_session.authenticated === 'true') {
488
488
  // Set SignOut
489
489
  $('#navLinkSignInOut').attr('data-bs-target', '#modalOmniSignOut');
490
- $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
490
+ $('#iconSignInOut').removeClass('mdib-login').addClass('mdib-logout');
491
491
  } else {
492
492
  // Set SignIn
493
493
  $('#navLinkSignInOut').attr('data-bs-target', '#modalOmniSignIn');
494
- $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
494
+ $('#iconSignInOut').removeClass('mdib-logout').addClass('mdib-login');
495
495
  }
496
496
  }
497
497
 
@@ -889,11 +889,9 @@ j1.adapter.navigator = (function (j1, window) {
889
889
  style += '</style>';
890
890
  $('head').append(style);
891
891
 
892
-
893
-
894
892
  // $('head').append('<style>.mdi-bg-primary {color: ' +bg_scrolled+ ';}</style>');
895
893
  style = '<style>';
896
- style += ' .mdi-bg-primary {';
894
+ style += ' var(--bg-primary) {';
897
895
  style += ' color: ' + bg_scrolled;
898
896
  style += ' }';
899
897
  style += '</style>';
@@ -164,7 +164,7 @@ var logText;
164
164
  //
165
165
  if ($('#quickLinksThemeTogglerButton').length) {
166
166
  if (user_state.theme_name == dark_theme_name) {
167
- $('#quickLinksThemeTogglerButton a i').toggleClass('mdi-lightbulb mdi-lightbulb-outline');
167
+ $('#quickLinksThemeTogglerButton a i').toggleClass('mdib-lightbulb mdib-lightbulb-outline');
168
168
  }
169
169
  }
170
170
 
@@ -173,11 +173,11 @@ var logText;
173
173
  if (user_state.theme_name == light_theme_name) {
174
174
  user_state.theme_name = dark_theme_name;
175
175
  user_state.theme_css = dark_theme_css;
176
- user_state.theme_icon = 'mdi-lightbulb';
176
+ user_state.theme_icon = 'mdib-lightbulb';
177
177
  } else {
178
178
  user_state.theme_name = light_theme_name;
179
179
  user_state.theme_css = light_theme_css;
180
- user_state.theme_icon = 'mdi-lightbulb-outline';
180
+ user_state.theme_icon = 'mdib-lightbulb-outline';
181
181
  }
182
182
 
183
183
  logger.info('\n' + 'switch theme to: ' + user_state.theme_name);