j1-template 2023.2.7 → 2023.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -1
  3. data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
  4. data/_includes/themes/j1/layouts/layout_metadata_generator.html +38 -38
  5. data/_includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc +1 -1
  6. data/_includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc +1 -1
  7. data/_includes/themes/j1/procedures/blocks/footer/boxes/issue.proc +1 -1
  8. data/_includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc +1 -1
  9. data/_includes/themes/j1/procedures/blocks/footer/boxes/news_box.proc +1 -1
  10. data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -3
  11. data/_includes/themes/j1/procedures/layouts/module_writer.proc +7 -23
  12. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +8 -8
  13. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  14. data/_layouts/compress.html +26 -21
  15. data/_layouts/default.html +36 -30
  16. data/assets/data/banner.html +5 -2
  17. data/assets/data/footer.html +15 -3
  18. data/assets/data/masonry.html +1 -1
  19. data/assets/data/masterslider.html +1 -0
  20. data/assets/data/menu.html +4 -4
  21. data/assets/data/panel.html +6 -3
  22. data/assets/data/quicklinks.html +138 -149
  23. data/assets/error_pages/HTTP204.html +3 -3
  24. data/assets/error_pages/HTTP400.html +3 -3
  25. data/assets/error_pages/HTTP401.html +3 -3
  26. data/assets/error_pages/HTTP403.html +3 -3
  27. data/assets/error_pages/HTTP404.html +3 -3
  28. data/assets/error_pages/HTTP444.html +3 -3
  29. data/assets/error_pages/HTTP445.html +3 -3
  30. data/assets/error_pages/HTTP446.html +5 -5
  31. data/assets/error_pages/HTTP447.html +7 -7
  32. data/assets/error_pages/HTTP448.html +7 -7
  33. data/assets/error_pages/HTTP500.html +3 -3
  34. data/assets/error_pages/HTTP501.html +3 -3
  35. data/assets/error_pages/HTTP502.html +3 -3
  36. data/assets/error_pages/HTTP503.html +3 -3
  37. data/assets/themes/j1/adapter/js/advertising.js +355 -156
  38. data/assets/themes/j1/adapter/js/analytics.js +1 -1
  39. data/assets/themes/j1/adapter/js/asciidoctor.js +1 -1
  40. data/assets/themes/j1/adapter/js/attic.js +22 -14
  41. data/assets/themes/j1/adapter/js/bmd.js +1 -1
  42. data/assets/themes/j1/adapter/js/carousel.js +5 -4
  43. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  44. data/assets/themes/j1/adapter/js/comments.js +5 -5
  45. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  46. data/assets/themes/j1/adapter/js/customFunctions.js +1 -1
  47. data/assets/themes/j1/adapter/js/customModule.js +1 -1
  48. data/assets/themes/j1/adapter/js/dropdowns.js +4 -2
  49. data/assets/themes/j1/adapter/js/fab.js +9 -6
  50. data/assets/themes/j1/adapter/js/framer.js +1 -1
  51. data/assets/themes/j1/adapter/js/iconPicker.js +227 -0
  52. data/assets/themes/j1/adapter/js/j1.js +402 -76
  53. data/assets/themes/j1/adapter/js/justifiedGallery.js +9 -3
  54. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +2 -2
  55. data/assets/themes/j1/adapter/js/lightbox.js +4 -3
  56. data/assets/themes/j1/adapter/js/logger.js +1 -1
  57. data/assets/themes/j1/adapter/js/lunr.js +1 -1
  58. data/assets/themes/j1/adapter/js/masonry.js +4 -3
  59. data/assets/themes/j1/adapter/js/masterslider.js +30 -57
  60. data/assets/themes/j1/adapter/js/mmenu.js +2 -2
  61. data/assets/themes/j1/adapter/js/navigator.js +7 -5
  62. data/assets/themes/j1/adapter/js/nbinteract.js +9 -9
  63. data/assets/themes/j1/adapter/js/particles.js +2 -2
  64. data/assets/themes/j1/adapter/js/rangeSlider.js +2 -2
  65. data/assets/themes/j1/adapter/js/rouge.js +2 -2
  66. data/assets/themes/j1/adapter/js/rtable.js +1 -1
  67. data/assets/themes/j1/adapter/js/rtextResizer.js +1 -1
  68. data/assets/themes/j1/adapter/js/scroller.js +97 -109
  69. data/assets/themes/j1/adapter/js/slick.js +28 -18
  70. data/assets/themes/j1/adapter/js/themeToggler.js +259 -0
  71. data/assets/themes/j1/adapter/js/themer.js +63 -23
  72. data/assets/themes/j1/adapter/js/toccer.js +9 -6
  73. data/assets/themes/j1/adapter/js/translator.js +4 -2
  74. data/assets/themes/j1/adapter/js/waves.js +6 -4
  75. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1322 -417
  76. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +3 -3
  77. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +2064 -1273
  78. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -3
  79. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +10280 -9399
  80. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +10 -10
  81. data/assets/themes/j1/core/css/vendor.css +0 -14
  82. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  83. data/assets/themes/j1/modules/backstretch/js/backstretch.js +6 -4
  84. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  85. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  86. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
  87. data/assets/themes/j1/modules/iconPicker/README.md +266 -0
  88. data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.css +419 -0
  89. data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.min.css +17 -0
  90. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-brands.json +467 -0
  91. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-brands.min.json +1 -0
  92. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-regular.json +169 -0
  93. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-regular.min.json +1 -0
  94. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-solid.json +1136 -0
  95. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-solid.min.json +1 -0
  96. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome.json +1772 -0
  97. data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome.min.json +1 -0
  98. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +292 -0
  99. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -0
  100. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +7312 -0
  101. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +1 -0
  102. data/assets/themes/j1/modules/iconPicker/images/magnifying-glass-solid.svg +1 -0
  103. data/assets/themes/j1/modules/iconPicker/images/star-of-life-solid.svg +3 -0
  104. data/assets/themes/j1/modules/iconPicker/images/xmark-solid.svg +3 -0
  105. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +493 -0
  106. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.min.js +17 -0
  107. data/assets/themes/j1/modules/jquery/AUTHORS.txt +372 -0
  108. data/assets/themes/j1/modules/jquery/LICENSE.txt +43 -0
  109. data/assets/themes/j1/modules/jquery/css/images/ui-icons_444444_256x240.png +0 -0
  110. data/assets/themes/j1/modules/jquery/css/images/ui-icons_555555_256x240.png +0 -0
  111. data/assets/themes/j1/modules/jquery/css/images/ui-icons_777620_256x240.png +0 -0
  112. data/assets/themes/j1/modules/jquery/css/images/ui-icons_777777_256x240.png +0 -0
  113. data/assets/themes/j1/modules/jquery/css/images/ui-icons_cc0000_256x240.png +0 -0
  114. data/assets/themes/j1/modules/jquery/css/images/ui-icons_ffffff_256x240.png +0 -0
  115. data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.css +92 -92
  116. data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.min.css +4 -4
  117. data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.css +88 -88
  118. data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.min.css +2 -2
  119. data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.css +4 -4
  120. data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.min.css +2 -2
  121. data/assets/themes/j1/modules/jquery/js/jquery-ui.js +13683 -13678
  122. data/assets/themes/j1/modules/jquery/js/jquery-ui.min.js +3 -3
  123. data/assets/themes/j1/modules/jquery/js/jquery.js +1029 -1203
  124. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
  125. data/assets/themes/j1/modules/jquery/js/jquery.min.map +1 -1
  126. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +1315 -0
  127. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +7 -0
  128. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +886 -0
  129. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +5 -0
  130. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +446 -0
  131. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +5 -0
  132. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +37 -0
  133. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +17 -0
  134. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +42 -0
  135. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +17 -0
  136. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +19057 -0
  137. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +6 -0
  138. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +10872 -0
  139. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +2 -0
  140. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +1 -0
  141. data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +2145 -0
  142. data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +5 -0
  143. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.js +2 -2
  144. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
  145. data/assets/themes/j1/modules/masterslider/css/theme/uno.css +9 -9
  146. data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
  147. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +2 -2
  148. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
  149. data/assets/themes/j1/modules/rouge/css/uno.dark/theme.css +136 -47
  150. data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +9 -9
  151. data/assets/themes/j1/modules/scroller/js/scroller.js +76 -69
  152. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  153. data/assets/themes/j1/modules/translator/js/translator.js +1 -1
  154. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  155. data/lib/j1/version.rb +1 -1
  156. data/lib/starter_web/Gemfile +2 -2
  157. data/lib/starter_web/README.md +5 -5
  158. data/lib/starter_web/_config.yml +5 -2
  159. data/lib/starter_web/_data/blocks/banner.yml +8 -5
  160. data/lib/starter_web/_data/blocks/defaults/footer.yml +4 -4
  161. data/lib/starter_web/_data/blocks/footer.yml +12 -5
  162. data/lib/starter_web/_data/blocks/panel.yml +41 -38
  163. data/lib/starter_web/_data/j1_config.yml +68 -58
  164. data/lib/starter_web/_data/layouts/collection.yml +1 -0
  165. data/lib/starter_web/_data/layouts/default.yml +1 -1
  166. data/lib/starter_web/_data/layouts/home.yml +38 -9
  167. data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -0
  168. data/lib/starter_web/_data/layouts/page.yml +2 -1
  169. data/lib/starter_web/_data/layouts/post.yml +1 -0
  170. data/lib/starter_web/_data/layouts/raw.yml +1 -0
  171. data/lib/starter_web/_data/modules/advertising.yml +209 -58
  172. data/lib/starter_web/_data/modules/analytics.yml +2 -2
  173. data/lib/starter_web/_data/modules/attics.yml +4 -7
  174. data/lib/starter_web/_data/modules/defaults/advertising.yml +3 -2
  175. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -3
  176. data/lib/starter_web/_data/modules/defaults/iconPicker.yml +42 -0
  177. data/lib/starter_web/_data/modules/defaults/navigator.yml +15 -13
  178. data/lib/starter_web/_data/modules/defaults/theme_toggler.yml +42 -0
  179. data/lib/starter_web/_data/modules/iconPicker.yml +64 -0
  180. data/lib/starter_web/_data/modules/masonry.yml +3 -3
  181. data/lib/starter_web/_data/modules/masterslider.yml +5 -5
  182. data/lib/starter_web/_data/modules/navigator_menu.yml +311 -160
  183. data/lib/starter_web/_data/modules/scroller.yml +8 -8
  184. data/lib/starter_web/_data/modules/slick.yml +47 -86
  185. data/lib/starter_web/_data/modules/theme_toggler.yml +29 -0
  186. data/lib/starter_web/_data/modules/themer.yml +0 -6
  187. data/lib/starter_web/_data/resources.yml +54 -53
  188. data/lib/starter_web/_data/templates/feed.xml +1 -1
  189. data/lib/starter_web/_includes/attributes.0.asciidoc +626 -0
  190. data/lib/starter_web/_includes/attributes.asciidoc +81 -72
  191. data/lib/starter_web/_includes/google/static/google_ad_5128488466.html +19 -0
  192. data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +19 -0
  193. data/lib/starter_web/_includes/google/templates/google_ads.html +55 -0
  194. data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +47 -0
  195. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  196. data/lib/starter_web/assets/images/badges/configBinder.jpg +0 -0
  197. data/lib/starter_web/assets/images/badges/docsBinder.jpg +0 -0
  198. data/lib/starter_web/assets/images/badges/notebookBinder.jpg +0 -0
  199. data/lib/starter_web/assets/images/badges/scaleable/configBinder.svg +1 -1
  200. data/lib/starter_web/assets/images/badges/scaleable/docsBinder.svg +1 -1
  201. data/lib/starter_web/assets/images/badges/scaleable/myBinder.svg +1 -1
  202. data/lib/starter_web/assets/images/badges/scaleable/notebookBinder.svg +1 -1
  203. data/lib/starter_web/assets/images/icons/hyvor-talk/jpg/hyvor-logo.512x512.jpg +0 -0
  204. data/lib/starter_web/assets/images/icons/hyvor-talk/png/hyvor-logo.24x24.jpg +0 -0
  205. data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +1 -1
  206. data/lib/starter_web/assets/images/icons/j1/jpg/j1-256x256.jpg +0 -0
  207. data/lib/starter_web/assets/images/icons/j1/jpg/j1-512x512.jpg +0 -0
  208. data/lib/starter_web/assets/images/icons/j1/jpg/j1-64x64.jpg +0 -0
  209. data/lib/starter_web/assets/images/icons/j1/png/j1-256x256.png +0 -0
  210. data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg +0 -0
  211. data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg.png +0 -0
  212. data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.png +0 -0
  213. data/lib/starter_web/assets/images/icons/j1/png/j1-64x64.png +0 -0
  214. data/lib/starter_web/assets/images/icons/j1/scalable/j1.svg +1 -1
  215. data/lib/starter_web/assets/images/icons/mdi/mdi.svg +1 -0
  216. data/lib/starter_web/assets/images/icons/mdi/mdil.svg +1 -0
  217. data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
  218. data/lib/starter_web/assets/images/modules/attics/1920x1280/alina-grubnyak.jpg +0 -0
  219. data/lib/starter_web/assets/images/modules/attics/1920x1280/andrea-badino.jpg +0 -0
  220. data/lib/starter_web/assets/images/modules/attics/1920x1280/brad-neathery.jpg +0 -0
  221. data/lib/starter_web/assets/images/modules/attics/1920x1280/brigitta-schneiter.jpg +0 -0
  222. data/lib/starter_web/assets/images/modules/attics/1920x1280/bruno-figueiredo.jpg +0 -0
  223. data/lib/starter_web/assets/images/modules/attics/1920x1280/clem-onojeghuo.jpg +0 -0
  224. data/lib/starter_web/assets/images/modules/attics/1920x1280/core_web_vitals_best.png +0 -0
  225. data/lib/starter_web/assets/images/modules/attics/1920x1280/crawford-jolly.jpg +0 -0
  226. data/lib/starter_web/assets/images/modules/attics/1920x1280/eleni-afiontzi.jpg +0 -0
  227. data/lib/starter_web/assets/images/modules/attics/1920x1280/fly-d.jpg +0 -0
  228. data/lib/starter_web/assets/images/modules/attics/1920x1280/guillaume-bolduc.jpg +0 -0
  229. data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
  230. data/lib/starter_web/assets/images/modules/attics/1920x1280/hayden-mills-2.jpg +0 -0
  231. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-1.jpg +0 -0
  232. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-2.jpg +0 -0
  233. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-3.jpg +0 -0
  234. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-starter-mockup-1.jpg +0 -0
  235. data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
  236. data/lib/starter_web/assets/images/modules/attics/1920x1280/josep-martins.jpg +0 -0
  237. data/lib/starter_web/assets/images/modules/attics/1920x1280/josh-liu.jpg +0 -0
  238. data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
  239. data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
  240. data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.jpg +0 -0
  241. data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.webp +0 -0
  242. data/lib/starter_web/assets/images/modules/attics/1920x1280/matthaeus.jpg +0 -0
  243. data/lib/starter_web/assets/images/modules/attics/1920x1280/melanie-deziel.jpg +0 -0
  244. data/lib/starter_web/assets/images/modules/attics/1920x1280/milad-fakurian.jpg +0 -0
  245. data/lib/starter_web/assets/images/modules/attics/1920x1280/mohammad-rahmani.jpg +0 -0
  246. data/lib/starter_web/assets/images/modules/attics/1920x1280/nasa.jpg +0 -0
  247. data/lib/starter_web/assets/images/modules/attics/1920x1280/quino-al-2.jpg +0 -0
  248. data/lib/starter_web/assets/images/modules/attics/1920x1280/recha-oktaviani.jpg +0 -0
  249. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280.jpg +0 -0
  250. data/lib/starter_web/assets/images/modules/attics/christina-1920x1280.jpg +0 -0
  251. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200.jpg +0 -0
  252. data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
  253. data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +1 -1
  254. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.jpg +0 -0
  255. data/lib/starter_web/assets/images/pages/core_web_vitals/200-create-a-link-1.jpg +0 -0
  256. data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.jpg +0 -0
  257. data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.jpg +0 -0
  258. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.jpg +0 -0
  259. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
  260. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
  261. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
  262. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
  263. data/lib/starter_web/assets/images/pages/html_validator/appdevtools-html-validator.jpg +0 -0
  264. data/lib/starter_web/assets/images/pages/html_validator/freeformatter-html-validator.jpg +0 -0
  265. data/lib/starter_web/assets/images/pages/html_validator/w3c-nu-checker.jpg +0 -0
  266. data/lib/starter_web/assets/images/pages/html_validator/w3c-validator.jpg +0 -0
  267. data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.jpg +0 -0
  268. data/lib/starter_web/assets/images/posts/featured/jamstack-generators.jpg +0 -0
  269. data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.jpg +0 -0
  270. data/lib/starter_web/assets/images/posts/featured/jekyll.jpg +0 -0
  271. data/lib/starter_web/assets/images/posts/featured/static-web-access.jpg +0 -0
  272. data/lib/starter_web/assets/images/promo/home/screenshot.jpg +0 -0
  273. data/lib/starter_web/assets/images/quotes/promo/home/screenshot.jpg +0 -0
  274. data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-faq.jpg +0 -0
  275. data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-generator.jpg +0 -0
  276. data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-generator.png +0 -0
  277. data/lib/starter_web/assets/images/quotes/promo/jekyll/jekyll-og.png +0 -0
  278. data/lib/starter_web/assets/images/quotes/promo/jekyll/scalable/jekyll-faq.psd +0 -0
  279. data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +8 -9
  280. data/lib/starter_web/collections/_biography/becoming.adoc +23 -10
  281. data/lib/starter_web/collections/_biography/born-to-run.adoc +28 -10
  282. data/lib/starter_web/collections/_biography/forty-autumns.adoc +20 -13
  283. data/lib/starter_web/collections/_biography/not-dead-yet.adoc +25 -15
  284. data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +24 -15
  285. data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +25 -12
  286. data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -10
  287. data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +11 -8
  288. data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +32 -8
  289. data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +17 -14
  290. data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +27 -13
  291. data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +38 -15
  292. data/lib/starter_web/collections/_people/diana-petersen.adoc +2 -0
  293. data/lib/starter_web/collections/_people/larry-parker.adoc +2 -0
  294. data/lib/starter_web/collections/_people/parveen-anand.adoc +2 -0
  295. data/lib/starter_web/collections/_portfolio/branding.adoc +5 -0
  296. data/lib/starter_web/collections/_portfolio/graphic_design.adoc +5 -0
  297. data/lib/starter_web/collections/_portfolio/identity.adoc +5 -0
  298. data/lib/starter_web/collections/_portfolio/illustration.adoc +5 -0
  299. data/lib/starter_web/collections/_portfolio/photography.adoc +5 -0
  300. data/lib/starter_web/collections/_portfolio/web_design.adoc +5 -0
  301. data/lib/starter_web/collections/_romance/{breath-of-snow-and-ashes-a.adoc → breath-of-snow-and-ashes.adoc} +20 -5
  302. data/lib/starter_web/collections/_romance/dressmaker-the.adoc +26 -14
  303. data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +12 -9
  304. data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +14 -11
  305. data/lib/starter_web/collections/_romance/outlander-novel.adoc +48 -25
  306. data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +30 -15
  307. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +4 -2
  308. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +4 -1
  309. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +5 -3
  310. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +4 -1
  311. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  312. data/lib/starter_web/index.html +1 -18
  313. data/lib/starter_web/package.json +3 -3
  314. data/lib/starter_web/pages/public/about/features.adoc +1 -1
  315. data/lib/starter_web/pages/public/about/reporting_issues.adoc +1 -1
  316. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +1 -1
  317. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -1
  318. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +4 -4
  319. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -2
  320. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +1 -1
  321. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
  322. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
  323. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
  324. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +75 -65
  325. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +58 -0
  326. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/accordion.asciidoc +34 -0
  327. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/alerts.asciidoc +15 -0
  328. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/badges.asciidoc +9 -0
  329. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/body.asciidoc +14 -0
  330. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/breadcrumbs.asciidoc +14 -0
  331. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/buttons.asciidoc +75 -0
  332. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/cards.asciidoc +22 -0
  333. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/carousel.asciidoc +37 -0
  334. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/close.asciidoc +15 -0
  335. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/code.asciidoc +14 -0
  336. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/color_system.asciidoc +353 -0
  337. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/components.asciidoc +69 -0
  338. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/dropdowns.asciidoc +53 -0
  339. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/figures.asciidoc +5 -0
  340. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/forms.asciidoc +270 -0
  341. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/grid.asciidoc +49 -0
  342. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/links.asciidoc +21 -0
  343. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/list_groups.asciidoc +28 -0
  344. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/modals.asciidoc +43 -0
  345. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navbar.asciidoc +45 -0
  346. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navs.asciidoc +28 -0
  347. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/offcanvas.asciidoc +16 -0
  348. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/options.asciidoc +30 -0
  349. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/pagination.asciidoc +40 -0
  350. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/paragraph.asciidoc +5 -0
  351. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/placeholders.asciidoc +5 -0
  352. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/popovers.asciidoc +28 -0
  353. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/position.asciidoc +8 -0
  354. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/progress_bars.asciidoc +12 -0
  355. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spacing.asciidoc +14 -0
  356. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spinners.asciidoc +12 -0
  357. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tables.asciidoc +55 -0
  358. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/thumbnails.asciidoc +9 -0
  359. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/toasts.asciidoc +18 -0
  360. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tooltips.asciidoc +28 -0
  361. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/typography.asciidoc +115 -0
  362. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/z_index.asciidoc +26 -0
  363. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/_table.asciidoc +9 -0
  364. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/accordion.asciidoc +87 -0
  365. data/lib/starter_web/pages/public/learn/bs_sass_variables/bs_sass_variables.adoc +262 -0
  366. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +59 -0
  367. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/100_chapter.asciidoc +541 -0
  368. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/200_chapter.asciidoc +33 -0
  369. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/build_command_options.asciidoc +72 -0
  370. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/files_and_folders.asciidoc +66 -0
  371. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_configuration_options.asciidoc +63 -0
  372. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_variables.asciidoc +26 -0
  373. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/page_variables.asciidoc +54 -0
  374. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/serve_command_options.asciidoc +45 -0
  375. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/site_variables.asciidoc +59 -0
  376. data/lib/starter_web/pages/public/learn/core_web_vitals/core_web_vitals.adoc +442 -0
  377. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.0.asciidoc +112 -0
  378. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
  379. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +3 -4
  380. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +1 -1
  381. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +2 -2
  382. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -10
  383. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +35 -4
  384. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +3 -3
  385. data/lib/starter_web/pages/public/learn/where_to_go.adoc +41 -49
  386. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +2 -2
  387. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -2
  388. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -2
  389. data/lib/starter_web/pages/public/tools/cheatsheet/gem.adoc +255 -0
  390. data/lib/starter_web/pages/public/tools/cheatsheet/git.adoc +1458 -0
  391. data/lib/starter_web/pages/public/tools/cheatsheet/j1.adoc +63 -0
  392. data/lib/starter_web/pages/public/tools/cheatsheet/yaml.adoc +514 -0
  393. data/lib/starter_web/pages/public/{previewer → tools/previewer}/preview_bootstrap_theme.adoc +94 -5
  394. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  395. data/lib/starter_web/utilsrv/package.json +1 -1
  396. metadata +169 -60
  397. data/_includes/themes/j1/modules/ads/google_ad_content_home.html +0 -11
  398. data/_includes/themes/j1/modules/ads/google_ad_top_home.html +0 -11
  399. data/assets/themes/j1/core/css/nbinteract-tutorial/styles.css +0 -1711
  400. data/assets/themes/j1/core/css/nbinteract-tutorial/styles.min.css +0 -1
  401. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +0 -127
  402. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +0 -460
  403. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +0 -97
  404. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +0 -15
  405. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +0 -115
  406. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +0 -15
  407. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +0 -97
  408. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +0 -15
  409. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +0 -125
  410. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +0 -15
  411. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +0 -11
  412. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +0 -11
  413. data/lib/starter_web/assets/images/icons/j1/j1-256x256.gif +0 -0
  414. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
  415. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
  416. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
  417. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
  418. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
  419. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
  420. data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.jpg +0 -0
  421. data/lib/starter_web/assets/images/pages/nbinteract/jupyterlab-architecture.jpg +0 -0
  422. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  423. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  424. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi-textbook-example.jpg +0 -0
  425. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  426. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  427. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  428. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  429. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  430. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  431. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  432. data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
  433. data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.png +0 -0
  434. data/lib/starter_web/assets/images/posts/featured/jamstack-generators.png +0 -0
  435. data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.png +0 -0
  436. data/lib/starter_web/assets/images/posts/featured/jekyll.png +0 -0
  437. data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
  438. data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
  439. data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
  440. data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
  441. data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
  442. data/lib/starter_web/assets/images/posts/featured/static-web-access.png +0 -0
  443. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +0 -118
  444. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +0 -118
  445. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +0 -118
  446. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +0 -117
  447. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +0 -117
  448. /data/lib/starter_web/assets/images/badges/{configBinder.png → png/configBinder.png} +0 -0
  449. /data/lib/starter_web/assets/images/badges/{docsBinder.png → png/docsBinder.png} +0 -0
  450. /data/lib/starter_web/assets/images/badges/{notebookBinder.png → png/notebookBinder.png} +0 -0
  451. /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.24x24.png → png/hyvor-logo.24x24.png} +0 -0
  452. /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.512x512.png → png/hyvor-logo.512x512.png} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a74dfdbda3c10cbb34270288670b6ab4a0c7a3742ca27895781f348f9f439b96
