j1-template 2020.0.22 → 2021.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (563) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/_includes/themes/j1/blocks/ads/ad.html +1 -1
  4. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +1 -1
  5. data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +1 -1
  6. data/_includes/themes/j1/blocks/footer/boxes/issue.proc +1 -1
  7. data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +1 -1
  8. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -1
  9. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +1 -1
  10. data/_includes/themes/j1/blocks/footer/boxes/social_media_icons.proc +1 -1
  11. data/_includes/themes/j1/blocks/footer/generator.html +1 -1
  12. data/_includes/themes/j1/layouts/content_generator_app.html +1 -1
  13. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +10 -10
  14. data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
  15. data/_includes/themes/j1/layouts/content_generator_page.html +2 -2
  16. data/_includes/themes/j1/layouts/content_generator_post.html +64 -162
  17. data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
  18. data/_includes/themes/j1/layouts/layout_metadata_generator.html +12 -12
  19. data/_includes/themes/j1/layouts/layout_module_generator.html +1 -1
  20. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -1
  21. data/_includes/themes/j1/modules/attics/generator.html +2 -2
  22. data/_includes/themes/j1/modules/boards/news_pin_board.html +1 -1
  23. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +1 -1
  24. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +15 -1
  25. data/_includes/themes/j1/modules/connectors/ads +1 -1
  26. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +1 -1
  27. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +2 -4
  28. data/_includes/themes/j1/modules/connectors/analytics +1 -1
  29. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +1 -1
  30. data/_includes/themes/j1/modules/connectors/comment/disqus.html +38 -25
  31. data/_includes/themes/j1/modules/connectors/comment/facebook.html +1 -1
  32. data/_includes/themes/j1/modules/connectors/comments +1 -1
  33. data/_includes/themes/j1/modules/connectors/sharing +1 -1
  34. data/_includes/themes/j1/modules/connectors/translator +1 -1
  35. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +1 -1
  36. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +1 -1
  37. data/_includes/themes/j1/modules/navigator/generator.html +9 -4
  38. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +37 -27
  39. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
  40. data/_includes/themes/j1/procedures/global/attributes_loader.proc +1 -1
  41. data/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc +1 -1
  42. data/_includes/themes/j1/procedures/global/collect_page_options.proc +1 -1
  43. data/_includes/themes/j1/procedures/global/create_bs_button.proc +2 -2
  44. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +4 -2
  45. data/_includes/themes/j1/procedures/global/get_category.proc +1 -1
  46. data/_includes/themes/j1/procedures/global/get_category_item.proc +1 -1
  47. data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
  48. data/_includes/themes/j1/procedures/global/get_page_path.proc +1 -1
  49. data/_includes/themes/j1/procedures/global/get_page_url.proc +1 -1
  50. data/_includes/themes/j1/procedures/global/pager.proc +1 -1
  51. data/_includes/themes/j1/procedures/global/select_color.proc +1 -1
  52. data/_includes/themes/j1/procedures/global/select_font_size.proc +1 -1
  53. data/_includes/themes/j1/procedures/global/select_icon_size.proc +1 -1
  54. data/_includes/themes/j1/procedures/global/select_location.proc +1 -1
  55. data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +1 -1
  56. data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +1 -1
  57. data/_includes/themes/j1/procedures/global/set_image_block.proc +1 -1
  58. data/_includes/themes/j1/procedures/global/setup.proc +1 -1
  59. data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -1
  60. data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
  61. data/_includes/themes/j1/procedures/layouts/module_writer.proc +2 -2
  62. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +1 -1
  63. data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
  64. data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
  65. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +19 -18
  66. data/_includes/themes/j1/procedures/posts/create_ad_block.proc +1 -1
  67. data/_includes/themes/j1/procedures/posts/create_series_header.proc +10 -6
  68. data/_layouts/app.html +1 -1
  69. data/_layouts/blog_archive.html +1 -1
  70. data/_layouts/collection.html +1 -1
  71. data/_layouts/compress.html +1 -1
  72. data/_layouts/default.html +1 -1
  73. data/_layouts/home.html +1 -1
  74. data/_layouts/page.html +1 -1
  75. data/_layouts/paginator/autopage_category.html +1 -1
  76. data/_layouts/paginator/autopage_collection.html +1 -1
  77. data/_layouts/paginator/autopage_collections_tags.html +1 -1
  78. data/_layouts/paginator/autopage_tags.html +1 -1
  79. data/_layouts/post.html +1 -1
  80. data/_layouts/raw.html +1 -1
  81. data/apps/public/cc/cc.yml +1 -1
  82. data/assets/data/authclient.html +1 -1
  83. data/assets/data/banner.html +12 -13
  84. data/assets/data/carousel.json +8 -16
  85. data/assets/data/cookiebar.html +4 -4
  86. data/assets/data/fam.html +124 -0
  87. data/assets/data/footer.html +1 -1
  88. data/assets/data/galleries.json +1 -1
  89. data/assets/data/gallery_customizer.html +19 -7
  90. data/assets/data/mdi_icons.json +1 -1
  91. data/assets/data/menu.html +1 -1
  92. data/assets/data/mmenu.html +1 -1
  93. data/assets/data/mmenu_sidebar.html +4 -4
  94. data/assets/data/mmenu_toc.html +1 -1
  95. data/assets/data/panel.html +10 -10
  96. data/assets/data/quicklinks.html +16 -16
  97. data/assets/data/themes.json +1 -1
  98. data/assets/data/twa_v1.json +1 -1
  99. data/assets/error_pages/HTTP204.html +2 -1
  100. data/assets/error_pages/HTTP400.html +4 -3
  101. data/assets/error_pages/HTTP401.html +4 -3
  102. data/assets/error_pages/HTTP403.html +4 -3
  103. data/assets/error_pages/HTTP404.html +4 -3
  104. data/assets/error_pages/HTTP500.html +4 -3
  105. data/assets/error_pages/HTTP501.html +4 -3
  106. data/assets/error_pages/HTTP502.html +4 -3
  107. data/assets/error_pages/HTTP503.html +4 -3
  108. data/assets/error_pages/HTTP520.html +4 -3
  109. data/assets/error_pages/HTTP521.html +4 -3
  110. data/assets/error_pages/HTTP533.html +4 -3
  111. data/assets/themes/j1/adapter/js/algolia.js +2 -2
  112. data/assets/themes/j1/adapter/js/attic.js +3 -3
  113. data/assets/themes/j1/adapter/js/bmd.js +2 -2
  114. data/assets/themes/j1/adapter/js/carousel.js +401 -38
  115. data/assets/themes/j1/adapter/js/clipboard.js +2 -2
  116. data/assets/themes/j1/adapter/js/cookiebar.js +9 -2
  117. data/assets/themes/j1/adapter/js/{ssm.js → fam.js} +250 -140
  118. data/assets/themes/j1/adapter/js/framer.js +74 -58
  119. data/assets/themes/j1/adapter/js/gallery_customizer.js +4 -3
  120. data/assets/themes/j1/adapter/js/j1.js +38 -11
  121. data/assets/themes/j1/adapter/js/jf_gallery.js +4 -4
  122. data/assets/themes/j1/adapter/js/lightbox.js +2 -2
  123. data/assets/themes/j1/adapter/js/logger.js +2 -2
  124. data/assets/themes/j1/adapter/js/{searcher.js → lunr_search.js} +70 -67
  125. data/assets/themes/j1/adapter/js/mmenu.js +9 -7
  126. data/assets/themes/j1/adapter/js/navigator.js +2 -3
  127. data/assets/themes/j1/adapter/js/rouge.js +8 -6
  128. data/assets/themes/j1/adapter/js/rtable.js +6 -4
  129. data/assets/themes/j1/adapter/js/themer.js +55 -47
  130. data/assets/themes/j1/adapter/js/toccer.js +64 -32
  131. data/assets/themes/j1/core/css/animate.css +2 -2
  132. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +2 -2
  133. data/assets/themes/j1/core/css/icon-fonts/iconify.css +5 -5
  134. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +9 -9
  135. data/assets/themes/j1/core/css/icon-fonts/twemoji.css +6 -6
  136. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +8 -5
  137. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -2
  138. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +38 -35
  139. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +2 -2
  140. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +636 -511
  141. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +2 -2
  142. data/assets/themes/j1/core/css/vendor.css +19 -21
  143. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  144. data/assets/themes/j1/core/js/template.js +9 -19
  145. data/assets/themes/j1/core/js/template.js.map +1 -1
  146. data/assets/themes/j1/core/js/template.min.js +1 -1
  147. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1 -1
  148. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  149. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6 -0
  150. data/assets/themes/j1/modules/carousel/css/carousel.css +1 -1
  151. data/assets/themes/j1/modules/carousel/css/carousel.min.css +1 -1
  152. data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +1 -1
  153. data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +1 -1
  154. data/assets/themes/j1/modules/carousel/css/theme/uno.css +122 -83
  155. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +2 -2
  156. data/assets/themes/j1/modules/cash/js/cash.js +1374 -0
  157. data/assets/themes/j1/modules/cash/js/cash.min.js +42 -0
  158. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +3 -3
  159. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +2 -2
  160. data/assets/themes/j1/modules/fam/css/uno/fam.css +369 -0
  161. data/assets/themes/j1/modules/fam/js/fam.js +477 -0
  162. data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -21
  163. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +1 -1
  164. data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.js → resizer.js} +0 -0
  165. data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.map → resizer.map} +0 -0
  166. data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.min.js → resizer.min.js} +0 -0
  167. data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.css +443 -0
  168. data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +5 -0
  169. data/assets/themes/j1/modules/jquery/js/jqueryUI.js +18701 -0
  170. data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +13 -0
  171. data/assets/themes/j1/modules/jquery/js/require.js +2145 -0
  172. data/assets/themes/j1/modules/jquery/js/require.min.js +5 -0
  173. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/theme/uno.css +1 -1
  174. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/theme/uno.css +1 -1
  175. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +6 -5
  176. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +2 -2
  177. data/assets/themes/j1/modules/kofax.7z +0 -0
  178. data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +1 -1
  179. data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +1 -1
  180. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.js +1 -1
  181. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
  182. data/assets/themes/j1/modules/lightbox/LICENSE +22 -22
  183. data/assets/themes/j1/modules/lightbox/css/lightbox.css +1 -1
  184. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +1 -1
  185. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +1 -1
  186. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -1
  187. data/assets/themes/j1/modules/lightbox/js/lightbox.js +2 -2
  188. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
  189. data/assets/themes/j1/modules/lunrSearch/css/lunr_search.css +32 -0
  190. data/assets/themes/j1/modules/lunrSearch/css/lunr_search.min.css +32 -0
  191. data/assets/themes/j1/modules/lunrSearch/js/dateformat.js +125 -0
  192. data/assets/themes/j1/modules/lunrSearch/js/dateformat.min.js +14 -0
  193. data/assets/themes/j1/modules/lunrSearch/js/lunr.js +3475 -0
  194. data/assets/themes/j1/modules/lunrSearch/js/lunr.min.js +51 -0
  195. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.js +184 -0
  196. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +17 -0
  197. data/assets/themes/j1/modules/lunrSearch/js/mustache.js +772 -0
  198. data/assets/themes/j1/modules/lunrSearch/js/mustache.min.js +772 -0
  199. data/assets/themes/j1/modules/lunrSearch/js/uri.js +2340 -0
  200. data/assets/themes/j1/modules/lunrSearch/js/uri.min.js +93 -0
  201. data/assets/themes/j1/modules/materialize/js/anime.js +1283 -0
  202. data/assets/themes/j1/modules/materialize/js/anime.min.js +34 -0
  203. data/assets/themes/j1/modules/materialize/js/autocomplete.js +450 -0
  204. data/assets/themes/j1/modules/materialize/js/buttons.js +409 -0
  205. data/assets/themes/j1/modules/materialize/js/cards.js +40 -0
  206. data/assets/themes/j1/modules/materialize/js/carousel.js +717 -0
  207. data/assets/themes/j1/modules/materialize/js/cash-dom.js +1044 -0
  208. data/assets/themes/j1/modules/materialize/js/cash.js +960 -0
  209. data/assets/themes/j1/modules/materialize/js/characterCounter.js +136 -0
  210. data/assets/themes/j1/modules/materialize/js/chips.js +481 -0
  211. data/assets/themes/j1/modules/materialize/js/collapsible.js +275 -0
  212. data/assets/themes/j1/modules/materialize/js/component.js +44 -0
  213. data/assets/themes/j1/modules/materialize/js/datepicker.js +975 -0
  214. data/assets/themes/j1/modules/materialize/js/dropdown.js +617 -0
  215. data/assets/themes/j1/modules/materialize/js/forms.js +275 -0
  216. data/assets/themes/j1/modules/materialize/js/global.js +427 -0
  217. data/assets/themes/j1/modules/materialize/js/materialbox.js +453 -0
  218. data/assets/themes/j1/modules/materialize/js/modal.js +382 -0
  219. data/assets/themes/j1/modules/materialize/js/parallax.js +138 -0
  220. data/assets/themes/j1/modules/materialize/js/pushpin.js +145 -0
  221. data/assets/themes/j1/modules/materialize/js/range.js +263 -0
  222. data/assets/themes/j1/modules/materialize/js/ripple.js +335 -0
  223. data/assets/themes/j1/modules/materialize/js/scrollspy.js +295 -0
  224. data/assets/themes/j1/modules/materialize/js/select.js +432 -0
  225. data/assets/themes/j1/modules/materialize/js/sidenav.js +580 -0
  226. data/assets/themes/j1/modules/materialize/js/slider.js +359 -0
  227. data/assets/themes/j1/modules/materialize/js/tabs.js +402 -0
  228. data/assets/themes/j1/modules/materialize/js/tapTarget.js +314 -0
  229. data/assets/themes/j1/modules/materialize/js/timepicker.js +647 -0
  230. data/assets/themes/j1/modules/materialize/js/toasts.js +310 -0
  231. data/assets/themes/j1/modules/materialize/js/tooltip.js +303 -0
  232. data/assets/themes/j1/modules/materialize/js/waves.js +335 -0
  233. data/assets/themes/j1/modules/materialize/scss/components/_badges.scss +55 -0
  234. data/assets/themes/j1/modules/materialize/scss/components/_buttons.scss +322 -0
  235. data/assets/themes/j1/modules/materialize/scss/components/_cards.scss +195 -0
  236. data/assets/themes/j1/modules/materialize/scss/components/_carousel.scss +90 -0
  237. data/assets/themes/j1/modules/materialize/scss/components/_chips.scss +90 -0
  238. data/assets/themes/j1/modules/materialize/scss/components/_collapsible.scss +91 -0
  239. data/assets/themes/j1/modules/materialize/scss/components/_color-classes.scss +32 -0
  240. data/assets/themes/j1/modules/materialize/scss/components/_color-variables.scss +370 -0
  241. data/assets/themes/j1/modules/materialize/scss/components/_datepicker.scss +191 -0
  242. data/assets/themes/j1/modules/materialize/scss/components/_dropdown.scss +85 -0
  243. data/assets/themes/j1/modules/materialize/scss/components/_global.scss +769 -0
  244. data/assets/themes/j1/modules/materialize/scss/components/_grid.scss +156 -0
  245. data/assets/themes/j1/modules/materialize/scss/components/_icons-material-design.scss +5 -0
  246. data/assets/themes/j1/modules/materialize/scss/components/_materialbox.scss +43 -0
  247. data/assets/themes/j1/modules/materialize/scss/components/_modal.scss +94 -0
  248. data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +208 -0
  249. data/assets/themes/j1/modules/materialize/scss/components/_normalize.scss +447 -0
  250. data/assets/themes/j1/modules/materialize/scss/components/_preloader.scss +334 -0
  251. data/assets/themes/j1/modules/materialize/scss/components/_pulse.scss +34 -0
  252. data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +216 -0
  253. data/assets/themes/j1/modules/materialize/scss/components/_slider.scss +92 -0
  254. data/assets/themes/j1/modules/materialize/scss/components/_table_of_contents.scss +33 -0
  255. data/assets/themes/j1/modules/materialize/scss/components/_tabs.scss +99 -0
  256. data/assets/themes/j1/modules/materialize/scss/components/_tapTarget.scss +103 -0
  257. data/assets/themes/j1/modules/materialize/scss/components/_timepicker.scss +183 -0
  258. data/assets/themes/j1/modules/materialize/scss/components/_toast.scss +58 -0
  259. data/assets/themes/j1/modules/materialize/scss/components/_tooltip.scss +32 -0
  260. data/assets/themes/j1/modules/materialize/scss/components/_transitions.scss +13 -0
  261. data/assets/themes/j1/modules/materialize/scss/components/_typography.scss +60 -0
  262. data/assets/themes/j1/modules/materialize/scss/components/_variables.scss +349 -0
  263. data/assets/themes/j1/modules/materialize/scss/components/_waves.scss +114 -0
  264. data/assets/themes/j1/modules/materialize/scss/components/forms/_checkboxes.scss +200 -0
  265. data/assets/themes/j1/modules/materialize/scss/components/forms/_file-input.scss +44 -0
  266. data/assets/themes/j1/modules/materialize/scss/components/forms/_forms.scss +22 -0
  267. data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +354 -0
  268. data/assets/themes/j1/modules/materialize/scss/components/forms/_radio-buttons.scss +115 -0
  269. data/assets/themes/j1/modules/materialize/scss/components/forms/_range.scss +161 -0
  270. data/assets/themes/j1/modules/materialize/scss/components/forms/_select.scss +180 -0
  271. data/assets/themes/j1/modules/materialize/scss/components/forms/_switches.scss +89 -0
  272. data/assets/themes/j1/modules/materialize/scss/materialize.scss +41 -0
  273. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
  274. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  275. data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +1 -1
  276. data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +1 -1
  277. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +1 -1
  278. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +2 -2
  279. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +1 -1
  280. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +1 -1
  281. data/assets/themes/j1/modules/rtable/css/theme/uno.css +1 -1
  282. data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +1 -1
  283. data/assets/themes/j1/modules/rtable/js/rtable.js +1 -1
  284. data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
  285. data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.js +1 -1
  286. data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.min.js +1 -1
  287. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +1 -1
  288. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
  289. data/assets/themes/j1/modules/twemoji/js/LICENSE +21 -21
  290. data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -21
  291. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
  292. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  293. data/assets/themes/j1/modules/twemoji/js/twemoji.js +1 -1
  294. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +1 -1
  295. data/exe/j1 +2 -0
  296. data/lib/j1/commands/generate.rb +48 -47
  297. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so +0 -0
  298. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so +0 -0
  299. data/lib/j1/utils/exec.rb +1 -1
  300. data/lib/j1/version.rb +1 -1
  301. data/lib/j1_app.rb +0 -4
  302. data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
  303. data/lib/j1_app/j1_auth_manager/commands.rb +1 -1
  304. data/lib/j1_app/j1_auth_manager/error_pages.rb +1 -1
  305. data/lib/j1_app/j1_auth_manager/helpers_disqus.rb +1 -1
  306. data/lib/j1_app/j1_auth_manager/helpers_facebook.rb +1 -1
  307. data/lib/j1_app/j1_auth_manager/helpers_github.rb +1 -1
  308. data/lib/j1_app/j1_auth_manager/helpers_patreon.rb +1 -1
  309. data/lib/j1_app/j1_auth_manager/helpers_twitter.rb +1 -1
  310. data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +1 -1
  311. data/lib/j1_app/omniauth/strategies/disqus.rb +1 -1
  312. data/lib/j1_app/omniauth/strategies/facebook.rb +1 -1
  313. data/lib/j1_app/omniauth/strategies/github.rb +1 -1
  314. data/lib/j1_app/omniauth/strategies/patreon.rb +1 -1
  315. data/lib/j1_app/omniauth/strategies/twitter.rb +1 -1
  316. data/lib/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so +0 -0
  317. data/lib/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so +0 -0
  318. data/lib/starter_web/Gemfile +26 -41
  319. data/lib/starter_web/_config.yml +14 -9
  320. data/lib/starter_web/_data/_defaults/categories.yml +1 -1
  321. data/lib/starter_web/_data/_defaults/colors.yml +1 -1
  322. data/lib/starter_web/_data/_defaults/font_sizes.yml +1 -1
  323. data/lib/starter_web/_data/_defaults/j1_light_gallery.yml +1 -1
  324. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  325. data/lib/starter_web/_data/_defaults/template_settings.yml +1 -1
  326. data/lib/starter_web/_data/apps/carousel.yml +167 -346
  327. data/lib/starter_web/_data/apps/defaults/carousel.yml +88 -87
  328. data/lib/starter_web/_data/apps/defaults/gallery_customizer.yml +1 -1
  329. data/lib/starter_web/_data/apps/defaults/justified_gallery.yml +1 -1
  330. data/lib/starter_web/_data/apps/defaults/light_gallery.yml +1 -1
  331. data/lib/starter_web/_data/apps/defaults/lightbox.yml +1 -1
  332. data/lib/starter_web/_data/apps/gallery_customizer.yml +1 -1
  333. data/lib/starter_web/_data/apps/justified_gallery.yml +45 -11
  334. data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
  335. data/lib/starter_web/_data/apps/lightbox.yml +1 -1
  336. data/lib/starter_web/_data/blocks/banner.yml +2 -2
  337. data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
  338. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  339. data/lib/starter_web/_data/blocks/defaults/panel.yml +1 -1
  340. data/lib/starter_web/_data/blocks/footer.yml +2 -2
  341. data/lib/starter_web/_data/blocks/panel.yml +7 -7
  342. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -1
  343. data/lib/starter_web/_data/categories.yml +1 -1
  344. data/lib/starter_web/_data/colors.yml +1 -1
  345. data/lib/starter_web/_data/font_sizes.yml +1 -1
  346. data/lib/starter_web/_data/j1_config.yml +37 -33
  347. data/lib/starter_web/_data/layouts/app.yml +1 -1
  348. data/lib/starter_web/_data/layouts/blog_archive.yml +1 -1
  349. data/lib/starter_web/_data/layouts/collection.yml +7 -7
  350. data/lib/starter_web/_data/layouts/default.yml +1 -1
  351. data/lib/starter_web/_data/layouts/home.yml +13 -4
  352. data/lib/starter_web/_data/layouts/page.yml +10 -1
  353. data/lib/starter_web/_data/layouts/post.yml +10 -1
  354. data/lib/starter_web/_data/layouts/raw.yml +1 -1
  355. data/lib/starter_web/_data/modules/advertising.yml +1 -1
  356. data/lib/starter_web/_data/modules/attics.yml +1 -1
  357. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  358. data/lib/starter_web/_data/modules/cookiebar.yml +1 -1
  359. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  360. data/lib/starter_web/_data/modules/defaults/authentication.yml +45 -43
  361. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -1
  362. data/lib/starter_web/_data/modules/defaults/{ssm.yml → fam.yml} +13 -16
  363. data/lib/starter_web/_data/modules/defaults/framer.yml +1 -1
  364. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -1
  365. data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -1
  366. data/lib/starter_web/_data/modules/defaults/{jekyll_search.yml → lunr_search.yml} +46 -26
  367. data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -5
  368. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  369. data/lib/starter_web/_data/modules/defaults/toccer.yml +5 -3
  370. data/lib/starter_web/_data/modules/fam.yml +192 -0
  371. data/lib/starter_web/_data/modules/framer.yml +1 -1
  372. data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
  373. data/lib/starter_web/_data/modules/log4r.yml +1 -1
  374. data/lib/starter_web/_data/modules/{jekyll_search.yml → lunr_search.yml} +10 -7
  375. data/lib/starter_web/_data/modules/navigator.yml +3 -3
  376. data/lib/starter_web/_data/modules/navigator_menu.yml +14 -8
  377. data/lib/starter_web/_data/modules/themer.yml +2 -97
  378. data/lib/starter_web/_data/modules/toccer.yml +1 -74
  379. data/lib/starter_web/_data/pages/builder.yml +1 -1
  380. data/lib/starter_web/_data/plugins/defaults/notebooks.yml +1 -1
  381. data/lib/starter_web/_data/plugins/defaults/paginator.yml +1 -1
  382. data/lib/starter_web/_data/plugins/notebooks.yml +1 -1
  383. data/lib/starter_web/_data/plugins/paginator.yml +1 -1
  384. data/lib/starter_web/_data/private.yml +1 -1
  385. data/lib/starter_web/_data/resources.yml +153 -105
  386. data/lib/starter_web/_data/utilities/defaults/util_srv.yml +1 -1
  387. data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
  388. data/lib/starter_web/_includes/attributes.asciidoc +2 -2
  389. data/lib/starter_web/_includes/breadcrumbs.html +11 -0
  390. data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -19
  391. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +45 -45
  392. data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -46
  393. data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-answer.rb +1 -1
  394. data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-question.rb +1 -1
  395. data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +1 -1
  396. data/lib/starter_web/_plugins/asciidoctor-extensions/carousel-block.rb +1 -1
  397. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  398. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +1 -1
  399. data/lib/starter_web/_plugins/asciidoctor-extensions/gallery-block.rb +1 -1
  400. data/lib/starter_web/_plugins/asciidoctor-extensions/gist-block.rb +1 -1
  401. data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +1 -1
  402. data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +1 -1
  403. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +1 -1
  404. data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +1 -1
  405. data/lib/starter_web/_plugins/asciidoctor-extensions/shout-block.rb +1 -1
  406. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +1 -1
  407. data/lib/starter_web/_plugins/debug.rb +1 -2
  408. data/lib/starter_web/_plugins/filters.rb +1 -2
  409. data/lib/starter_web/_plugins/lorem_inline.rb +159 -0
  410. data/lib/starter_web/_plugins/lunr_index.rb +316 -0
  411. data/lib/starter_web/_plugins/minifyJS.rb +1 -1
  412. data/lib/starter_web/_plugins/minifyJSON.rb +1 -1
  413. data/lib/starter_web/_plugins/prettify.rb +1 -4
  414. data/lib/starter_web/_plugins/simple_search_filter.rb +1 -2
  415. data/lib/starter_web/_plugins/symlink_watcher.rb +3 -4
  416. data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
  417. data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
  418. data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
  419. data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
  420. data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
  421. data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
  422. data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
  423. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +48 -43
  424. data/lib/starter_web/assets/images/pages/j1_webhooks/uml/auth_mgmr_signin_request_flow.uxf +632 -632
  425. data/lib/starter_web/assets/images/pages/j1_webhooks/uml/webhook_flow.uxf +648 -648
  426. data/lib/starter_web/assets/images/pages/winlogbeat/coordinate-map.png +0 -0
  427. data/lib/starter_web/assets/images/pages/winlogbeat/kibana-powershell.jpg +0 -0
  428. data/lib/starter_web/assets/images/pages/winlogbeat/option_ignore_outgoing.png +0 -0
  429. data/lib/starter_web/assets/images/pages/winlogbeat/winlogbeat-dashboard.png +0 -0
  430. data/lib/starter_web/assets/images/quotes/colored-1.jpg +0 -0
  431. data/lib/starter_web/assets/images/quotes/colored-2.jpg +0 -0
  432. data/lib/starter_web/assets/images/quotes/default.jpg +0 -0
  433. data/lib/starter_web/assets/images/quotes/light-blue.jpg +0 -0
  434. data/lib/starter_web/assets/images/quotes/people.jpg +0 -0
  435. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +9 -10
  436. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +7 -8
  437. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +9 -6
  438. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +198 -196
  439. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +1 -0
  440. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +31 -31
  441. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +144 -0
  442. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +146 -0
  443. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +146 -0
  444. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +146 -0
  445. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +430 -430
  446. data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/debug_variables.asciidoc +47 -48
  447. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +2 -3
  448. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -7
  449. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -6
  450. data/lib/starter_web/config.ru +23 -24
  451. data/lib/starter_web/dot.gitattributes +1 -1
  452. data/lib/starter_web/dot.nojekyll +19 -19
  453. data/lib/starter_web/index.html +16 -10
  454. data/lib/starter_web/package.json +51 -35
  455. data/lib/starter_web/pages/public/about/about_site.adoc +2 -2
  456. data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -3
  457. data/lib/starter_web/pages/public/blog/navigator/archive.html +32 -7
  458. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -14
  459. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +31 -7
  460. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +7 -3
  461. data/lib/starter_web/pages/public/blog/navigator/index.html +6 -3
  462. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +3 -4
  463. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +18 -7
  464. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +19 -8
  465. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +11 -12
  466. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +47 -48
  467. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +1 -0
  468. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +35 -76
  469. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +14 -12
  470. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +20 -20
  471. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +13 -8
  472. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +14 -9
  473. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +9 -6
  474. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +62 -8
  475. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +9 -7
  476. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +236 -0
  477. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +294 -0
  478. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -14
  479. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -11
  480. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -11
  481. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +11 -11
  482. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -11
  483. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -11
  484. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +11 -11
  485. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -11
  486. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -11
  487. data/lib/starter_web/pages/public/learn/where_to_go.adoc +9 -10
  488. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
  489. data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +2 -1
  490. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +2 -1
  491. data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +2 -1
  492. data/lib/starter_web/pages/public/legal/de/500_support.adoc +2 -1
  493. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +32 -28
  494. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +12 -8
  495. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +17 -12
  496. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +13 -5
  497. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +12 -4
  498. data/lib/starter_web/pages/public/legal/en/500_support.adoc +12 -4
  499. data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +50 -55
  500. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -3
  501. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -19
  502. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +24 -30
  503. data/lib/starter_web/pages/public/previewer/iframer.adoc +47 -34
  504. data/lib/starter_web/pages/public/previewer/justified_gallery.html +15 -7
  505. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +11 -7
  506. data/lib/starter_web/pages/public/previewer/rouge.adoc +250 -11
  507. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +10 -7
  508. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  509. data/lib/starter_web/utilsrv/package.json +7 -7
  510. data/lib/starter_web/utilsrv/server.js +1 -1
  511. metadata +148 -80
  512. data/assets/data/search.json +0 -165
  513. data/assets/data/ssm.html +0 -242
  514. data/assets/themes/j1/adapter/js/back2top.js +0 -231
  515. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +0 -468
  516. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +0 -6
  517. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +0 -95
  518. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +0 -15
  519. data/assets/themes/j1/modules/tocbot/css/tocbot.css +0 -75
  520. data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +0 -19
  521. data/assets/themes/j1/modules/tocbot/js/tocbot.js +0 -19
  522. data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +0 -19
  523. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb.kapott +0 -234
  524. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.new.erb +0 -297
  525. data/lib/starter_web/_data/modules/back2top.yml +0 -30
  526. data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -146
  527. data/lib/starter_web/_data/modules/defaults/stickybits.yml +0 -36
  528. data/lib/starter_web/_data/modules/ssm.yml +0 -142
  529. data/lib/starter_web/_plugins/lorem-inline.rb +0 -65
  530. data/lib/starter_web/assets/images/quotes/default.png +0 -0
  531. data/lib/starter_web/assets/images/quotes/people.png +0 -0
  532. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -493
  533. data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +0 -220
  534. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/attributes.asciidoc +0 -34
  535. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
  536. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/debug_variables.asciidoc +0 -48
  537. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
  538. data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +0 -49
  539. data/lib/starter_web/pages/public/test_pages/_includes/documents/100_gistblock.asciidoc +0 -27
  540. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +0 -22
  541. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +0 -56
  542. data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +0 -162
  543. data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +0 -207
  544. data/lib/starter_web/pages/public/test_pages/floating_div.adoc +0 -195
  545. data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +0 -283
  546. data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +0 -195
  547. data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +0 -212
  548. data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +0 -209
  549. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/attributes.asciidoc +0 -117
  550. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -27
  551. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -11
  552. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  553. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  554. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -11
  555. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -11
  556. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -11
  557. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_table_3_column.asciidoc +0 -47
  558. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -11
  559. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -11
  560. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -11
  561. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
  562. data/lib/starter_web/pages/public/test_pages/vtutorials/000_test_youtube_video.adoc +0 -141
  563. data/lib/starter_web/pages/public/test_pages/vtutorials/100_basic_video.adoc +0 -109
