j1-template 2020.0.24 → 2021.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (457) 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 +1 -1
  16. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  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 +1 -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 +1 -1
  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 +1 -1
  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 +1 -1
  38. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +1 -1
  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 +1 -1
  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 +1 -1
  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 +11 -12
  84. data/assets/data/carousel.json +8 -16
  85. data/assets/data/cookiebar.html +4 -4
  86. data/assets/data/fam.html +1 -1
  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 +1 -1
  94. data/assets/data/mmenu_toc.html +1 -1
  95. data/assets/data/panel.html +1 -1
  96. data/assets/data/quicklinks.html +3 -3
  97. data/assets/data/themes.json +1 -1
  98. data/assets/data/twa_v1.json +1 -1
  99. data/assets/error_pages/HTTP204.html +1 -1
  100. data/assets/error_pages/HTTP400.html +1 -1
  101. data/assets/error_pages/HTTP401.html +1 -1
  102. data/assets/error_pages/HTTP403.html +1 -1
  103. data/assets/error_pages/HTTP404.html +1 -1
  104. data/assets/error_pages/HTTP500.html +1 -1
  105. data/assets/error_pages/HTTP501.html +1 -1
  106. data/assets/error_pages/HTTP502.html +1 -1
  107. data/assets/error_pages/HTTP503.html +1 -1
  108. data/assets/error_pages/HTTP520.html +1 -1
  109. data/assets/error_pages/HTTP521.html +1 -1
  110. data/assets/error_pages/HTTP533.html +1 -1
  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/fam.js +2 -2
  118. data/assets/themes/j1/adapter/js/framer.js +2 -2
  119. data/assets/themes/j1/adapter/js/gallery_customizer.js +2 -2
  120. data/assets/themes/j1/adapter/js/j1.js +36 -9
  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/lunr_search.js +2 -2
  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 +3 -3
  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 +1 -1
  137. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +31 -31
  138. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +125 -97
  139. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  140. data/assets/themes/j1/core/css/vendor.css +14 -17
  141. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  142. data/assets/themes/j1/core/js/template.js +5 -10
  143. data/assets/themes/j1/core/js/template.js.map +1 -1
  144. data/assets/themes/j1/core/js/template.min.js +1 -1
  145. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1 -1
  146. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  147. data/assets/themes/j1/modules/carousel/css/carousel.css +1 -1
  148. data/assets/themes/j1/modules/carousel/css/carousel.min.css +1 -1
  149. data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +1 -1
  150. data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +1 -1
  151. data/assets/themes/j1/modules/carousel/css/theme/uno.css +122 -83
  152. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +2 -2
  153. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +3 -3
  154. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +2 -2
  155. data/assets/themes/j1/modules/fam/css/uno/fam.css +1 -1
  156. data/assets/themes/j1/modules/fam/js/fam.js +1 -1
  157. data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -21
  158. data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.css +443 -0
  159. data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +5 -0
  160. data/assets/themes/j1/modules/jquery/js/jqueryUI.js +18701 -0
  161. data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +13 -0
  162. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/theme/uno.css +1 -1
  163. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/theme/uno.css +1 -1
  164. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +6 -5
  165. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +2 -2
  166. data/assets/themes/j1/modules/kofax.7z +0 -0
  167. data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +1 -1
  168. data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +1 -1
  169. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.js +1 -1
  170. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
  171. data/assets/themes/j1/modules/lightbox/LICENSE +22 -22
  172. data/assets/themes/j1/modules/lightbox/css/lightbox.css +1 -1
  173. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +1 -1
  174. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +1 -1
  175. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -1
  176. data/assets/themes/j1/modules/lightbox/js/lightbox.js +2 -2
  177. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
  178. data/assets/themes/j1/modules/lunrSearch/css/lunr_search.css +1 -1
  179. data/assets/themes/j1/modules/lunrSearch/css/lunr_search.min.css +13 -6
  180. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.js +1 -1
  181. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +1 -1
  182. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
  183. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  184. data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +1 -1
  185. data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +1 -1
  186. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +1 -1
  187. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +2 -2
  188. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +1 -1
  189. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +1 -1
  190. data/assets/themes/j1/modules/rtable/css/theme/uno.css +1 -1
  191. data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +1 -1
  192. data/assets/themes/j1/modules/rtable/js/rtable.js +1 -1
  193. data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
  194. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
  195. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  196. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +1 -1
  197. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
  198. data/assets/themes/j1/modules/twemoji/js/LICENSE +21 -21
  199. data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -21
  200. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
  201. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  202. data/assets/themes/j1/modules/twemoji/js/twemoji.js +1 -1
  203. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +1 -1
  204. data/exe/j1 +2 -0
  205. data/lib/j1/commands/generate.rb +48 -47
  206. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so +0 -0
  207. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so +0 -0
  208. data/lib/j1/utils/exec.rb +1 -1
  209. data/lib/j1/version.rb +1 -1
  210. data/lib/j1_app.rb +0 -4
  211. data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
  212. data/lib/j1_app/j1_auth_manager/commands.rb +1 -1
  213. data/lib/j1_app/j1_auth_manager/error_pages.rb +1 -1
  214. data/lib/j1_app/j1_auth_manager/helpers_disqus.rb +1 -1
  215. data/lib/j1_app/j1_auth_manager/helpers_facebook.rb +1 -1
  216. data/lib/j1_app/j1_auth_manager/helpers_github.rb +1 -1
  217. data/lib/j1_app/j1_auth_manager/helpers_patreon.rb +1 -1
  218. data/lib/j1_app/j1_auth_manager/helpers_twitter.rb +1 -1
  219. data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +1 -1
  220. data/lib/j1_app/omniauth/strategies/disqus.rb +1 -1
  221. data/lib/j1_app/omniauth/strategies/facebook.rb +1 -1
  222. data/lib/j1_app/omniauth/strategies/github.rb +1 -1
  223. data/lib/j1_app/omniauth/strategies/patreon.rb +1 -1
  224. data/lib/j1_app/omniauth/strategies/twitter.rb +1 -1
  225. data/lib/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so +0 -0
  226. data/lib/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so +0 -0
  227. data/lib/starter_web/Gemfile +19 -30
  228. data/lib/starter_web/_config.yml +23 -92
  229. data/lib/starter_web/_data/_defaults/categories.yml +1 -1
  230. data/lib/starter_web/_data/_defaults/colors.yml +1 -1
  231. data/lib/starter_web/_data/_defaults/font_sizes.yml +1 -1
  232. data/lib/starter_web/_data/_defaults/j1_light_gallery.yml +1 -1
  233. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  234. data/lib/starter_web/_data/_defaults/template_settings.yml +1 -1
  235. data/lib/starter_web/_data/apps/carousel.yml +167 -346
  236. data/lib/starter_web/_data/apps/defaults/carousel.yml +88 -87
  237. data/lib/starter_web/_data/apps/defaults/gallery_customizer.yml +1 -1
  238. data/lib/starter_web/_data/apps/defaults/justified_gallery.yml +1 -1
  239. data/lib/starter_web/_data/apps/defaults/light_gallery.yml +1 -1
  240. data/lib/starter_web/_data/apps/defaults/lightbox.yml +1 -1
  241. data/lib/starter_web/_data/apps/gallery_customizer.yml +1 -1
  242. data/lib/starter_web/_data/apps/justified_gallery.yml +45 -11
  243. data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
  244. data/lib/starter_web/_data/apps/lightbox.yml +1 -1
  245. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  246. data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
  247. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  248. data/lib/starter_web/_data/blocks/defaults/panel.yml +1 -1
  249. data/lib/starter_web/_data/blocks/footer.yml +2 -2
  250. data/lib/starter_web/_data/blocks/panel.yml +1 -1
  251. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -1
  252. data/lib/starter_web/_data/categories.yml +1 -1
  253. data/lib/starter_web/_data/colors.yml +1 -1
  254. data/lib/starter_web/_data/font_sizes.yml +1 -1
  255. data/lib/starter_web/_data/j1_config.yml +37 -34
  256. data/lib/starter_web/_data/layouts/app.yml +1 -1
  257. data/lib/starter_web/_data/layouts/blog_archive.yml +1 -1
  258. data/lib/starter_web/_data/layouts/collection.yml +7 -7
  259. data/lib/starter_web/_data/layouts/default.yml +1 -1
  260. data/lib/starter_web/_data/layouts/home.yml +1 -2
  261. data/lib/starter_web/_data/layouts/page.yml +2 -3
  262. data/lib/starter_web/_data/layouts/post.yml +2 -3
  263. data/lib/starter_web/_data/layouts/raw.yml +1 -1
  264. data/lib/starter_web/_data/modules/advertising.yml +1 -1
  265. data/lib/starter_web/_data/modules/attics.yml +1 -1
  266. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  267. data/lib/starter_web/_data/modules/cookiebar.yml +1 -1
  268. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  269. data/lib/starter_web/_data/modules/defaults/authentication.yml +45 -43
  270. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -1
  271. data/lib/starter_web/_data/modules/defaults/fam.yml +1 -1
  272. data/lib/starter_web/_data/modules/defaults/framer.yml +1 -1
  273. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -1
  274. data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -1
  275. data/lib/starter_web/_data/modules/defaults/lunr_search.yml +1 -1
  276. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  277. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  278. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  279. data/lib/starter_web/_data/modules/fam.yml +46 -12
  280. data/lib/starter_web/_data/modules/framer.yml +1 -1
  281. data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
  282. data/lib/starter_web/_data/modules/log4r.yml +1 -1
  283. data/lib/starter_web/_data/modules/lunr_search.yml +1 -1
  284. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  285. data/lib/starter_web/_data/modules/navigator_menu.yml +1 -46
  286. data/lib/starter_web/_data/modules/themer.yml +2 -97
  287. data/lib/starter_web/_data/modules/toccer.yml +1 -1
  288. data/lib/starter_web/_data/pages/builder.yml +1 -1
  289. data/lib/starter_web/_data/plugins/defaults/notebooks.yml +1 -1
  290. data/lib/starter_web/_data/plugins/defaults/paginator.yml +1 -1
  291. data/lib/starter_web/_data/plugins/notebooks.yml +1 -1
  292. data/lib/starter_web/_data/plugins/paginator.yml +1 -1
  293. data/lib/starter_web/_data/private.yml +1 -1
  294. data/lib/starter_web/_data/resources.yml +4 -3
  295. data/lib/starter_web/_data/utilities/defaults/util_srv.yml +1 -1
  296. data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
  297. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  298. data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -19
  299. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +45 -45
  300. data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -46
  301. data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-answer.rb +1 -1
  302. data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-question.rb +1 -1
  303. data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +1 -1
  304. data/lib/starter_web/_plugins/asciidoctor-extensions/carousel-block.rb +1 -1
  305. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  306. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +1 -1
  307. data/lib/starter_web/_plugins/asciidoctor-extensions/gallery-block.rb +1 -1
  308. data/lib/starter_web/_plugins/asciidoctor-extensions/gist-block.rb +1 -1
  309. data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +1 -1
  310. data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +1 -1
  311. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +1 -1
  312. data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +1 -1
  313. data/lib/starter_web/_plugins/asciidoctor-extensions/shout-block.rb +1 -1
  314. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +1 -1
  315. data/lib/starter_web/_plugins/debug.rb +1 -1
  316. data/lib/starter_web/_plugins/filters.rb +1 -1
  317. data/lib/starter_web/_plugins/lorem_inline.rb +99 -4
  318. data/lib/starter_web/_plugins/lunr_index.rb +5 -2
  319. data/lib/starter_web/_plugins/minifyJS.rb +1 -1
  320. data/lib/starter_web/_plugins/minifyJSON.rb +1 -1
  321. data/lib/starter_web/_plugins/prettify.rb +1 -1
  322. data/lib/starter_web/_plugins/simple_search_filter.rb +1 -1
  323. data/lib/starter_web/_plugins/symlink_watcher.rb +1 -1
  324. data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
  325. data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
  326. data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
  327. data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
  328. data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
  329. data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
  330. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +48 -43
  331. data/lib/starter_web/assets/images/pages/j1_webhooks/uml/auth_mgmr_signin_request_flow.uxf +632 -632
  332. data/lib/starter_web/assets/images/pages/j1_webhooks/uml/webhook_flow.uxf +648 -648
  333. data/lib/starter_web/assets/images/quotes/colored-1.jpg +0 -0
  334. data/lib/starter_web/assets/images/quotes/colored-2.jpg +0 -0
  335. data/lib/starter_web/assets/images/quotes/default.jpg +0 -0
  336. data/lib/starter_web/assets/images/quotes/light-blue.jpg +0 -0
  337. data/lib/starter_web/assets/images/quotes/people.jpg +0 -0
  338. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +9 -10
  339. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +6 -5
  340. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +6 -5
  341. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +198 -197
  342. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +1 -0
  343. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +31 -31
  344. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +6 -6
  345. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +6 -6
  346. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +6 -6
  347. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +6 -6
  348. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +430 -430
  349. data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/debug_variables.asciidoc +47 -48
  350. data/lib/starter_web/config.ru +23 -24
  351. data/lib/starter_web/dot.gitattributes +1 -1
  352. data/lib/starter_web/dot.nojekyll +19 -19
  353. data/lib/starter_web/package.json +51 -38
  354. data/lib/starter_web/pages/public/about/about_site.adoc +2 -0
  355. data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -6
  356. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +32 -11
  357. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +23 -6
  358. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
  359. data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
  360. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +15 -3
  361. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +16 -4
  362. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +11 -12
  363. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +47 -48
  364. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +1 -0
  365. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +14 -60
  366. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
  367. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  368. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  369. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  370. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  371. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  372. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  373. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +236 -237
  374. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +11 -19
  375. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -14
  376. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -11
  377. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -11
  378. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +11 -11
  379. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -11
  380. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -11
  381. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +11 -11
  382. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -11
  383. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -11
  384. data/lib/starter_web/pages/public/learn/where_to_go.adoc +6 -3
  385. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +4 -3
  386. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +4 -3
  387. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +5 -4
  388. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +7 -6
  389. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +4 -3
  390. data/lib/starter_web/pages/public/legal/en/500_support.adoc +4 -3
  391. data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +50 -55
  392. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -3
  393. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -19
  394. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +22 -30
  395. data/lib/starter_web/pages/public/previewer/iframer.adoc +13 -8
  396. data/lib/starter_web/pages/public/previewer/justified_gallery.html +15 -8
  397. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +10 -7
  398. data/lib/starter_web/pages/public/previewer/rouge.adoc +247 -10
  399. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +9 -7
  400. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  401. data/lib/starter_web/utilsrv/package.json +7 -7
  402. data/lib/starter_web/utilsrv/server.js +1 -1
  403. metadata +29 -69
  404. data/assets/themes/j1/core/css/bootstrap.css +0 -7154
  405. data/assets/themes/j1/core/css/bootstrap.min.css +0 -6
  406. data/assets/themes/j1/core/css/custom.scss +0 -28
  407. data/assets/themes/j1/core/css/globals.css +0 -14523
  408. data/assets/themes/j1/core/css/globals.min.css +0 -1
  409. data/assets/themes/j1/core/css/globals.scss +0 -28
  410. data/assets/themes/j1/core/css/theme_extensions.css +0 -11558
  411. data/assets/themes/j1/core/css/theme_extensions.min.css +0 -1
  412. data/assets/themes/j1/core/css/uno.css +0 -11823
  413. data/assets/themes/j1/core/css/uno.min.css +0 -1
  414. data/assets/themes/j1/core/css/uno.scss +0 -28
  415. data/assets/themes/j1/core/css/vendor.scss +0 -28
  416. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb.kapott +0 -234
  417. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.new.erb +0 -297
  418. data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +0 -151
  419. data/lib/starter_web/_data/modules/jekyll_search.yml +0 -33
  420. data/lib/starter_web/assets/images/quotes/default.png +0 -0
  421. data/lib/starter_web/assets/images/quotes/people.png +0 -0
  422. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -494
  423. data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +0 -218
  424. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/attributes.asciidoc +0 -34
  425. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
  426. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/debug_variables.asciidoc +0 -48
  427. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
  428. data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +0 -49
  429. data/lib/starter_web/pages/public/test_pages/_includes/documents/100_gistblock.asciidoc +0 -27
  430. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +0 -22
  431. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +0 -56
  432. data/lib/starter_web/pages/public/test_pages/breadcrumbs_tester.adoc +0 -62
  433. data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +0 -165
  434. data/lib/starter_web/pages/public/test_pages/floating_actions_button.adoc +0 -523
  435. data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +0 -208
  436. data/lib/starter_web/pages/public/test_pages/floating_div.adoc +0 -196
  437. data/lib/starter_web/pages/public/test_pages/lunr_tester.adoc +0 -89
  438. data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +0 -284
  439. data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +0 -196
  440. data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +0 -213
  441. data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +0 -210
  442. data/lib/starter_web/pages/public/test_pages/toccer_tester.adoc +0 -2245
  443. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/attributes.asciidoc +0 -117
  444. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -27
  445. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -11
  446. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  447. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  448. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -11
  449. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -11
  450. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -11
  451. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_table_3_column.asciidoc +0 -47
  452. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -11
  453. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -11
  454. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -11
  455. data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
  456. data/lib/starter_web/pages/public/test_pages/vtutorials/000_test_youtube_video.adoc +0 -141
  457. data/lib/starter_web/pages/public/test_pages/vtutorials/100_basic_video.adoc +0 -109
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one/j1-template/blob/master/LICENSE
@@ -182,7 +182,7 @@ end::tables[]
182
182
  // -----------------------------------------------------------------------------