4
- data.tar.gz: c79c2cd6252a8861540f5de4cc945ba7a28993f0c3e925615181e34442b196e5
3
+ metadata.gz: e4e546edd3d0fb0df50cb026c9a0fbfecefe67f9e27ab2b3e1197fede65c9c6a
4
+ data.tar.gz: 4e9f703964a634cdd1c6df8f60733e12a0f5bfe95d92936ba473e4828bc9419b
5
5
  SHA512:
6
- metadata.gz: 2e0c1e883782e6e12256664b0d5258fcd9c1db8b5ae2fb9eda58264bd54cc50b8866264049eb9e315e61c41164e1e3accebc8da0d4d64929cc94a25e2f2d43c4
7
- data.tar.gz: e800c90e080627cab7f107062c80e271f18d52bb4dd3057ee72c9618eea56d2e535c8da5f87c9d25581e4a55c59ab0230c0895f4729c83d9ffeeba75ae00c505
6
+ metadata.gz: 8b8a9a94213f6f7d4cbb096fc978d10d016133dcbe245da037abacabb31c6b0bc6b82aac08e0e65f28d502bc0c2e35c678fb08f1d92719c8902712c092600769
7
+ data.tar.gz: c7c8bd55790f676f51cff47bf5e42949c48e6a398527730f0f60d3b0b83be13d8c667e6abf4af71e5d3d8ccebd3893299449210c8dcc9b86c232de07fc2cd0e0
@@ -351,7 +351,7 @@
351
351
  <!-- End post group-->