@@ -0,0 +1,89 @@
1
+ /* Switch
2
+ ========================================================================== */
3
+
4
+ .switch,
5
+ .switch * {
6
+ -webkit-tap-highlight-color: transparent;
7
+ user-select: none;
8
+ }
9
+
10
+ .switch label {
11
+ cursor: pointer;
12
+ }
13
+
14
+ .switch label input[type=checkbox] {
15
+ opacity: 0;
16
+ width: 0;
17
+ height: 0;
18
+
19
+ &:checked + .lever {
20
+ background-color: $switch-checked-lever-bg;
21
+
22
+ &:before, &:after {
23
+ left: 18px;
24
+ }
25
+
26
+ &:after {
27
+ background-color: $switch-bg-color;
28
+ }
29
+ }
30
+ }
31
+
32
+ .switch label .lever {
33
+ content: "";
34
+ display: inline-block;
35
+ position: relative;
36
+ width: 36px;
37
+ height: 14px;
38
+ background-color: $switch-unchecked-lever-bg;
39
+ border-radius: $switch-radius;
40
+ margin-right: 10px;
41
+ transition: background 0.3s ease;
42
+ vertical-align: middle;
43
+ margin: 0 16px;
44
+
45
+ &:before, &:after {
46
+ content: "";
47
+ position: absolute;
48
+ display: inline-block;
49
+ width: 20px;
50
+ height: 20px;
51
+ border-radius: 50%;
52
+ left: 0;
53
+ top: -3px;
54
+ transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
55
+ }
56
+
57
+ &:before {
58
+ background-color: transparentize($switch-bg-color, .85);
59
+ }
60
+
61
+ &:after {
62
+ background-color: $switch-unchecked-bg;
63
+ box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
64
+ }
65
+ }
66
+
67
+ // Switch active style
68
+ input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,
69
+ input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before {
70
+ transform: scale(2.4);
71
+ background-color: transparentize($switch-bg-color, .85);
72
+ }
73
+
74
+ input[type=checkbox]:not(:disabled) ~ .lever:active:before,
75
+ input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before {
76
+ transform: scale(2.4);
77
+ background-color: rgba(0,0,0,.08);
78
+ }
79
+
80
+ // Disabled Styles
81
+ .switch input[type=checkbox][disabled] + .lever {
82
+ cursor: default;
83
+ background-color: rgba(0,0,0,.12);
84
+ }
85
+
86
+ .switch label input[type=checkbox][disabled] + .lever:after,
87
+ .switch label input[type=checkbox][disabled]:checked + .lever:after {
88
+ background-color: $input-disabled-solid-color;
89
+ }
@@ -0,0 +1,41 @@
1
+ @charset "UTF-8";
2
+
3
+ // Color
4
+ @import "components/color-variables";
5
+ @import "components/color-classes";
6
+
7
+ // Variables;
8
+ @import "components/variables";
9
+
10
+ // Reset
11
+ @import "components/normalize";
12
+
13
+ // components
14
+ @import "components/global";
15
+ @import "components/badges";
16
+ @import "components/icons-material-design";
17
+ @import "components/grid";
18
+ @import "components/navbar";
19
+ @import "components/typography";
20
+ @import "components/transitions";
21
+ @import "components/cards";
22
+ @import "components/toast";
23
+ @import "components/tabs";
24
+ @import "components/tooltip";
25
+ @import "components/buttons";
26
+ @import "components/dropdown";
27
+ @import "components/waves";
28
+ @import "components/modal";
29
+ @import "components/collapsible";
30
+ @import "components/chips";
31
+ @import "components/materialbox";
32
+ @import "components/forms/forms";
33
+ @import "components/table_of_contents";
34
+ @import "components/sidenav";
35
+ @import "components/preloader";
36
+ @import "components/slider";
37
+ @import "components/carousel";
38
+ @import "components/tapTarget";
39
+ @import "components/pulse";
40
+ @import "components/datepicker";
41
+ @import "components/timepicker";
@@ -6,7 +6,7 @@
6
6
  # Product/Info:
