j1-template 2020.0.17 → 2020.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +2 -2
  3. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +2 -2
  4. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +4 -4
  5. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
  6. data/_includes/themes/j1/blocks/footer/generator.html +2 -2
  7. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +21 -18
  8. data/_includes/themes/j1/layouts/content_generator_collection.html +4 -4
  9. data/_includes/themes/j1/layouts/content_generator_page.html +11 -59
  10. data/_includes/themes/j1/layouts/content_generator_post.html +7 -7
  11. data/_includes/themes/j1/layouts/layout_metadata_generator.html +2 -2
  12. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +1 -1
  13. data/_includes/themes/j1/modules/connectors/ads +2 -2
  14. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -1
  15. data/_includes/themes/j1/modules/connectors/analytics +2 -2
  16. data/_includes/themes/j1/modules/connectors/comment/disqus.html +1 -1
  17. data/_includes/themes/j1/modules/connectors/comments +2 -2
  18. data/_includes/themes/j1/modules/connectors/translator +2 -2
  19. data/_includes/themes/j1/modules/navigator/generator.html +9 -5
  20. data/_includes/themes/j1/procedures/global/attributes_loader.proc +117 -0
  21. data/_includes/themes/j1/procedures/global/create_bs_button.proc +11 -10
  22. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +14 -12
  23. data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
  24. data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +3 -3
  25. data/_includes/themes/j1/procedures/global/setup.proc +9 -9
  26. data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -2
  27. data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
  28. data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
  29. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +38 -39
  30. data/_layouts/blog_archive.html +4 -3
  31. data/_layouts/collection.html +1 -1
  32. data/_layouts/default.html +3 -3
  33. data/_layouts/home.html +3 -3
  34. data/_layouts/page.html +2 -2
  35. data/_layouts/post.html +3 -3
  36. data/apps/public/cc/cc.yml +3 -5
  37. data/assets/data/authclient.html +7 -7
  38. data/assets/data/banner.html +31 -26
  39. data/assets/data/carousel.json +1 -1
  40. data/assets/data/cookiebar.html +21 -17
  41. data/assets/data/footer.html +1 -1
  42. data/assets/data/galleries.json +1 -1
  43. data/assets/data/gallery_customizer.html +2 -2
  44. data/assets/data/mdi_icons.json +1 -1
  45. data/assets/data/menu.html +6 -6
  46. data/assets/data/mmenu.html +6 -6
  47. data/assets/data/mmenu_sidebar.html +1 -1
  48. data/assets/data/mmenu_toc.html +1 -1
  49. data/assets/data/panel.html +191 -125
  50. data/assets/data/quicklinks.html +3 -3
  51. data/assets/data/search.json +2 -2
  52. data/assets/data/ssm.html +2 -2
  53. data/assets/data/themes.json +9 -7
  54. data/assets/data/twa_v1.json +1 -1
  55. data/assets/themes/j1/adapter/js/algolia.js +2 -2
  56. data/assets/themes/j1/adapter/js/attic.js +2 -2
  57. data/assets/themes/j1/adapter/js/back2top.js +8 -10
  58. data/assets/themes/j1/adapter/js/{mdb.js → bmd.js} +11 -11
  59. data/assets/themes/j1/adapter/js/carousel.js +136 -135
  60. data/assets/themes/j1/adapter/js/clipboard.js +3 -3
  61. data/assets/themes/j1/adapter/js/cookiebar.js +1 -1
  62. data/assets/themes/j1/adapter/js/framer.js +2 -6
  63. data/assets/themes/j1/adapter/js/gallery_customizer.js +2 -2
  64. data/assets/themes/j1/adapter/js/j1.js +45 -21
  65. data/assets/themes/j1/adapter/js/jf_gallery.js +2 -2
  66. data/assets/themes/j1/adapter/js/lightbox.js +2 -2
  67. data/assets/themes/j1/adapter/js/logger.js +2 -2
  68. data/assets/themes/j1/adapter/js/mmenu.js +17 -11
  69. data/assets/themes/j1/adapter/js/navigator.js +139 -67
  70. data/assets/themes/j1/adapter/js/rouge.js +246 -0
  71. data/assets/themes/j1/adapter/js/rtable.js +181 -0
  72. data/assets/themes/j1/adapter/js/searcher.js +2 -2
  73. data/assets/themes/j1/adapter/js/ssm.js +28 -11
  74. data/assets/themes/j1/adapter/js/themer.js +68 -122
  75. data/assets/themes/j1/adapter/js/toccer.js +10 -2
  76. data/assets/themes/j1/core/css/animate.css +17 -0
  77. data/assets/themes/j1/core/css/{fontawesome.css → icon-fonts/fontawesome.css} +31 -12
  78. data/assets/themes/j1/core/css/{fontawesome.min.css → icon-fonts/fontawesome.min.css} +0 -0
  79. data/assets/themes/j1/core/css/{iconify-icons.css → icon-fonts/iconify.css} +51 -38
  80. data/assets/themes/j1/core/css/{iconify-icons.min.css → icon-fonts/iconify.min.css} +1 -1
  81. data/assets/themes/j1/core/css/{material-design-icons.css → icon-fonts/materialdesign.css} +326 -244
  82. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -0
  83. data/assets/themes/j1/core/css/{twemoji.css → icon-fonts/twemoji.css} +61 -51
  84. data/assets/themes/j1/core/css/{twemoji.min.css → icon-fonts/twemoji.min.css} +0 -0
  85. data/assets/themes/j1/core/css/{bootstrap.css → themes/bootstrap/bootstrap.css} +54 -48
  86. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +6 -0
  87. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +8115 -0
  88. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +6 -0
  89. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +22415 -0
  90. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +8 -0
  91. data/assets/themes/j1/core/css/vendor.css +116 -13448
  92. data/assets/themes/j1/core/css/vendor.min.css +1 -7
  93. data/assets/themes/j1/core/js/template.js +2 -2
  94. data/assets/themes/j1/core/js/template.js.map +1 -1
  95. data/assets/themes/j1/core/js/template.min.js +1 -1
  96. data/assets/themes/j1/modules/backstretch/js/backstretch.js +12 -13
  97. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +12 -13
  98. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.full.js +6930 -0
  99. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +46 -38
  100. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +19 -13
  101. data/assets/themes/j1/modules/carousel/css/carousel.css +8 -9
  102. data/assets/themes/j1/modules/carousel/css/carousel.min.css +7 -9
  103. data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +7 -8
  104. data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +7 -9
  105. data/assets/themes/j1/modules/carousel/css/theme/uno.css +15 -10
  106. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +8 -9
  107. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +7 -7
  108. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +8 -45
  109. data/assets/themes/j1/modules/jquery/js/jquery.js +7 -4
  110. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
  111. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +8 -9
  112. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +8 -31
  113. data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +7 -8
  114. data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +8 -10
  115. data/assets/themes/j1/modules/lightbox/css/lightbox.css +11 -12
  116. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +11 -12
  117. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +7 -7
  118. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +7 -8
  119. data/assets/themes/j1/modules/lightbox/js/lightbox.js +11 -12
  120. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +11 -27
  121. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +82 -0
  122. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +15 -0
  123. data/{lib/starter_web/collections/posts/private → assets/themes/j1/modules/mdiPreviewer/js}/readme +0 -0
  124. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +3 -3
  125. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +37 -11
  126. data/assets/themes/j1/modules/popper/js/popper.js +1 -1
  127. data/assets/themes/j1/modules/popper/js/popper.js.map +1 -1
  128. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -1
  129. data/assets/themes/j1/modules/rouge/js/select.js +25 -0
  130. data/assets/themes/j1/modules/rtable/LICENSE +22 -0
  131. data/assets/themes/j1/modules/rtable/README.md +418 -0
  132. data/assets/themes/j1/modules/rtable/css/tablesaw.stackonly.css +148 -0
  133. data/assets/themes/j1/modules/rtable/css/theme/uno.css +191 -0
  134. data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +191 -0
  135. data/assets/themes/j1/modules/rtable/js/rtable.js +692 -0
  136. data/assets/themes/j1/modules/rtable/js/rtable.min.js +690 -0
  137. data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +18 -0
  138. data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +2371 -0
  139. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +27 -21
  140. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +8 -82
  141. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +153 -0
  142. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +19 -0
  143. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +12 -13
  144. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +12 -268
  145. data/assets/themes/j1/modules/twemoji/js/twemoji.js +11 -20
  146. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +11 -17
  147. data/lib/j1/version.rb +1 -1
  148. data/lib/j1_app/j1_auth_manager/config.rb +10 -5
  149. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +5 -5
  150. data/lib/starter_web/Gemfile +1 -1
  151. data/lib/starter_web/_config.yml +75 -9
  152. data/lib/starter_web/_data/apps/carousel.yml +8 -9
  153. data/lib/starter_web/_data/apps/defaults/carousel.yml +2 -3
  154. data/lib/starter_web/_data/apps/defaults/gallery_customizer.yml +1 -2
  155. data/lib/starter_web/_data/apps/defaults/justified_gallery.yml +1 -2
  156. data/lib/starter_web/_data/apps/defaults/light_gallery.yml +1 -2
  157. data/lib/starter_web/_data/apps/defaults/lightbox.yml +1 -2
  158. data/lib/starter_web/_data/apps/gallery_customizer.yml +1 -2
  159. data/lib/starter_web/_data/apps/justified_gallery.yml +4 -5
  160. data/lib/starter_web/_data/apps/light_gallery.yml +1 -2
  161. data/lib/starter_web/_data/apps/lightbox.yml +1 -2
  162. data/lib/starter_web/_data/blocks/banner.yml +46 -37
  163. data/lib/starter_web/_data/blocks/defaults/banner.yml +17 -17
  164. data/lib/starter_web/_data/blocks/defaults/footer.yml +2 -3
  165. data/lib/starter_web/_data/blocks/defaults/panel.yml +6 -6
  166. data/lib/starter_web/_data/blocks/footer.yml +2 -3
  167. data/lib/starter_web/_data/blocks/panel.yml +43 -38
  168. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -2
  169. data/lib/starter_web/_data/{template_settings.yml → j1_config.yml} +55 -5
  170. data/lib/starter_web/_data/layouts/app.yml +1 -2
  171. data/lib/starter_web/_data/layouts/blog_archive.yml +1 -2
  172. data/lib/starter_web/_data/layouts/collection.yml +1 -2
  173. data/lib/starter_web/_data/layouts/home.yml +10 -31
  174. data/lib/starter_web/_data/layouts/post.yml +1 -2
  175. data/lib/starter_web/_data/layouts/raw.yml +1 -2
  176. data/lib/starter_web/_data/modules/advertising.yml +0 -1
  177. data/lib/starter_web/_data/modules/attics.yml +0 -1
  178. data/lib/starter_web/_data/modules/authentication.yml +0 -1
  179. data/lib/starter_web/_data/modules/back2top.yml +1 -1
  180. data/lib/starter_web/_data/modules/defaults/attics.yml +0 -1
  181. data/lib/starter_web/_data/modules/defaults/authentication.yml +0 -1
  182. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +3 -1
  183. data/lib/starter_web/_data/modules/defaults/framer.yml +1 -3
  184. data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +0 -1
  185. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +4 -5
  186. data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -2
  187. data/lib/starter_web/_data/modules/defaults/navigator.yml +6 -6
  188. data/lib/starter_web/_data/modules/defaults/stickybits.yml +1 -2
  189. data/lib/starter_web/_data/modules/defaults/themer.yml +10 -15
  190. data/lib/starter_web/_data/modules/defaults/toccer.yml +0 -1
  191. data/lib/starter_web/_data/modules/framer.yml +1 -2
  192. data/lib/starter_web/_data/modules/log4javascript.yml +4 -5
  193. data/lib/starter_web/_data/modules/log4r.yml +1 -2
  194. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  195. data/lib/starter_web/_data/modules/themer.yml +0 -17
  196. data/lib/starter_web/_data/private.yml +56 -108
  197. data/lib/starter_web/_data/resources.yml +139 -38
  198. data/lib/starter_web/_includes/attributes.asciidoc +194 -0
  199. data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -0
  200. data/lib/starter_web/{collections/posts/protected → _includes/documents}/readme +0 -0
  201. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +45 -0
  202. data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -0
  203. data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
  204. data/lib/starter_web/assets/images/modules/attics/tldr-1920x800.jpg +0 -0
  205. data/lib/starter_web/assets/images/modules/icons/j1/favicon.ico +0 -0
  206. data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.png +0 -0
  207. data/lib/starter_web/assets/images/modules/icons/j1/j1-32x32.ico +0 -0
  208. data/lib/starter_web/assets/images/modules/icons/j1/j1-512x512.png +0 -0
  209. data/lib/starter_web/assets/images/modules/icons/j1/j1-64x64.png +0 -0
  210. data/lib/starter_web/assets/images/modules/icons/j1/j1.ico +0 -0
  211. data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +31 -35
  212. data/{assets/README.md → lib/starter_web/collections/posts/private/_posts/readme} +0 -0
  213. data/lib/starter_web/collections/posts/protected/_posts/readme +0 -0
  214. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +70 -72
  215. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +17 -5
  216. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +33 -26
  217. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +25 -22
  218. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +38 -0
  219. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +0 -0
  220. data/lib/starter_web/collections/posts/public/featured/_posts/{000_includes → _includes/documents}/unsplash-badge.asciidoc +0 -0
  221. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/tables/readme +0 -0
  222. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +493 -502
  223. data/lib/starter_web/collections/posts/public/{featured/_posts/000_includes → series/_posts/_includes}/attributes.asciidoc +8 -18
  224. data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/100-docker-using-shared-folders.asciidoc +0 -0
  225. data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/loop.sh +0 -0
  226. data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/tables/debug_variables.asciidoc +0 -0
  227. data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +220 -0
  228. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/000_includes → test_posts/_posts/_includes}/attributes.asciidoc +9 -21
  229. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
  230. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/000_includes → test_posts/_posts/_includes}/tables/debug_variables.asciidoc +0 -0
  231. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
  232. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +14 -5
  233. data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/attributes.asciidoc +37 -0
  234. data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/documents/readme +0 -0
  235. data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/tables/readme +0 -0
  236. data/lib/starter_web/package.json +2 -2
  237. data/lib/starter_web/pages/protected/site_search.adoc +8 -19
  238. data/lib/starter_web/pages/public/blog/navigator/archive.html +13 -19
  239. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +14 -20
  240. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +14 -20
  241. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +12 -13
  242. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +12 -17
  243. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +14 -20
  244. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +13 -19
  245. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/attributes.asciidoc +15 -13
  246. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +31 -0
  247. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/documents/200_preparations.asciidoc +0 -0
  248. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/documents/300_first_awesome_web.asciidoc +0 -0
  249. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/parts.asciidoc +1 -1
  250. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +48 -0
  251. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -0
  252. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +83 -102
  253. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +42 -52
  254. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +48 -60
  255. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +75 -86
  256. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +108 -133
  257. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +28 -39
  258. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +228 -92
  259. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +140 -56
  260. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/attributes.asciidoc +10 -29
  261. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +28 -0
  262. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_info.asciidoc +2 -2
  263. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_left_warning.asciidoc +2 -2
  264. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_right_danger.asciidoc +2 -2
  265. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_central_success.asciidoc +2 -2
  266. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_full_height_left_info.asciidoc +2 -2
  267. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_full_height_right_success.asciidoc +2 -2
  268. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_table_3_column.asciidoc +1 -1
  269. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_info.asciidoc +2 -2
  270. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_left_info.asciidoc +2 -2
  271. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_right_success.asciidoc +2 -2
  272. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/419_advanced_modals_demo.asciidoc +16 -16
  273. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
  274. data/lib/starter_web/pages/public/learn/{whats_up.adoc → where_to_go.adoc} +27 -41
  275. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +5 -11
  276. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +25 -31
  277. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +3 -2
  278. data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +1 -1
  279. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +66 -65
  280. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/attributes.asciidoc +22 -8
  281. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -0
  282. data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
  283. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  284. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  285. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
  286. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/200_rotate.asciidoc +1 -1
  287. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/300_flip.asciidoc +1 -1
  288. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  289. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  290. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  291. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  292. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  293. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  294. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  295. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  296. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  297. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/300_flip.asciidoc +1 -1
  298. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  299. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1371 -595
  300. data/lib/starter_web/pages/public/previewer/iframer.adoc +2 -8
  301. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +11 -20
  302. data/lib/starter_web/pages/public/previewer/rouge.adoc +200 -0
  303. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +23 -30
  304. data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +49 -0
  305. data/lib/starter_web/pages/public/{learn/roundtrip/000_includes → test_pages/_includes}/documents/100_gistblock.asciidoc +0 -0
  306. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +22 -0
  307. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +56 -0
  308. data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +162 -0
  309. data/lib/starter_web/pages/public/{learn/examples → test_pages}/floating_ad.adoc +7 -21
  310. data/lib/starter_web/pages/public/{learn/examples → test_pages}/floating_div.adoc +24 -38
  311. data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +283 -0
  312. data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +195 -0
  313. data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +212 -0
  314. data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +209 -0
  315. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/attributes.asciidoc +0 -0
  316. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -0
  317. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -0
  318. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -0
  319. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -0
  320. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -0
  321. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -0
  322. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -0
  323. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  324. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -0
  325. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -0
  326. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -0
  327. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -0
  328. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_test_youtube_video.adoc +0 -0
  329. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/100_basic_video.adoc +0 -0
  330. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  331. data/lib/starter_web/utilsrv/package.json +1 -1
  332. metadata +134 -124
  333. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc.org +0 -40
  334. data/assets/data/jupyter/notebooks/_html/template.full.head.html +0 -75
  335. data/assets/data/jupyter/notebooks/_html/visualisation.html +0 -968
  336. data/assets/data/jupyter/notebooks/html/template.html +0 -50
  337. data/assets/data/jupyter/notebooks/html/visualisation.ok.html +0 -949
  338. data/assets/data/jupyter/notebooks/tutorial.ipynb +0 -169
  339. data/assets/data/jupyter/notebooks/visualisation.ipynb +0 -9413
  340. data/assets/themes/j1/core/css/bootstrap.min.css +0 -6
  341. data/assets/themes/j1/core/css/material-design-icons.min.css +0 -1
  342. data/assets/themes/j1/core/css/theme_extensions.css +0 -9812
  343. data/assets/themes/j1/core/css/theme_extensions.min.css +0 -1
  344. data/assets/themes/j1/core/css/uno.css +0 -10247
  345. data/assets/themes/j1/core/css/uno.min.css +0 -1
  346. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +0 -1
  347. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +0 -10278
  348. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +0 -1
  349. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +0 -7
  350. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +0 -1
  351. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +0 -4420
  352. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +0 -1
  353. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +0 -7
  354. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +0 -1
  355. data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +0 -203
  356. data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +0 -235
  357. data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +0 -509
  358. data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +0 -122
  359. data/assets/themes/j1/modules/jqMouseWheel/README.md +0 -76
  360. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +0 -221
  361. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +0 -9
  362. data/assets/themes/j1/modules/noUISlider/LICENSE +0 -13
  363. data/assets/themes/j1/modules/noUISlider/css/nouislider.css +0 -260
  364. data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +0 -1
  365. data/assets/themes/j1/modules/noUISlider/js/nouislider.js +0 -2312
  366. data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +0 -3
  367. data/assets/themes/j1/modules/polyfills/js/msie.js +0 -140
  368. data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +0 -132
  369. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
  370. data/lib/starter_web/collections/posts/public/series/_posts/000_includes/attributes.asciidoc +0 -66
  371. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  372. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +0 -120
  373. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +0 -144
  374. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +0 -642
  375. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/attributes.asciidoc +0 -69
  376. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/documents/100_buttons.asciidoc +0 -170
  377. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +0 -52
  378. data/lib/starter_web/pages/public/learn/roundtrip/bs_tour.js +0 -98