352
352
  </div>
353
353
  {% endif %}
354
-
354
+ <div id="preview_content">
355
355
  {% if card_block == 'card-deck' %}
356
356
  <!-- [INFO ] [j1.layouts.content_generator_news_panel_posts.html ] [ card block detected: 'card-deck' ] -->
357
357
  <!-- Recent posts -->
@@ -428,6 +428,7 @@
428
428
  {% endfor %} {% endfor %}
429
429
  </div>
430
430
  {% endif %}
431
+ </div>
431
432
  <!-- End recent posts -->
432
433
  {% endfor %}
433
434
 
@@ -102,14 +102,14 @@
102
102
  <header class="bmd-layout-header">
103
103
  <!-- jadams, 2021-02-28 added mb-3 to the navbar -->
104
104
  <div class="navbar navbar-dark bg-primary raised-z0">
105
- <button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-bs-toggle="drawer" data-bs-target="#post_navigator" aria-label="drawer-toggler-button">
105
+ <button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-bs-toggle="drawer" data-bs-target="#post_navigator" aria-label="Series button">
106
106
  <span class="mdi mdi-menu mdi-2x"></span>
107
107
  </button>
108
108
  <ul class="nav navbar-nav">
109
109
  <li class="nav-item">
110
110
  <!-- jadams, 2021-08-04: modified displaying the series name -->