7
7
  # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
9
+ # Copyright (C) 2021 Juergen Adams
10
10
  #
11
11
  # J1 Template is licensed under the MIT License.
12
12
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -6,7 +6,7 @@
6
6
  # Product/Info:
7
7
  # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
9
+ # Copyright (C) 2021 Juergen Adams
10
10
  #
11
11
  # J1 Template is licensed under the MIT License.
12
12
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -8,7 +8,7 @@
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
10
  # Copyright (C) 2020 Fred Heusschen
11
- # Copyright (C) 2020 Juergen Adams
11
+ # Copyright (C) 2021 Juergen Adams
12
12
  #
13
13
  # J1 Template is licensed under MIT License.
14
14
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -8,7 +8,7 @@
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
10
  # Copyright (C) 2020 Fred Heusschen
11
- # Copyright (C) 2020 Juergen Adams
11
+ # Copyright (C) 2021 Juergen Adams
12
12
  #
13
13
  # J1 Template is licensed under MIT License.
14
14
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015-2020 Fred Heusschen
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015-2020 Fred Heusschen
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -25,7 +25,7 @@
25
25
  # https://jekyll.one
26
26
  # https://github.com/FrDH/mmenu-light
27
27
  #
28
- # Copyright (C) 2020 Juergen Adams
28
+ # Copyright (C) 2021 Juergen Adams
29
29
  # Copyright (C) 2015-2020 Fred Heusschen