@@ -0,0 +1,195 @@
1
+ ---
2
+ title: Attribute Tester
3
+ tagline: global attributes for pages
4
+ description:
5
+
6
+ tags: [ Page, Tester ]
7
+ index: [ Template, Tester, Attribute ]
8
+ categories: [ pages ]
9
+
10
+ permalink: /pages/public/test_pages/page_attribute_tester/
11
+ regenerate: false
12
+
13
+ toc: true
14
+ advertising: false
15
+
16
+ resources: [ rouge ]
17
+ resource_options:
18
+ # - ssm:
19
+ # mode: menu
20
+ - attic:
21
+ padding_top: 400
22
+ padding_bottom: 50
23
+ opacity: 0.3
24
+ slides:
25
+ - url: /assets/images/pages/roundtrip/typography-1920x1280-bw.jpg
26
+ alt: Photo by Alice Donovan Rousel on Unsplash
27
+ preload: 0
28
+ transitionDuration: fast
29
+ resolutionRefreshRate: 500
30
+ badge:
31
+ type: unsplash
32
+ author: Alice Donovan Rousel
33
+ href: https://unsplash.com/@alicekat/portfolio
34
+ ---
35
+
36
+ // Page Initializer
37
+ // =============================================================================
38
+ // Enable the Liquid Preprocessor
39
+ :page-liquid:
40
+
41
+ // Set page (local) attributes here
42
+ // -----------------------------------------------------------------------------
43
+ :debug: true
44
+ :content: false
45
+
46
+ // Load Liquid procedures
47
+ // -----------------------------------------------------------------------------
48
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
49
+
50
+ // Load page attributes
51
+ // -----------------------------------------------------------------------------
52
+ {% include {{load_attributes}} scope="global" %}
53
+
54
+
55
+ // Page content
56
+ // =============================================================================
57
+ ifeval::[{debug} == true]
58
+ == Notes
59
+
60
+ The Liquid preprocessor not applied to included AsciiDoc files by the
61
+ *jekyll-asciidoc* plugin.
62
+
63
+ See::
64
+ * link:{url-asciidoctor-plugin--issue_166}[Plugin {char-middot} jekyll-asciidoc {char-middot} issue #166, {browser-window--new}] +
65
+ * link:{url__asciidoctor-plugin--issue_166}[Plugin {char-middot} jekyll-asciidoc {char-middot} issue #166, {browser-window--new}]
66
+
67
+ Comments::
68
+ *mojavelinux* commented on 3 Oct 2017
69
+
70
+ [source, text, role="mb-5"]
71
+ ----
72
+ The problem is that the liquid filter is applied to the raw source, before
73
+ the AsciiDoc plugin gets involved. That step doesn't know anything about
74
+ AsciiDoc includes, so it only looks at the flat source. Then Asciidoctor
75
+ comes in and converts the content. Only then is the include file folded in,
76
+ but Asciidoctor doesn't know anything about liquid. That's why the liquid
77
+ tags are not processed in the include file.
78
+
79
+ There was never a test for this scenario, which is why it got overlooked.
80
+
81
+ In order to solve this, we'd need to introduce a custom IncludeProcessor
82
+ that applies the liquid filter on the included content. At the moment,
83
+ that has side effects, so it needs to be handled carefully.
84
+ ----
85
+
86
+ == Variables
87
+
88
+ // Include table|s (global source)
89
+ // -----------------------------------------------------------------------------
90
+ include::{table-template--variables}[]
91
+
92
+ .Jekyll variables (Liquid)
93
+ [cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
94
+ |===============================================================================
95
+ |Name |Value |Description
96
+
97
+ |`page.path`
98
+ |{{ page.path }}
99
+ |The path to the raw post or page. Example usage: Linking back to the page
100
+ or post's source on GitHub. This can be overridden in the `YAML Front Matter`.
101
+
102
+ |`site.collections_dir`
103
+ |{{ site.collections_dir }}
104
+ |lorem:sentences[1]
105
+
106
+ |`page.images.dir`
107
+ |{{ page.images.dir }}
108
+ |Image path set pagewise. See FRONTMATTER defaults in `_config.yml` for the
109
+ images path specified by: `images.dir` for specific page *type*. See the
110
+ example below for a page of type *pages*.
111
+ [source, yaml]
112
+ ----
113
+ defaults:
114
+ - scope:
115
+ path: pages
116
+ type: pages
117
+
118
+ values:
119
+ images:
120
+ dir: /assets/images/pages
121
+ ----
122
+
123
+ |`page-imagesdir`
124
+ |{{ page-imagesdir }}
125
+ | Images path set in the page by `:page-imagesdir:`.
126
+
127
+ |`template`
128
+ |{{ site.template.name }}
129
+ |Name of the template used for rendering a page. Settings are taken from
130
+ sitewide configuration defined by `_config.yml`.
131
+
132
+ |`includedir`
133
+ |{{ includedir }}
134
+ |lorem:sentences[1]
135
+
136
+ |===============================================================================
137
+
138
+ == MIT license
139
+
140
+ include::{docs-licenses--mit}[]
141
+
142
+ endif::[]
143
+
144
+ ifeval::[{content} == true]
145
+ == BEM Notation
146
+
147
+ J1 Template is using the **B**lock, **E**lement, **M**odifier methodology
148
+ (commonly referred to as *BEM*) to construct resource names like
149
+
150
+ * Template variables (e.g. from Liquid)
151
+ * Asciidoc attributes
152
+
153
+ BEM is a popular naming convention for classes in *HTML* and *CSS*.
154
+ It's developed by the team at
155
+ link:{url-wikipedia_de--yandex}[Yandex (Wikipedia), {browser-window--new}].
156
+ It's goal is to help developers to better understand the relationship between
157
+ the HTML and CSS in a given project intuitively without reading any documention.
158
+
159
+ NOTE: For J1 Template components, classes for *HTML* and *CSS* code, the
160
+ *standard* BEM notation of `block__element\--modifier` (double underscores
161
+ and hyphens) is used. As __Bootstrap__ does *NOT* use BEM, all Bootstrap code
162
+ remains unchanged for *HTML* and *CSS*.
163
+
164
+ For J1 Template, this idea of writing resource names enables authors to get
165
+ quickly an idea what type a resource is addressed (the block), and which
166
+ element depends on a block. Modifiers finally adresses a specific resource
167
+ out of the hierarchy given by the `block-element\--modifier` notation.
168
+
169
+ NOTE: To not conflict with naming conventions for Asciidoc or Liquid,
170
+ the BEM notation for variables and attributes is using only *hyphens*.
171
+ An element is prepended by a single hyphen (`-`), modifiers by double
172
+ ones (`--`).
173
+
174
+ // Include table|s (local source)
175
+ // -----------------------------------------------------------------------------
176
+ include::{tabledir}/000_bem_specifiers.asciidoc[]
177
+
178
+ NOTE: For more complex resources, modifiers can make use of *underscores*
179
+ to express a hierarchy on a source if appreciated.
180
+
181
+ J1 Template and Jekyll gives creators of Webs the freedom to use simple
182
+ text editors to construct Web sites and write content. Because of the missing
183
+ database, no GUI support is given. To write *and* read code fluently, a
184
+ notation scheme can help a lot. All developers can consistently name
185
+ components for easier communication between team members. In other words,
186
+ BEM gives everyone on a project a declarative syntax that they can share
187
+ so that they’re on the same page even not witten by their selves.
188
+
189
+ == Examples
190
+
191
+ // Include table|s (local source)
192
+ // -----------------------------------------------------------------------------
193
+ include::{tabledir}/000_specifier_examples.asciidoc[]
194
+
195
+ endif::[]
@@ -0,0 +1,212 @@
1
+ ---
2
+ title: RImages Tester
3
+ tagline: check responsive images
4
+ description: responsive images
5
+
6
+ tags: [ Page, Tester ]
7
+ index: [ responsive, table ]
8
+ categories: [ pages ]
9
+
10
+ toc: true
11
+ advertising: false
12
+
13
+ #image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
14
+ image: /assets/images/collections/blog/featured/what-is-a-baseurl.jpg
15
+
16
+ permalink: /pages/public/test_pages/responsive_images/
17
+ regenerate: false
18
+
19
+ resources: [ lightbox ]
20
+ resource_options:
21
+ - attic:
22
+ padding_top: 400
23
+ padding_bottom: 50
24
+ opacity: 0.5
25
+ slides:
26
+ - url: /assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg
27
+ alt: jekyll.1200x600-bw.jpg
28
+ ---
29
+
30
+ // Page Initializer
31
+ // =============================================================================
32
+ // Enable the Liquid Preprocessor
33
+ :page-liquid:
34
+
35
+ // Set page (local) attributes here
36
+ // -----------------------------------------------------------------------------
37
+ // :page--attr: <attr-value>
38
+
39
+ // Load Liquid procedures
40
+ // -----------------------------------------------------------------------------
41
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
42
+
43
+ // Load page attributes
44
+ // -----------------------------------------------------------------------------
45
+ {% include {{load_attributes}} scope="none" %}
46
+
47
+
48
+ // Page content
49
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
+ Creating a design for responsive tables is challenging. The approch used by
51
+ J1 Template is based on pure CSS on top of the classic Bootstrap styles for
52
+ simplicity and portability to be viewed best on all devices and browsers.
53
+
54
+ See:
55
+
56
+ * https://jsfiddle.net/huypn/pcwudrmc/25813/[jsfiddle]
57
+
58
+ == Image
59
+ /////
60
+ [role="img-wrap ratio-4-3 mb-3"]
61
+ image::{{page.image}}[{{page.title}}]
62
+ /////
63
+
64
+ ++++
65
+ <section id="home_news_panel" class="mt-3 mr-5 mb-3 ml-3"><div class="container">
66
+ <!-- Heading -->
67
+ <div class="row">
68
+ <div class="">
69
+ <h1 class="g-font-weight-500 mb-0">Creators Blog</h1>
70
+ <p class="tagline mb-0"><b>latest news</b></p>
71
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
72
+ </div>
73
+ <p class="">Explore the blog and find some interesting articles around Jekyll and website creation processes in general. And this blog is an excellent example how J1 and Jekyll can be used for blogging. <br>
74
+ Have fun!
75
+ </p>
76
+ </div>
77
+ <!-- End Heading -->
78
+ <!-- Recent posts -->
79
+ <div class="card-deck">
80
+ <!-- Post -->
81
+ <article class="card raised-z5 mb-3">
82
+ <img class="img-fluid g-height-200" src="/assets/images/modules/attics/katie-moum-1920x1280.jpg" alt="Welcome">
83
+ <h3 class="card-header bg-primary notoc">Welcome</h3>
84
+ <!-- Body|Excerpt -->
85
+ <div class="card-body r-text-300">
86
+ If you’re not familiar with Jekyll (or other site generators), Jekyll is a so-called static site generator. Think of it like a CMS but without all the complexity and headache. No need to build a giant content strangling Rube Goldberg machine to manage content. All ...
87
+ </div>
88
+ <!-- End Body|Excerpt -->
89
+ <div class="card-footer r-text-200">
90
+ <div class="text-muted r-text-200">
91
+ <i class="mdi mdi-calendar-blank mr-1"></i>
92
+ 2019 August, 1
93
+ </div>
94
+ <a class="card-link md-blue font-weight-bold g-font-size-12 text-uppercase" href="/posts/public/featured/2019/08/01/welcome-to-j1-template/">
95
+ Read · jekyll for everyone
96
+ </a>
97
+ </div>
98
+ </article>
99
+ <!-- End Post -->
100
+ <!-- Calculate 'column setters' to manage BS break points for 'responsive' card deck (rcard-deck) -->
101
+ <!-- Add 'column setters' for BS break points -->
102
+ <div class="w-100 d-none d-sm-block d-md-none"> <!-- break on sm --> </div>
103
+ <!-- Post -->
104
+ <article class="card raised-z5 mb-3">
105
+ <img class="img-fluid g-height-200" src="/assets/images/modules/attics/cookies-1920x1200-bw.jpg" alt="Cookies">
106
+ <h3 class="card-header bg-primary notoc">Cookies</h3>
107
+ <!-- Body|Excerpt -->
108
+ <div class="card-body r-text-300">
109
+ Is it needed for vistors to know what cookies are all about? Not first place. Cookies are widely used. All users visting web sites are bothered all the time to accept on cookies. Because cookies are used that often. For good reasons - but for ...
110
+ </div>
111
+ <!-- End Body|Excerpt -->
112
+ <div class="card-footer r-text-200">
113
+ <div class="text-muted r-text-200">
114
+ <i class="mdi mdi-calendar-blank mr-1"></i>
115
+ 2019 June, 1
116
+ </div>
117
+ <a class="card-link md-blue font-weight-bold g-font-size-12 text-uppercase" href="/posts/public/featured/2019/06/01/about-cookies/">
118
+ Read · good to know
119
+ </a>
120
+ </div>
121
+ </article>
122
+ <!-- End Post -->
123
+ <!-- Calculate 'column setters' to manage BS break points for 'responsive' card deck (rcard-deck) -->
124
+ <!-- Add 'column setters' for BS break points -->
125
+ <div class="w-100 d-none d-sm-block d-md-none"> <!-- break on sm --> </div>
126
+ <div class="w-100 d-none d-md-block d-lg-none"> <!-- break on md --> </div>
127
+ <!-- Post -->
128
+ <article class="card raised-z5 mb-3">
129
+ <img class="img-fluid g-height-200" src="/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg" alt="Site generators">
130
+ <h3 class="card-header bg-primary notoc">Site generators</h3>
131
+ <!-- Body|Excerpt -->
132
+ <div class="card-body r-text-300">
133
+ People quite often ask, if static websites make sense for anything beyond a one-page website. Some other see in static websites the stone age of the World Wide Web. What’s about static websites today? What’s achiveable? This article highlights top OpenSource projects, in many ...
134
+ </div>
135
+ <!-- End Body|Excerpt -->
136
+ <div class="card-footer r-text-200">
137
+ <div class="text-muted r-text-200">
138
+ <i class="mdi mdi-calendar-blank mr-1"></i>
139
+ 2019 May, 1
140
+ </div>
141
+ <a class="card-link md-blue font-weight-bold g-font-size-12 text-uppercase" href="/posts/public/featured/2019/05/01/top-open-source-static-site-generators/">
142
+ Read · OpenSource tools
143
+ </a>
144
+ </div>
145
+ </article>
146
+ <!-- End Post -->
147
+ <!-- Calculate 'column setters' to manage BS break points for 'responsive' card deck (rcard-deck) -->
148
+ <!-- Add 'column setters' for BS break points -->
149
+ <div class="w-100 d-none d-sm-block d-md-none"> <!-- break on sm --> </div>
150
+ <div class="w-100 d-none d-lg-block d-xl-none"> <!-- break on lg --> </div>
151
+ <div class="w-100 d-none d-xl-block">
152
+ <!-- break on xl --> </div>
153
+ </div>
154
+ <!-- End recent posts -->
155
+ </div></section>
156
+
157
+ <div class="row">
158
+ <div class="col-md-3">
159
+ <div class="img-wrap ratio-4-3">
160
+ <div class="img-content">
161
+ <img src="https://picsum.photos/200" />
162
+ </div>
163
+ </div>
164
+ </div>
165
+ </div>
166
+
167
+ <h2>Block-level Elements</h2>
168
+ <p>Or, if you'd like, you can also attach Backstretch to another block level element on the page.</p>
169
+ <div id="demo">
170
+ <div><p>The background image on this element was set using Backstretch.</p></div>
171
+ </div>
172
+
173
+ <script>
174
+ $("#demo").backstretch("{{page.image}}");
175
+ $(".img-fluid").backstretch();
176
+ </script>
177
+ ++++
178
+
179
+ ++++
180
+ <style>
181
+ .img-wrap {
182
+ position: relative;
183
+ }
184
+ .img-wrap .img-content {
185
+ position: absolute;
186
+ top: 0;
187
+ bottom: 0;
188
+ left: 0;
189
+ right: 0;
190
+ display: flex;
191
+ align-items: center;
192
+ justify-content: center;
193
+ }
194
+ .img-wrap .img-content > img {
195
+ max-width: 100%;
196
+ max-height: 100%;
197
+ width: 100%;
198
+ }
199
+ .img-wrap.ratio-4-3 {
200
+ padding-top: 75%;
201
+ }
202
+ .img-wrap.ratio-16-9 {
203
+ padding-top: 56.25%;
204
+ }
205
+ .img-wrap.ratio-3-2 {
206
+ padding-top: 66.66%;
207
+ }
208
+ .img-wrap.ratio-8-5 {
209
+ padding-top: 62.5%;
210
+ }
211
+ </style>
212
+ ++++
@@ -0,0 +1,209 @@
1
+ ---
2
+ title: RTable Tester
3
+ tagline: check responsive tables
4
+ description: responsive tables
5
+
6
+ tags: [ Page, Tester ]
7
+ index: [ responsive, table ]
8
+ categories: [ pages ]
9
+
10
+ toc: true
11
+ advertising: false
12
+
13
+ permalink: /pages/public/test_pages/responsive_tables/
14
+ regenerate: false
15
+
16
+ resources: [ lightbox, rtable ]
17
+ resource_options:
18
+ ---
19
+
20
+ // Page Initializer
21
+ // =============================================================================
22
+ // Enable the Liquid Preprocessor
23
+ :page-liquid:
24
+
25
+ // Set page (local) attributes here
26
+ // -----------------------------------------------------------------------------
27
+ // :page--attr: <attr-value>
28
+
29
+ // Load Liquid procedures
30
+ // -----------------------------------------------------------------------------
31
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
32
+
33
+ // Load page attributes
34
+ // -----------------------------------------------------------------------------
35
+ {% include {{load_attributes}} scope="all" %}
36
+
37
+
38
+ // Page content
39
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40
+ Creating a design for responsive tables is challenging. The approch used by
41
+ J1 Template is based on pure CSS on top of the classic Bootstrap styles for
42
+ simplicity and portability to be viewed best on all devices and browsers.
43
+
44
+ == Table 1 (static)
45
+
46
+ .Static table, NOT responsive
47
+ [cols="1a,3a,8a", options="header", width="100%", role=mt-3"]
48
+ |===============================================================================
49
+ |Specifier |Example |Description
50
+
51
+ |Block
52
+ |`url` \| `image` \| `data`
53
+ |Top level specifier. Defines the (global) resource type, e.g. an URL, image
54
+ or a dataset
55
+
56
+ |Element
57
+ |`url-j1`
58
+ |Specifier to express the dependency upon the block, e.g. a site prefix like
59
+ `https://jekyll.one`
60
+
61
+ |Modifier
62
+ |`url-j1\--home` \| `url-j1\--learn_present_images`
63
+ |Specifier that adresses a specific source: e.g. web page like
64
+ `https://jekyll.one/` \| `https://jekyll.one/pages/public/learn/roundtrip/present_images`
65
+
66
+ |===============================================================================
67
+
68
+ == Table 2 (responsive)
69
+
70
+ .BEM specifiers for J1 Template __variables__ (responsive)
71
+ [cols="1a,4a,7a", options="header", width="100%", role="rtable mt-3"]
72
+ |===============================================================================
73
+ |Specifier |Example |Description
74
+
75
+ |Block
76
+ |`url` \| `image` \| `data`
77
+ |Top level specifier. Defines the (global) resource type, e.g. an URL, image
78
+ or a dataset
79
+
80
+ |Element
81
+ |`url-j1`
82
+ |Specifier to express the dependency upon the block, e.g. a site prefix like
83
+ `https://jekyll.one`
84
+
85
+ |Modifier
86
+ |`url-j1\--home` \| `url-j1\--learn_present_images`
87
+ |Specifier that adresses a specific source: e.g. web page like
88
+ `https://jekyll.one/` \| `https://jekyll.one/pages/public/learn/roundtrip/present_images`
89
+
90
+ |===============================================================================
91
+
92
+ == Table 3 (responsive)
93
+
94
+ .Examples for attributes (responsive)
95
+ [cols="1a,4a,7a", options="header", width="100%", role="rtable mt-3"]
96
+ |===============================================================================
97
+ |Tag |BEM |Value\|Example
98
+
99
+ |url
100
+ |`url-j1--home`
101
+ |{url-j1--home} {char-emdash}
102
+ link:{url-j1--home}[Jekyll One {middot} Home, {browser-window--new}]
103
+ [source, adoc, role="noclip"]
104
+ ----
105
+ link:{url-j1--home}[Jekyll One {middot} Home, {browser-window--new}]
106
+ ----
107
+
108
+ |tag
109
+ |`browser-window--new`
110
+ |{browser-window--new}
111
+ [source, adoc, role="noclip"]
112
+ ----
113
+ link:{url}[link title, {browser-window--new}]
114
+ ----
115
+
116
+ |tag
117
+ |`icon-battery--quarter`
118
+ |icon:battery-quarter[role="md-blue"]
119
+ [source, adoc, role="noclip"]
120
+ ----
121
+ icon:battery-quarter[role="md-blue"]
122
+ ----
123
+
124
+ |tag
125
+ |`figure-caption--text`
126
+ |{figure-caption--text}
127
+ [source, adoc, role="noclip"]
128
+ ----
129
+ .{figure-caption--text} image name
130
+ ----
131
+
132
+ |image
133
+ |`image-attic--cookies`
134
+ |{image-attic--cookies}
135
+ [source, adoc, role="noclip"]
136
+ ----
137
+ image:{image-attic--cookies}[image title]
138
+ ----
139
+
140
+ |data
141
+ |`data-lightbox--example`
142
+ |{data-lightbox--example}
143
+ [source, adoc, role="noclip"]
144
+ ----
145
+ lightbox::lightbox--example[600, {data-lightbox--example}]
146
+ ----
147
+
148
+ |===============================================================================
149
+
150
+ /////
151
+ == Table 4 (static)
152
+
153
+ .Examples for attributes (responsive)
154
+ [cols="1a,4a,7a", options="header", width="100%", role="mt-3"]
155
+ |===============================================================================
156
+ |Tag |BEM |Value\|Example
157
+
158
+ |url
159
+ |`url-j1--home`
160
+ |{url-j1--home} {char-emdash}
161
+ link:{url-j1--home}[Jekyll One {middot} Home, {browser-window--new}]
162
+ [source, adoc, role="noclip"]
163
+ ----
164
+ link:{url-j1--home}[Jekyll One {middot} Home, {browser-window--new}]
165
+ ----
166
+
167
+ |tag
168
+ |`browser-window--new`
169
+ |{browser-window--new}
170
+ [source, adoc, role="noclip"]
171
+ ----
172
+ link:{url}[link title, {browser-window--new}]
173
+ ----
174
+
175
+ |tag
176
+ |`icon-battery--quarter`
177
+ |icon:battery-quarter[role="md-blue"]
178
+ [source, adoc, role="noclip"]
179
+ ----
180
+ icon:battery-quarter[role="md-blue"]
181
+ ----
182
+
183
+ |tag
184
+ |`figure-caption--text`
185
+ |{figure-caption--text}
186
+ [source, adoc, role="noclip"]
187
+ ----
188
+ .{figure-caption--text} image name
189
+ ----
190
+
191
+ |image
192
+ |`image-attic--cookies`
193
+ |{image-attic--cookies}
194
+ [source, adoc, role="noclip"]
195
+ ----
196
+ image:{image-attic--cookies}[image title]
197
+ ----
198
+
199
+ |data
200
+ |`data-lightbox--example`
201
+ |{data-lightbox--example}
202
+ [source, adoc, role="noclip"]
203
+ ----
204
+ lightbox::lightbox--example[600, {data-lightbox--example}]
205
+ ----
206
+
207
+ |===============================================================================
208
+
209
+ /////