111
111
  <!-- span class="navbar-text">Series: {{page.series}}</span-->
112
- <span class="navbar-text mr-3">{{page.series|upcase}}</span>
112
+ <span class="navbar-text mr-3" style="color: #FFF;font-weight: 500;"><b>{{page.series|upcase}}</b></span>
113
113
  </li>
114
114
  </ul>
115
115
  </div>
@@ -60,32 +60,32 @@
60
60
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ start meta-data processing: place meta tags (taken from site config|page frontmatter) ] -->
61
61
 
62
62
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ page|content encoding ] -->
63
- <meta http-equiv="Content-Type" content="text/html;charset={{site.coding}}" />
63
+ <meta http-equiv="Content-Type" content="text/html;charset={{site.coding}}">
64
64
 
65
65
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ added for MS Edge Browser ] -->
66
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
67
67
 
68
68
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ initial zoom level when the page is first loaded by the browser ] -->
69
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
69
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
70
70
 
71
71
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ added version info for the templte ] -->
72
- <meta name="template version" content="{{site.version}}" />
72
+ <meta name="template version" content="{{site.version}}">
73
73
 
74
74
  {% if template_config.translation.enabled %}
75
75
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ add google translator meta tag to enable customized translations ] -->
76
- <meta name="translation" content="enabled" />
76
+ <meta name="translation" content="enabled">
77
77
  {% endif %}