30
30
  #
31
31
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015-2020 Fred Heusschen
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015-2020 Fred Heusschen
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/filamentgroup/tablesaw
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (c) 2013 Filament Group
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/filamentgroup/tablesaw
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (c) 2013 Filament Group
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/filamentgroup/tablesaw
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (c) 2013 Filament Group
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/filamentgroup/tablesaw
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (c) 2013 Filament Group
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/jguadagno/bootstrapThemeSwitcher
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2014 Joseph Guadagno
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/jguadagno/bootstrapThemeSwitcher
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2014 Joseph Guadagno
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/xLs51/Twemoji-Picker
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015 xLs51
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/xLs51/Twemoji-Picker
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015 xLs51
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Twitter, Inc and other contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Twitter, Inc and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 xLs51
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 xLs51
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/xLs51/Twemoji-Picker
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015 xLs51
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -72,7 +72,7 @@
72
72
  h.$wrapper = h.$el.wrap('<div class="twemoji-wrap"></div>').parent();
73
73
  h.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="' + h.options.placeholder + '"></div>');
74
74
  h.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');
75
- h.$wrapper.append('<div class="twemoji-icon-picker"> <span id="open-group" class="mr-2"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-primary mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker </button></span><span id="clear-textarea"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-secondary"><i class="mdi mdi-sticker-emoji mdi-lg mr-1"></i> Clear </button></span></div>');
75
+ h.$wrapper.append('<div class="twemoji-icon-picker"><span id="open-group" class="mr-2" style="width: 2rem; height: 2rem;"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-primary mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker <div class="ripple-container"></div></button></span><span id="clear-textarea" style="width: 2rem; height: 2rem;"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-primary"><i class="mdi mdi-close mdi-lg mr-1"></i> Clear </button></span></div>');
76
76
  h.$wrapper.append('<div class="twemoji-picker"></div>');