183
183
  tag::products[]
184
184
  :j1-license: MIT License
185
- :j1-version: 2020.0.24
185
+ :j1-version: 2021.0.3
186
186
  end::products[]
187
187
 
188
188
 
@@ -1,19 +1,19 @@
1
- Copyright (C) [year] [full name]
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.
1
+ Copyright (C) [year] [full name]
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -1,45 +1,45 @@
1
- .Jekyll variables (Liquid)
2
- [cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
3
- |===============================================================================
4
- |Name |Value |Description
5
-
6
- |`page.path`
7
- |{{ page.path }}
8
- |The path to the raw post or page. Example usage: Linking back to the page
9
- or post's source on GitHub. This can be overridden in the `YAML Front Matter`.
10
-
11
- |`site.collections_dir`
12
- |{{ site.collections_dir }}
13
- |lorem:sentences[1]
14
-
15
- |`page.images.dir`
16
- |{{ page.images.dir }}
17
- |Image path set pagewise. See FRONTMATTER defaults in `_config.yml` for the
18
- images path specified by: `images.dir` for specific page *type*. See the
19
- example below for a page of type *pages*.
20
- [source, yaml]
21
- ----
22
- defaults:
23
- - scope:
24
- path: pages
25
- type: pages
26
-
27
- values:
28
- images:
29
- dir: /assets/images/pages
30
- ----
31
-
32
- |`page-imagesdir`
33
- |{{ page-imagesdir }}
34
- | Images path set in the page by `:page-imagesdir:`.
35
-
36
- |`template`
37
- |{{ site.template.name }}
38
- |Name of the template used for rendering a page. Settings are taken from
39
- sitewide configuration defined by `_config.yml`.
40
-
41
- |`includedir`
42
- |{{ includedir }}
43
- |lorem:sentences[1]
44
-
45
- |===============================================================================
1
+ .Jekyll variables (Liquid)
2
+ [cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
3
+ |===============================================================================
4
+ |Name |Value |Description
5
+
6
+ |`page.path`
7
+ |{{ page.path }}
8
+ |The path to the raw post or page. Example usage: Linking back to the page
9
+ or post's source on GitHub. This can be overridden in the `YAML Front Matter`.
10
+
11
+ |`site.collections_dir`
12
+ |{{ site.collections_dir }}
13
+ |lorem:sentences[1]
14
+
15
+ |`page.images.dir`
16
+ |{{ page.images.dir }}
17
+ |Image path set pagewise. See FRONTMATTER defaults in `_config.yml` for the
18
+ images path specified by: `images.dir` for specific page *type*. See the
19
+ example below for a page of type *pages*.
20
+ [source, yaml]
21
+ ----
22
+ defaults:
23
+ - scope:
24
+ path: pages
25
+ type: pages
26
+
27
+ values:
28
+ images:
29
+ dir: /assets/images/pages
30
+ ----
31
+
32
+ |`page-imagesdir`
33
+ |{{ page-imagesdir }}
34
+ | Images path set in the page by `:page-imagesdir:`.
35
+
36
+ |`template`
37
+ |{{ site.template.name }}
38
+ |Name of the template used for rendering a page. Settings are taken from
39
+ sitewide configuration defined by `_config.yml`.
40
+
41
+ |`includedir`
42
+ |{{ includedir }}
43
+ |lorem:sentences[1]
44
+
45
+ |===============================================================================
@@ -1,46 +1,46 @@
1
- .Template variables (Asciidoc)
2
- [cols="cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
3
- |===============================================================================
4
- |Name |Value |Description
5
-
6
- |`content_root`
7
- |{content_root}
8
- |Path to the document source folder *relative* to the current content *source
9
- type* (`post` or `page`)
10
-
11
- |`page_root`
12
- |{page_root}
13
- |Path to the document folder seen *absolute* from the current content *source
14
- type* (`post` or `page`)
15
-
16
- |`globalincludedir`
17
- |{globalincludedir}
18
- |Path to the *global* includes folder *relative* to the current content *source
19
- type* (`post` or `page`)
20
-
21
- |`globaltablesdir`
22
- |{globaltablesdir}
23
- |Path to the *global* includes folder for *tables* *relative* to the current
24
- content *source type* (`post` or `page`)
25
-
26
- |`globaldocumentsdir`
27
- |{globaldocumentsdir}
28
- |Path to the *global* includes folder for *documents* *relative* to the current
29
- content *source type* (`post` or `page`)
30
-
31
- |`includedir`
32
- |{includedir}
33
- |Path to the *local* includes folder seen *absolute* from the current
34
- content *source type* (`post` or `page`)
35
-
36
- |`documentdir`
37
- |{documentdir}
38
- |Path to the *local* include folder for *documents* seen *absolute*
39
- from the current content *source type* (`post` or `page`)
40
-
41
- |`tabledir`
42
- |{tabledir}
43
- |Path to the *local* include folder for *tables* seen *absolute*
44
- from the current content *source type* (`post` or `page`)
45
-
46
- |===============================================================================
1
+ .Template variables (Asciidoc)
2
+ [cols="cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
3
+ |===============================================================================
4
+ |Name |Value |Description
5
+
6
+ |`content_root`
7
+ |{content_root}
8
+ |Path to the document source folder *relative* to the current content *source
9
+ type* (`post` or `page`)
10
+
11
+ |`page_root`
12
+ |{page_root}
13
+ |Path to the document folder seen *absolute* from the current content *source
14
+ type* (`post` or `page`)
15
+
16
+ |`globalincludedir`
17
+ |{globalincludedir}
18
+ |Path to the *global* includes folder *relative* to the current content *source
19
+ type* (`post` or `page`)
20
+
21
+ |`globaltablesdir`
22
+ |{globaltablesdir}
23
+ |Path to the *global* includes folder for *tables* *relative* to the current
24
+ content *source type* (`post` or `page`)
25
+
26
+ |`globaldocumentsdir`
27
+ |{globaldocumentsdir}
28
+ |Path to the *global* includes folder for *documents* *relative* to the current
29
+ content *source type* (`post` or `page`)
30
+
31
+ |`includedir`
32
+ |{includedir}
33
+ |Path to the *local* includes folder seen *absolute* from the current
34
+ content *source type* (`post` or `page`)
35
+
36
+ |`documentdir`
37
+ |{documentdir}
38
+ |Path to the *local* include folder for *documents* seen *absolute*
39
+ from the current content *source type* (`post` or `page`)
40
+
41
+ |`tabledir`
42
+ |{tabledir}
43
+ |Path to the *local* include folder for *tables* seen *absolute*
44
+ from the current content *source type* (`post` or `page`)
45
+
46
+ |===============================================================================
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # For details, see https://jekyll.one
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # http://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,7 +5,7 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -5,10 +5,14 @@
5
5
  # Product/Info:
6
6
  # https://jekyll.one
7
7
  #
8
- # Copyright (C) 2020 Juergen Adams
8
+ # Copyright (C) 2021 Juergen Adams
9
+ # Copyright (c) 2010 Travis Dunn
9
10
  #
10
11
  # J1 Template is licensed under the MIT License.
11
12
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
+ # Lorem adapted from Frank
14
+ # Frank is licensed under the MIT License.
15
+ # See: https://github.com/blahed/frank/blob/master/LICENSE
12
16
  # ------------------------------------------------------------------------------
13
17
  # An extension that implements several type of (lorem) blind text
14
18
  #
@@ -18,14 +22,105 @@
18
22
  # lorem::type[size]
19
23
  #
20
24
  # ------------------------------------------------------------------------------
21
- require 'middleman-core'
22
- require 'middleman-core/extensions/lorem'
25
+ require 'rack'
23
26
  require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
24
27
 
25
28
  include Asciidoctor
26
29
 
30
+ WORDS = %w(alias consequatur aut perferendis sit voluptatem accusantium doloremque aperiam eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo aspernatur aut odit aut fugit sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt neque dolorem ipsum quia dolor sit amet consectetur adipisci velit sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem ut enim ad minima veniam quis nostrum exercitationem ullam corporis nemo enim ipsam voluptatem quia voluptas sit suscipit laboriosam nisi ut aliquid ex ea commodi consequatur quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae et iusto odio dignissimos ducimus qui blanditiis praesentium laudantium totam rem voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident sed ut perspiciatis unde omnis iste natus error similique sunt in culpa qui officia deserunt mollitia animi id est laborum et dolorum fuga et harum quidem rerum facilis est et expedita distinctio nam libero tempore cum soluta nobis est eligendi optio cumque nihil impedit quo porro quisquam est qui minus id quod maxime placeat facere possimus omnis voluptas assumenda est omnis dolor repellendus temporibus autem quibusdam et aut consequatur vel illum qui dolorem eum fugiat quo voluptas nulla pariatur at vero eos et accusamus officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae itaque earum rerum hic tenetur a sapiente delectus ut aut reiciendis voluptatibus maiores doloribus asperiores repellat)
31
+
27
32
  Asciidoctor::Extensions.register do
28
33
 
34
+ module Lorem
35
+ class LoremObject
36
+
37
+ def word(replacement = nil)
38
+ words 1, replacement
39
+ end
40
+
41
+ def words(total, replacement = nil)
42
+ (1..total).map do
43
+ randm(WORDS)
44
+ end.join(' ')
45
+ end
46
+
47
+ def sentence(replacement = nil)
48
+ sentences 1, replacement
49
+ end
50
+
51
+ def sentences(total, replacement = nil)
52
+ (1..total).map do
53
+ words(randm(4..15)).capitalize
54
+ end.join('. ')
55
+ end
56
+
57
+ def paragraph(replacement = nil)
58
+ paragraphs 1, replacement
59
+ end
60
+
61
+ def paragraphs(total, replacement = nil)
62
+ (1..total).map do
63
+ sentences(randm(3..7), replacement).capitalize
64
+ end.join("\n\n")
65
+ end
66
+
67
+ def date(fmt = '%a %b %d, %Y', range = 1950..2010, replacement = nil)
68
+ y = rand(range.last - range.first) + range.first
69
+ m = rand(12) + 1
70
+ d = rand(31) + 1
71
+ Time.local(y,m,d).strftime(fmt)
72
+ end
73
+
74
+ def name(replacement = nil)
75
+ "#{first_name} #{last_name}"
76
+ end
77
+
78
+ def first_name(replacement = nil)
79
+ names = %w(Judith Angelo Margarita Kerry Elaine Lorenzo Justice Doris Raul Liliana Kerry Elise Ciaran Johnny Moses Davion Penny Mohammed Harvey Sheryl Hudson Brendan Brooklynn Denis Sadie Trisha Jacquelyn Virgil Cindy Alexa Marianne Giselle Casey Alondra Angela Katherine Skyler Kyleigh Carly Abel Adrianna Luis Dominick Eoin Noel Ciara Roberto Skylar Brock Earl Dwayne Jackie Hamish Sienna Nolan Daren Jean Shirley Connor Geraldine Niall Kristi Monty Yvonne Tammie Zachariah Fatima Ruby Nadia Anahi Calum Peggy Alfredo Marybeth Bonnie Gordon Cara John Staci Samuel Carmen Rylee Yehudi Colm Beth Dulce Darius inley Javon Jason Perla Wayne Laila Kaleigh Maggie Don Quinn Collin Aniya Zoe Isabel Clint Leland Esmeralda Emma Madeline Byron Courtney Vanessa Terry Antoinette George Constance Preston Rolando Caleb Kenneth Lynette Carley Francesca Johnnie Jordyn Arturo Camila Skye Guy Ana Kaylin Nia Colton Bart Brendon Alvin Daryl Dirk Mya Pete Joann Uriel Alonzo Agnes Chris Alyson Paola Dora Elias Allen Jackie Eric Bonita Kelvin Emiliano Ashton Kyra Kailey Sonja Alberto Ty Summer Brayden Lori Kelly Tomas Joey Billie Katie Stephanie Danielle Alexis Jamal Kieran Lucinda Eliza Allyson Melinda Alma Piper Deana Harriet Bryce Eli Jadyn Rogelio Orlaith Janet Randal Toby Carla Lorie Caitlyn Annika Isabelle inn Ewan Maisie Michelle Grady Ida Reid Emely Tricia Beau Reese Vance Dalton Lexi Rafael Makenzie Mitzi Clinton Xena Angelina Kendrick Leslie Teddy Jerald Noelle Neil Marsha Gayle Omar Abigail Alexandra Phil Andre Billy Brenden Bianca Jared Gretchen Patrick Antonio Josephine Kyla Manuel Freya Kellie Tonia Jamie Sydney Andres Ruben Harrison Hector Clyde Wendell Kaden Ian Tracy Cathleen Shawn)
80
+ names[rand(names.size)]
81
+ end
82
+
83
+ def last_name(replacement = nil)
84
+ names = %w(Chung Chen Melton Hill Puckett Song Hamilton Bender Wagner McLaughlin McNamara Raynor Moon Woodard Desai Wallace Lawrence Griffin Dougherty Powers May Steele Teague Vick Gallagher Solomon Walsh Monroe Connolly Hawkins Middleton Goldstein Watts Johnston Weeks Wilkerson Barton Walton Hall Ross Chung Bender Woods Mangum Joseph Rosenthal Bowden Barton Underwood Jones Baker Merritt Cross Cooper Holmes Sharpe Morgan Hoyle Allen Rich Rich Grant Proctor Diaz Graham Watkins Hinton Marsh Hewitt Branch Walton O'Brien Case Watts Christensen Parks Hardin Lucas Eason Davidson Whitehead Rose Sparks Moore Pearson Rodgers Graves Scarborough Sutton Sinclair Bowman Olsen Love McLean Christian Lamb James Chandler Stout Cowan Golden Bowling Beasley Clapp Abrams Tilley Morse Boykin Sumner Cassidy Davidson Heath Blanchard McAllister McKenzie Byrne Schroeder Griffin Gross Perkins Robertson Palmer Brady Rowe Zhang Hodge Li Bowling Justice Glass Willis Hester Floyd Graves Fischer Norman Chan Hunt Byrd Lane Kaplan Heller May Jennings Hanna Locklear Holloway Jones Glover Vick O'Donnell Goldman McKenna Starr Stone McClure Watson Monroe Abbott Singer Hall Farrell Lucas Norman Atkins Monroe Robertson Sykes Reid Chandler Finch Hobbs Adkins Kinney Whitaker Alexander Conner Waters Becker Rollins Love Adkins Black Fox Hatcher Wu Lloyd Joyce Welch Matthews Chappell MacDonald Kane Butler Pickett Bowman Barton Kennedy Branch Thornton McNeill Weinstein Middleton Moss Lucas Rich Carlton Brady Schultz Nichols Harvey Stevenson Houston Dunn West O'Brien Barr Snyder Cain Heath Boswell Olsen Pittman Weiner Petersen Davis Coleman Terrell Norman Burch Weiner Parrott Henry Gray Chang McLean Eason Weeks Siegel Puckett Heath Hoyle Garrett Neal Baker Goldman Shaffer Choi Carver)
85
+ names[rand(names.size)]
86
+ end
87
+
88
+ def email(replacement = nil)
89
+ delimiters = [ '_', '-', '' ]
90
+ domains = %w(gmail.com yahoo.com hotmail.com email.com live.com me.com mac.com aol.com fastmail.com mail.com)
91
+ username = name.gsub(/[^\w]/, delimiters[rand(delimiters.size)])
92
+ "#{username}@#{domains[rand(domains.size)]}".downcase
93
+ end
94
+
95
+ def image(size, options={})
96
+ src = "http://placehold.it/#{size}"
97
+ hex = %w[a b c d e f 0 1 2 3 4 5 6 7 8 9]
98
+ background_color = options[:background_color]
99
+ color = options[:color]
100
+
101
+ if options[:random_color]
102
+ background_color = hex.shuffle[0...6].join
103
+ color = hex.shuffle[0...6].join
104
+ end
105
+
106
+ src << "/#{background_color.sub(/^#/, '')}" if background_color
107
+ src << "/ccc" if background_color.nil? && color
108
+ src << "/#{color.sub(/^#/, '')}" if color
109
+ src << "&text=#{Rack::Utils::escape(options[:text])}" if options[:text]
110
+
111
+ src
112
+ end
113
+
114
+ private
115
+
116
+ def randm(range)
117
+ a = range.to_a
118
+ a[rand(a.length)]
119
+ end
120
+
121
+ end
122
+ end
123
+
29
124
  class LoremInlineMacro < Extensions::InlineMacroProcessor
30
125
  use_dsl
31
126
  named :lorem
@@ -37,7 +132,7 @@ Asciidoctor::Extensions.register do
37
132
  end
38
133
 
39
134
  def process parent, target, attributes
40
- lorem = Middleman::Extensions::Lorem::LoremObject
135
+ lorem = Lorem::LoremObject.new
41
136
  method = target.to_sym
42
137
  if lorem.respond_to? method
43
138
  if (attributes.has_key? 'arg')