78
78
 
79
79
  {% if template_config.translation.google %}
80
80
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ add google translator meta tag to enable customized translations ] -->
81
- <meta name="{{template_config.translation.google.meta_data}}" content="enabled" />
81
+ <meta name="{{template_config.translation.google.meta_data}}" content="enabled">
82
82
  {% endif %}
83
83
 
84
84
  {% if site.favicon.image %}
85
85
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ favicon for browser ] -->
86
- <link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}" />
86
+ <link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}">
87
87
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ favicon for the google crawler ] -->
88
- <link rel="shortcut icon" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}" />
88
+ <link rel="shortcut icon" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}">
89
89
  {% endif %}
90
90
 
91
91
  {% comment %} Check robot settings from site configuration
@@ -93,18 +93,18 @@
93
93
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Check robot settings from SITE configuration ] -->
94
94
  {% if site.robots.index and site.robots.index <> nil %}
95
95
  <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_index: {{site.robots.index}} ] -->
96
- {% capture robots_index %}<meta name="robots" content="index" />{% endcapture %}
96
+ {% capture robots_index %}<meta name="robots" content="index">{% endcapture %}
97
97
  {% else %}
98
98
  <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_index: noindex ] -->
99
- {% capture robots_index %}<meta name="robots" content="noindex" />{% endcapture %}
99
+ {% capture robots_index %}<meta name="robots" content="noindex">{% endcapture %}
100
100
  {% endif %}
101
101
 
102
102
  {% if site.robots.follow and site.robots.follow <> nil %}
103
103
  <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_follow: {{site.robots.index}} ] -->
104
- {% capture robots_follow %}<meta name="robots" content="follow" />{% endcapture %}
104
+ {% capture robots_follow %}<meta name="robots" content="follow">{% endcapture %}
105
105
  {% else %}
106
106
  <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_follow: nofollow ] -->
107
- {% capture robots_follow %}<meta name="robots" content="nofollow" />{% endcapture %}
107
+ {% capture robots_follow %}<meta name="robots" content="nofollow">{% endcapture %}
108
108
  {% endif %}
109
109
 
110
110
  {% comment %} page.robots.index: {{ page.robots.index | debug }} {% endcomment %}
@@ -115,19 +115,19 @@
115
115
  <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_index: {{page.robots.index}} ] -->
116
116
  <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_follow: {{page.robots.follow}} ] -->
117
117
  {% if page.robots.index %}
118
- {% capture robots_index %}<meta name="robots" content="index" />{% endcapture %}
118
+ {% capture robots_index %}<meta name="robots" content="index">{% endcapture %}
119
119
  {% endif %}
120
120
 
121
121
  {% if page.robots.index == false %}