77
77
  h.$el.hide();
78
78
  h.$textarea = h.$wrapper.find(".twemoji-textarea");
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/xLs51/Twemoji-Picker
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2015 xLs51
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/twitter/twemoji
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2018 Twitter, Inc and other contributors
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
@@ -7,7 +7,7 @@
7
7
  # https://jekyll.one
8
8
  # https://github.com/twitter/twemoji
9
9
  #
10
- # Copyright (C) 2020 Juergen Adams
10
+ # Copyright (C) 2021 Juergen Adams
11
11
  # Copyright (C) 2018 Twitter, Inc and other contributors
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
data/exe/j1 CHANGED
@@ -17,6 +17,8 @@ Mercenary.program(:j1) do |p|
17
17
  c.description 'Generates a starter site scaffold in PATH'
18
18
  c.option 'force', '--force', 'Force a site to be created even the PATH already exists'
19
19
  c.option "skip-bundle", "--skip-bundle", "Skip 'bundle install'"
20
+ c.option "skip-patches", "--skip-patches", "Skip to install any PATCHES buildin with J1"
21
+ c.option "system", "--system", "Run 'bundle install' for the Ruby SYSTEM gem folder"
20
22
  c.action do |args, options|
21
23
  J1::Commands::Generate.process(args, options)