122
- {% capture robots_index %}<meta name="robots" content="noindex" />{% endcapture %}
122
+ {% capture robots_index %}<meta name="robots" content="noindex">{% endcapture %}
123
123
  {% endif %}
124
124
 
125
125
  {% if page.robots.follow %}
126
- {% capture robots_follow %}<meta name="robots" content="follow" />{% endcapture %}
126
+ {% capture robots_follow %}<meta name="robots" content="follow">{% endcapture %}
127
127
  {% endif %}
128
128
 
129
129
  {% if page.robots.follow == false %}
130
- {% capture robots_follow %}<meta name="robots" content="nofollow" />{% endcapture %}
130
+ {% capture robots_follow %}<meta name="robots" content="nofollow">{% endcapture %}
131
131
  {% endif %}
132
132
 
133
133
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Place detected/overloaded meta tags for robots ] -->
@@ -136,63 +136,63 @@
136
136
 
137
137
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: analytics ] -->
138
138
  {% if page.analytics and site.data.j1_config.analytics.enabled %}
139
- {% capture analytics %}<meta name="analytics" content="true" />{% endcapture %}
139
+ {% capture analytics %}<meta name="analytics" content="true">{% endcapture %}
140
140
  {% else %}
141
- {% capture analytics %}<meta name="analytics" content="false" />{% endcapture %}
141
+ {% capture analytics %}<meta name="analytics" content="false">{% endcapture %}
142
142
  {% endif %}
143
143
 
144
144
  {{analytics}}
145
145
 
146
146
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: comments ] -->
147
147
  {% if page.comments and site.data.j1_config.comments.enabled %}
148
- {% capture comments %}<meta name="comments" content="true" />{% endcapture %}
148
+ {% capture comments %}<meta name="comments" content="true">{% endcapture %}
149
149
  {% else %}
150
- {% capture comments %}<meta name="comments" content="false" />{% endcapture %}
150
+ {% capture comments %}<meta name="comments" content="false">{% endcapture %}
151
151
  {% endif %}
152
152
 
153
153
  {{comments}}
154
154
 
155
155
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
156
156
  {% if page.advertising and site.data.j1_config.advertising.enabled %}
157
- {% capture advertising %}<meta name="advertising" content="true" />{% endcapture %}
157
+ {% capture advertising %}<meta name="advertising" content="true">{% endcapture %}
158
158
  {% else %}
159
- {% capture advertising %}<meta name="advertising" content="false" />{% endcapture %}
159
+ {% capture advertising %}<meta name="advertising" content="false">{% endcapture %}
160
160
  {% endif %}
161
161
 
162
162
  {{advertising}}
163
163
 
164
164
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
165
165
  {% if page.translation and site.data.j1_config.translation.enabled %}
166
- {% capture translation %}<meta name="translation" content="true" />{% endcapture %}
166
+ {% capture translation %}<meta name="translation" content="true">{% endcapture %}
167
167
  {% else %}
168
- {% capture translation %}<meta name="translation" content="false" />{% endcapture %}
168
+ {% capture translation %}<meta name="translation" content="false">{% endcapture %}
169
169
  {% endif %}
170
170
 
171
171
  {{translation}}
172
172
 
173
173
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: youtube ] -->
174
174
  {% if page.youtube %}
175
- {% capture youtube %}<meta name="youtube" content="true" />{% endcapture %}
175
+ {% capture youtube %}<meta name="youtube" content="true">{% endcapture %}
176
176
  {% else %}
177
- {% capture youtube %}<meta name="youtube" content="false" />{% endcapture %}
177
+ {% capture youtube %}<meta name="youtube" content="false">{% endcapture %}
178
178
  {% endif %}
179
179
 
180
180
  {{youtube}}
181
181
 
182
182
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: vimeo ] -->
183
183
  {% if page.vimeo %}
184
- {% capture vimeo %}<meta name="vimeo" content="true" />{% endcapture %}
184
+ {% capture vimeo %}<meta name="vimeo" content="true">{% endcapture %}
185
185
  {% else %}
186
- {% capture vimeo %}<meta name="vimeo" content="false" />{% endcapture %}
186
+ {% capture vimeo %}<meta name="vimeo" content="false">{% endcapture %}
187
187
  {% endif %}
188
188
 
189
189
  {{vimeo}}
190
190
 
191
191
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for privacy settings: personalization ] -->
192
192
  {% if page.personalization %}
193
- {% capture personalization %}<meta name="personalization" content="true" />{% endcapture %}
193
+ {% capture personalization %}<meta name="personalization" content="true">{% endcapture %}
194
194
  {% else %}
195
- {% capture personalization %}<meta name="personalization" content="false" />{% endcapture %}
195
+ {% capture personalization %}<meta name="personalization" content="false">{% endcapture %}
196
196
  {% endif %}
197
197
 
198
198
  {{personalization}}
@@ -216,7 +216,7 @@
216
216
  {% assign cors = template_config.preload.font.cors %}
217
217
  {% assign fonts = template_config.preload.font.fonts %}
218
218
  {% for font in fonts %}
219
- <link rel="preload" as="font" href="{{font}}" {{cors}} />
219
+ <link rel="preload" as="font" href="{{font}}" {{cors}}>
220
220
  {% endfor %}
221
221
  {% else %}
222
222
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of fonts: disabled ] -->
@@ -231,12 +231,12 @@
231
231
  {% assign css = template_config.preload.css.css %}
232
232
  {% assign files = template_config.preload.css.files %}
233
233
  {% for file in css %}
234
- <link rel="preload" as="style" href="{{file}}.{{ext_css}}" />
234
+ <link rel="preload" as="style" href="{{file}}.{{ext_css}}">
235
235
  {% endfor %}
236
236
 
237
237
  {% for file in files %}
238
238
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD css as FILE ] -->
239
- <link rel="preload" as="style" href="{{file}}" />
239
+ <link rel="preload" as="style" href="{{file}}">
240
240
  {% endfor %}
241
241
  {% else %}
242
242
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of css: disabled ] -->
@@ -251,12 +251,12 @@
251
251
  {% assign js = template_config.preload.js.js %}
252
252
  {% assign files = template_config.preload.js.files %}
253
253
  {% for file in js %}
254
- <link rel="preload" as="script" href="{{file}}.{{ext_js}}" />
254
+ <link rel="preload" as="script" href="{{file}}.{{ext_js}}">
255
255
  {% endfor %}
256
256
 
257
257
  {% for file in files %}
258
258
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD js as FILE ] -->
259
- <link rel="preload" as="script" href="{{file}}" />
259
+ <link rel="preload" as="script" href="{{file}}">
260
260
  {% endfor %}