22
24
  end
@@ -1,4 +1,6 @@
1
1
  require 'erb'
2
+ require 'rbconfig'
3
+ require 'fileutils'
2
4
 
3
5
  module J1
4
6
  module Commands
@@ -11,7 +13,8 @@ module J1
11
13
  c.description 'Generates a starter site scaffold in PATH'
12
14
  c.option 'force', '--force', 'Force a site to be created even the PATH already exists'
13
15
  c.option 'skip-bundle', '--skip-bundle', "Skip 'bundle install'"
14
-
16
+ c.option "skip-patches", "--skip-patches", "Skip to install any PATCHES buildin with J1"
17
+ c.option "system", "--system", "Run 'bundle install' for the Ruby SYSTEM gem folder"
15
18
  c.action do |args, options|
16
19
  J1::Commands::Generate.process(args, options)
17
20
  end
@@ -19,6 +22,10 @@ module J1
19
22
 
20
23
  end
21
24
 
25
+ def is_windows?
26
+ RbConfig::CONFIG["host_os"] =~ %r!mswin|mingw|cygwin!i
27
+ end
28
+
22
29
  def process(args, options = {})
23
30
  raise ArgumentError, 'You must specify a path.' if args.empty?
24
31
  new_blog_path = File.expand_path(args.join(' '), Dir.pwd)
@@ -48,60 +55,19 @@ module J1
48
55
  end
49
56
 
50
57
  # Internal: Gets the filename of the sample post to be created
51
- #
52
58
  # Returns the filename of the sample post, as a String
53
59
  def initialized_post_name
54
- "collections/posts/public/featured/_posts/#{Time.now.strftime("%Y-%m-%d")}-welcome-to-J1 Template.adoc"
60
+ "collections/posts/public/featured/_posts/#{Time.now.strftime("%Y-%m-%d")}-welcome-to-j1-template.adoc"
55
61
  end
56
62
 
57
63
  private
58
64
 
59
- def gemfile_contents
60
- <<-RUBY
61
- source "https://rubygems.org"
62
- #ruby RUBY_VERSION
63
-
64
- # Hello! This is where you manage which Jekyll version is used to run.
65
- # When you want to use a different version, change it below, save the
66
- # file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
67
- #
68
- # bundle exec jekyll serve
69
- #
70
- # This will help ensure the proper Jekyll version is running.
71
- # Happy Jekylling!
72
- # jadams
73
- #gem "jekyll", "#{Jekyll::VERSION}"
74
- gem "jekyll", "~> 3.8"
75
-
76
- # This is the default theme for generate Jekyll sites. You may change this to anything you like.
77
- gem "minima", "~> 2.0"
78
-
79
- # If you want to use GitHub Pages, remove the "gem "jekyll"" above and
80
- # uncomment the line below. To upgrade, run `bundle update github-pages`.
81
- # gem "github-pages", group: :jekyll_plugins
82
-
83
- # If you have any plugins, put them here!
84
- group :jekyll_plugins do
85
- gem "jekyll-feed", "~> 0.6"
86
- end
87
-
88
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
89
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
90
-
91
- RUBY
92
- end
93
-
94
65
  def create_site(new_blog_path)