261
261
  {% else %}
262
262
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of js: disabled ] -->
@@ -270,7 +270,7 @@
270
270
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of images to prioritize fetching ] -->
271
271
  {% assign files = template_config.preload.image.files %}
272
272
  {% for file in files %}
273
- <link rel="preload" as="image" href="{{file}}" />
273
+ <link rel="preload" as="image" href="{{file}}">
274
274
  {% endfor %}
275
275
  {% else %}
276
276
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of images: disabled ] -->
@@ -285,8 +285,8 @@
285
285
  {% assign urls = template_config.preconnect.urls %}
286
286
  {% for url in urls %}
287
287
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ establish early connection: {{url}} ] -->
288
- <link rel="dns-prefetch" href="{{url}}" />
289
- <link rel="preconnect" href="{{url}}" />
288
+ <link rel="dns-prefetch" href="{{url}}">
289
+ <link rel="preconnect" href="{{url}}">
290
290
  {% endfor %}
291
291
  {% else %}
292
292
  <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRECONNECT remote URLs: disabled ] -->
@@ -34,7 +34,7 @@ box_hash: {{box | debug}}
34
34
  <!-- [INFO ] [about_box.proc ] [ place about box ] -->
35
35
  <div class="col-md-{{footer_box_width_md}}">
36
36
  <!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
37
- <h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
37
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
38
38
  <p class="tagline mb-0">
39
39
  <large>{{tagline}}</large>
40
40
  </p>
@@ -49,7 +49,7 @@
49
49
  <!-- [INFO ] [j1.assets.data.footer ] [Found ContactsBox. Process ContactsBox] -->
50
50
  <div class="col-md-{{footer_box_width_md}}"> <!-- ContactsBox -->
51
51
 
52
- <h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
52
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
53
53
  <p class="tagline mb-0"> <large>{{tagline}}</large> </p>
54
54
  <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
55
55
 
@@ -56,5 +56,5 @@ footer_options.issue: {{footer_options.issue | debug}}
56
56
  <!-- [INFO ] [issue.proc ] [ issue date information ] -->
57
57
  {% if footer_options.issue.enabled %}
58
58
  <!-- [INFO ] [issue.proc ] [ place issue ] -->
59
- <p style="color: rgba(255, 255, 255, 0.5)">{{modified}}</p>
59
+ <p class="footer-issue">{{modified}}</p>
60
60
  {% endif %}
@@ -32,7 +32,7 @@
32
32
  <!-- [INFO ] [links_box.proc ] [ place links box ] -->
33
33
  <div class="col-md-{{footer_box_width_md}}">
34
34
 
35
- <h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
35
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
36
36
  <p class="tagline mb-0"> <large>{{tagline}}</large> </p>
37
37
  <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
38
38
 
@@ -48,7 +48,7 @@
48
48
  <!-- [INFO ] [news_box.proc ] [ place news box ] -->
49
49
  <div class="col-md-{{footer_box_width_md}}">
50
50
 
51
- <h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
51
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
52
52
  <p class="tagline mb-0"> <large>{{tagline}}</large> </p>
53
53
  <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
54
54
 
@@ -135,7 +135,7 @@
135
135
  configuration of this page ({{page.title}}). Check the
136
136
  (page) layout config file for the unsupported region. A
137
137
  line contains something wrong like:
138
- <br /><br /> <i>region: {{region}}</i><br /><br />
138
+ <br><br> <i>region: {{region}}</i><br><br>
139
139
  Have a look at:
140
140
  </div>
141
141
  <div class="mb-5">
@@ -158,5 +158,3 @@
158
158
  <!-- [DEBUG ] [j1.layout.default_writer.proc ] [ reset all lane items ] -->
159
159
  <!-- [INFO ] [j1.layout.default_writer.proc ] [ end processing ] -->
160
160
  {% assign items = nil %}
161
-
162
-
@@ -127,10 +127,6 @@ NO need to load this again
127
127
  <!-- [INFO ] [j1.layout.module_writer.proc ] [ place J1 adapter for resource: {{resource_settings.id}} ] -->
128
128
  <script>
129
129
  $(function() {
130
- var logger = log4javascript.getLogger("j1.module_loader");
131
- var log_text = '{{resource_settings.comment|strip}} is being initialized';
132
- logger.info(log_text);
133
-
134
130
  {% comment %} place initializer|s
135
131
  -------------------------------------------------------------------- {% endcomment %}
136
132
  {% for init_function in data_value %}
@@ -150,20 +146,16 @@ NO need to load this again
150
146
  var max_count = {{dependency_check_max_count}};
151
147
  interval_count += 1;
152
148
  if ( {{depends}} ) {
153
- {{init_function}}( settings );
154
- logger.info('dependencies of module {{resource_settings.id}} met for: {{resource_settings.dependencies}}');
155
- logger.debug('dependencies of module {{resource_settings.id}} met after: ' + interval_count * {{dependency_check_cycle}} + ' ms');
149
+ {{init_function}} (settings);
156
150
  clearInterval(dependencies_met_{{resource_settings.id}});
157
151
  }
158
152
  if (interval_count > max_count) {
159
- logger.warn('dependency check failed for module: {{resource_settings.id}}');
160
153
  clearInterval(dependencies_met_{{resource_settings.id}});
161
- logger.warn('run initializer {{resource_settings.id}} unchecked for: {{resource_settings.dependencies}}');
162
- {{init_function}}(settings);
154
+ {{init_function}} (settings);
163
155
  }
164
156
  }, {{dependency_check_cycle}});
165
157
  {% else %}
166
- {{init_function}}(settings);
158
+ {{init_function}} (settings);
167
159
  {% endif %}
168
160
  {% else %}
169
161
  {% comment %} no module specific frontmatter options
@@ -186,20 +178,16 @@ NO need to load this again
186
178
  var dependencies_met_{{resource_settings.id}} = setInterval(function() {
187
179
  interval_count += 1;
188
180
  if ( {{depends}} ) {
189
- {{init_function}}(settings);
190
- logger.info('dependencies of module {{resource_settings.id}} met for: {{resource_settings.dependencies}}');
191
- logger.debug('dependencies of module {{resource_settings.id}} met after: ' + interval_count * {{dependency_check_cycle}} + ' ms');
181
+ {{init_function}} (settings);
192
182
  clearInterval(dependencies_met_{{resource_settings.id}});
193
183
  }
194
184
  if (interval_count > max_count) {
195
- logger.warn('dependency check failed for module: {{resource_settings.id}}');
196
185
  clearInterval(dependencies_met_{{resource_settings.id}});
197
- logger.warn('run initializer {{resource_settings.id}} unchecked for: {{resource_settings.dependencies}}');
198
- {{init_function}}(settings);
186
+ {{init_function}} (settings);
199
187
  }
200
188
  }, {{dependency_check_cycle}});
201
189
  {% else %}
202
- {{init_function}}(settings);
190
+ {{init_function}} (settings);
203
191
  {% endif %}
204
192
  {% else %}
205
193
  {% comment %} no default settings
@@ -212,16 +200,12 @@ NO need to load this again
212
200
  var max_count = {{dependency_check_max_count}};
213
201
  var dependencies_met_{{resource_settings.id}} = setInterval(function() {
214
202
  interval_count += 1;
215
- if ( {{depends}} ) {
203
+ if ({{depends}}) {
216
204
  {{init_function}}();
217
- logger.info('dependencies of module {{resource_settings.id}} met for: {{resource_settings.dependencies}}');
218
- logger.debug('dependencies of module {{resource_settings.id}} met after: ' + interval_count * {{dependency_check_cycle}} + ' ms');
219
205
  clearInterval(dependencies_met_{{resource_settings.id}});
220
206
  }
221
207
  if (interval_count > max_count) {
222
- logger.warn('dependency check failed for module: {{resource_settings.id}}');
223
208
  clearInterval(dependencies_met_{{resource_settings.id}});
224
- logger.warn('run initializer {{resource_settings.id}} unchecked for: {{resource_settings.dependencies}}');
225
209
  {{init_function}}();
226
210
  }
227
211
  }, {{dependency_check_cycle}});
@@ -120,18 +120,18 @@
120
120
  {% endif %}
121
121
  {% when 'css' %}
122
122
  {% if url_detected > 1 %}
123
- <link rel="stylesheet" href="{{file}}" />
123
+ <link rel="stylesheet" href="{{file}}">
124
124
  {% else %}
125
- <link rel="stylesheet" href="{{base_path}}/{{file}}" />
125
+ <link rel="stylesheet" href="{{base_path}}/{{file}}">
126
126
  {% endif %}
127
127
  {% else %}
128
128
  <--! UNKNOWN resource type detected for: "{{file}}" -->
129
129
  {% endcase %}
130
130
  {% else %}
131
131
  {% if url_detected > 1 %}
132
- <link rel="stylesheet" href="{{file}}" />
132
+ <link rel="stylesheet" href="{{file}}">
133
133
  {% else %}
134
- <link rel="stylesheet" href="{{base_path}}/{{file}}" />
134
+ <link rel="stylesheet" href="{{base_path}}/{{file}}">
135
135
  {% endif %}
136
136
  {% endif %}
137
137
 
@@ -150,11 +150,11 @@
150
150
  {% assign my_location = {{location_source}} %}
151
151
 
152
152
  {% if environment == 'development' %}
153
- {% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.css" /> {% endif %}
154
- {% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.css" /> {% endif %}
153
+ {% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.css"> {% endif %}
154
+ {% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.css"> {% endif %}
155
155
  {% else %}
156
- {% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.min.css" /> {% endif %}
157
- {% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.min.css" /> {% endif %}
156
+ {% if location == 'remote' %} <link rel="stylesheet" href="{{my_location}}.min.css"> {% endif %}
157
+ {% if location == 'local' %} <link rel="stylesheet" href="{{my_location}}.min.css"> {% endif %}
158
158
  {% endif %}
159
159
 
160
160
  {% endfor %}
@@ -74,7 +74,7 @@
74
74
  <h4 id="blog_series_list" class="notoc mt-2 mr-2 mb-4">{{series_heading}}</h4>
75
75
  <ul class="side-nav" style="width: calc(100% - 15px)">
76
76
  {% endcapture %}
77
- {% for post in site.posts reversed %}
77
+ {% for post in site.posts %}
78
78
  {% if post.series == page.series %}
79
79
  {% assign count = count | plus: 1 %}
80
80
  {% if post.url == page.url %}
@@ -25,6 +25,10 @@
25
25
  # DEFAULT for all content layouts to compress the HTML for all pages
26
26
  # generated. NO other layout are inherited by Compress.
27
27
  # -----------------------------------------------------------------------------
28
+ # NOTE:
29
+ # Output whitespace control: '%-' and '-%'for all liquid markups to strip
30
+ # blank lines from the rendered HTML.
31
+ # -----------------------------------------------------------------------------
28
32
  # NOTE:
29
33
  # Compress is only used for PRODUCTION mode.
30
34
  # -----------------------------------------------------------------------------
@@ -34,29 +38,30 @@
34
38
  # -----------------------------------------------------------------------------
35
39
  {% endcomment %}
36
40
 
37
- {% assign environment = site.environment %}
41
+ {%- assign environment = site.environment -%}
42
+
43
+ {%- if page.compress -%}
44
+ {%- assign compress_page = 'enabled' -%}
45
+ {%- else -%}
46
+ {%- assign compress_page = 'disabled' -%}
47
+ {%- endif -%}
38
48
 
39
- {% if page.compress %}
40
- {% assign compress_page = 'enabled' %}
41
- {% else %}
42
- {% assign compress_page = 'disabled' %}
43
- {% endif %}
49
+ {%- case environment -%}
44
50
 
45
- {% case environment %}
51
+ {% comment %} PRODUCTION mode (compress)
52
+ ------------------------------------------------------------------------------ {% endcomment %}
53
+ {%- when 'production' or 'prod' -%}
46
54
 
47
- {% comment %} PRODUCTION mode (compress)
48
- ---------------------------------------------------------------------------- {% endcomment %}
49
- {% when 'production' or 'prod' %}
55
+ {%- if compress_page == 'enabled' -%}
56
+ {% capture _LINE_FEED %}
57
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% 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>{{ content | 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 %}
58
+ {%- else -%}
59
+ {{content|strip_empty_lines}}
60
+ {%- endif -%}
50
61
 
51
- {% if compress_page == 'enabled' %}
52
- {% capture _LINE_FEED %}
53
- {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% 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>{{ content | 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 %}
54
- {% else %}
55
- {{content|strip_empty_lines}}
56
- {% endif %}
62
+ {% comment %} ALL OTHER modes (no compression)
63
+ ----------------------------------------------------------------------------- {% endcomment %}
64
+ {%- else -%}
65
+ {{content|strip_empty_lines}}
57
66
 
58
- {% comment %} ALL OTHER modes (no compression)
59
- --------------------------------------------------------------------------- {% endcomment %}
60
- {% else %}
61
- {{content|strip_empty_lines}}
62
- {% endcase %}
67
+ {%- endcase -%}