95
66
  create_sample_files new_blog_path
96
67
 
97
68
  File.open(File.expand_path(initialized_post_name, new_blog_path), 'w') do |f|
98
69
  f.write(scaffold_post_content)
99
70
  end
100
-
101
- # jadams
102
- # File.open(File.expand_path("Gemfile", new_blog_path), "w") do |f|
103
- # f.write(gemfile_contents)
104
- # end
105
71
  end
106
72
 
107
73
  def preserve_source_location?(path, options)
@@ -124,23 +90,33 @@ module J1
124
90
  # After a generate blog has been created, print a success notification and
125
91
  # then automatically execute bundle install from within the generate blog dir
126
92
  # unless the user opts to generate a blank blog or skip 'bundle install'.
127
-
128
93
  def after_install(path, options = {})
129
94
  unless options['skip-bundle']
130
- bundle_install path
95
+ bundle_install(path, options)
96
+ unless options['skip-patches']
97
+ patch_install(options)
98
+ else
99
+ J1.logger.info "Install patches skipped ..."
100
+ end
131
101
  end
132
102
  unless options['force']
133
103
  J1.logger.info "Generated Jekyll site installed in folder #{path}"
134
104
  else
135
105
  J1.logger.info "Generated Jekyll site force installed in folder #{path}"
136
106
  end
137
- J1.logger.info 'Installation of RubyGems (bundle) skipped' if options['skip-bundle']
107
+ J1.logger.info 'Installation (bundle) of RubyGems skipped' if options['skip-bundle']
138
108
  end
139
109
 
140
- def bundle_install(path)
110
+ def bundle_install(path, options)
141
111
  J1::External.require_with_graceful_fail 'bundler'
142
112
  J1.logger.info "Running bundle install in #{path} ..."
143
113
  Dir.chdir(path) do
114
+ if options['system']
115
+ J1.logger.info "Install bundle in Ruby gem SYSTEM folder ..."
116
+ else
117
+ J1.logger.info "Install bundle in USER gem folder ~/.gem ..."
118
+ process, output = J1::Utils::Exec.run('bundle', 'config', 'set', '--local', 'path', '~/.gem')
119
+ end
144
120
  process, output = J1::Utils::Exec.run('bundle', 'install')
145
121
  output.to_s.each_line do |line|
146
122
  J1.logger.info('Bundler:', line.strip) unless line.to_s.empty?
@@ -148,6 +124,31 @@ module J1
148
124
  raise SystemExit unless process.success?
149
125
  end
150
126
  end
127
+
128
+ def patch_install(options)
129
+ if is_windows?
130
+ curr_path = File.expand_path(File.dirname(File.dirname(__FILE__)))
131
+ patch_gem = 'eventmachine-1.2.7-x64-mingw32'
132
+ patch_source_path = curr_path + '/../patches/rubygems' + '/' + patch_gem + '/lib/2.6'
133
+
134
+ J1.logger.info "Install patches in USER gem folder ~/.gem ..."
135
+ process, output = J1::Utils::Exec.run('gem', 'env', 'gempath')
136
+ raise SystemExit unless process.success?
137
+
138
+ result = output.split(';')
139
+ user_path = result[0]
140
+ system_path = result[1]
141
+ if options['system']
142
+ J1.logger.info "Install patches on path #{system_path} ..."
143
+ else
144
+ J1.logger.info "Install patches on path #{user_path} ..."
145
+ src = patch_source_path
146
+ dest = user_path + '/gems/' + patch_gem + '/lib'
147
+ FileUtils.cp_r(src, dest)
148
+ end
149
+ end
150
+ end
151
+
151
152
  end
152
153
  end
153
154
  end