j1-template 2023.6.0 → 2023.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +11 -9
  3. data/_includes/themes/j1/layouts/content_generator_post.html +8 -6
  4. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +2 -1
  5. data/_includes/themes/j1/procedures/global/create_bs_button.proc +0 -1
  6. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +4 -3
  7. data/_includes/themes/j1/procedures/global/date-german.proc +2 -7
  8. data/_includes/themes/j1/procedures/global/get_category.proc +13 -19
  9. data/_includes/themes/j1/procedures/global/get_category_item.proc +29 -33
  10. data/_includes/themes/j1/procedures/global/get_documents_dir.proc +8 -8
  11. data/_includes/themes/j1/procedures/global/get_page_url.proc +9 -14
  12. data/_includes/themes/j1/procedures/global/select_color.proc +12 -17
  13. data/_includes/themes/j1/procedures/global/select_font_size.proc +31 -35
  14. data/_includes/themes/j1/procedures/global/select_icon_size.proc +38 -40
  15. data/_includes/themes/j1/procedures/global/select_location.proc +56 -59
  16. data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +2 -4
  17. data/_includes/themes/j1/procedures/global/set_image_block.proc +4 -2
  18. data/_includes/themes/j1/procedures/global/setup.proc +8 -3
  19. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  20. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +4 -4
  21. data/_includes/themes/j1/procedures/posts/pager.proc +1 -1
  22. data/_layouts/_home.html +88 -0
  23. data/_layouts/home.html +1 -1
  24. data/assets/data/banner.html +7 -7
  25. data/assets/data/masonry.html +13 -13
  26. data/assets/data/panel.html +37 -25
  27. data/assets/data/quicklinks.html +40 -30
  28. data/assets/data/speak2me.html +219 -0
  29. data/assets/data/translator.html +32 -4
  30. data/assets/themes/j1/adapter/js/masterslider.js +2 -1
  31. data/assets/themes/j1/adapter/js/slick.js +13 -10
  32. data/assets/themes/j1/adapter/js/speak2me.js +425 -0
  33. data/assets/themes/j1/adapter/js/translator.js +10 -2
  34. data/assets/themes/j1/core/css/icon-fonts/mdib.css +21 -0
  35. data/assets/themes/j1/core/css/icon-fonts/mdib.min.css +1 -1
  36. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +43 -0
  37. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  38. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +211 -1
  39. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  40. data/assets/themes/j1/core/js/template.js +4083 -1089
  41. data/assets/themes/j1/core/js/template.min.js +12 -6
  42. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  43. data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
  44. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  45. data/assets/themes/j1/modules/masonry/css/theme/readme +1 -0
  46. data/assets/themes/j1/modules/masterslider/css/theme/uno.css +2 -3
  47. data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
  48. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +13 -2
  49. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +1 -1
  50. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +373 -347
  51. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +20 -51
  52. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +2 -2
  53. data/assets/themes/j1/modules/translator/js/translator.js +30 -13
  54. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  55. data/lib/j1/version.rb +1 -1
  56. data/lib/starter_web/Gemfile +5 -5
  57. data/lib/starter_web/README.md +5 -5
  58. data/lib/starter_web/_config.yml +7 -1
  59. data/lib/starter_web/_data/blocks/banner.yml +12 -12
  60. data/lib/starter_web/_data/blocks/footer.yml +3 -3
  61. data/lib/starter_web/_data/blocks/panel.yml +37 -39
  62. data/lib/starter_web/_data/layouts/home.yml +1 -1
  63. data/lib/starter_web/_data/modules/advertising.yml +10 -88
  64. data/lib/starter_web/_data/modules/defaults/advertising.yml +3 -1
  65. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +97 -164
  66. data/lib/starter_web/_data/modules/defaults/navigator.yml +8 -4
  67. data/lib/starter_web/_data/modules/defaults/speak2me.yml +72 -0
  68. data/lib/starter_web/_data/modules/masonry.yml +9 -1
  69. data/lib/starter_web/_data/modules/masterslider.yml +69 -116
  70. data/lib/starter_web/_data/modules/navigator_menu.yml +58 -51
  71. data/lib/starter_web/_data/modules/scroller.yml +1 -1
  72. data/lib/starter_web/_data/modules/speak2me.yml +33 -0
  73. data/lib/starter_web/_data/resources.yml +27 -4
  74. data/lib/starter_web/_data/templates/feed.xml +1 -1
  75. data/lib/starter_web/_includes/attributes.asciidoc +1 -0
  76. data/lib/starter_web/_includes/google/static/{google_ad_5128488466.html → google_ad__your-slot-id.html} +1 -1
  77. data/lib/starter_web/_plugins/asciidoctor/callout.rb +1 -1
  78. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +2 -2
  79. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +2 -2
  80. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +2 -2
  81. data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +1 -1
  82. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +2 -7
  83. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +2 -3
  84. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +2 -2
  85. data/lib/starter_web/_plugins/asciidoctor/mdib-icon-inline.rb +43 -0
  86. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +1 -1
  87. data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +1 -1
  88. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +2 -2
  89. data/lib/starter_web/_plugins/asciidoctor/textbook-block.rb +1 -1
  90. data/lib/starter_web/_plugins/filter/liquify.rb +22 -22
  91. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  92. data/lib/starter_web/assets/images/collections/books/biography/a_life_in_questions.jpg +0 -0
  93. data/lib/starter_web/assets/images/collections/books/biography/becoming.jpg +0 -0
  94. data/lib/starter_web/assets/images/collections/books/biography/born_to_run.jpg +0 -0
  95. data/lib/starter_web/assets/images/collections/books/biography/forty_autumns.jpg +0 -0
  96. data/lib/starter_web/assets/images/collections/books/biography/not_dead_yet.jpg +0 -0
  97. data/lib/starter_web/assets/images/collections/books/biography/the_princess_diarist.jpg +0 -0
  98. data/lib/starter_web/assets/images/collections/books/biography/when_breath_becomes_air.jpg +0 -0
  99. data/lib/starter_web/assets/images/collections/books/fantasy/harry-potter-deathly-hallows.jpg +0 -0
  100. data/lib/starter_web/assets/images/collections/books/fantasy/harry-potter-philosophers-stone.jpg +0 -0
  101. data/lib/starter_web/assets/images/collections/books/fantasy/mistborn-trilogy.jpg +0 -0
  102. data/lib/starter_web/assets/images/collections/books/fantasy/ready-player-one.jpg +0 -0
  103. data/lib/starter_web/assets/images/collections/books/fantasy/sword-of-destiny.jpg +0 -0
  104. data/lib/starter_web/assets/images/collections/books/fantasy/terry-pratchet-diary.jpg +0 -0
  105. data/lib/starter_web/assets/images/collections/books/romance/breath-of-snow-and-ashes.jpg +0 -0
  106. data/lib/starter_web/assets/images/collections/books/romance/it-ends-with-us.jpg +0 -0
  107. data/lib/starter_web/assets/images/collections/books/romance/outlander-novel.jpg +0 -0
  108. data/lib/starter_web/assets/images/collections/books/romance/outlander-short-story.jpg +0 -0
  109. data/lib/starter_web/assets/images/collections/books/romance/the-fiery-cross.jpg +0 -0
  110. data/lib/starter_web/assets/images/collections/books/romance/the_dressmaker.jpg +0 -0
  111. data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +13 -8
  112. data/lib/starter_web/collections/_biography/becoming.adoc +18 -12
  113. data/lib/starter_web/collections/_biography/born-to-run.adoc +17 -13
  114. data/lib/starter_web/collections/_biography/forty-autumns.adoc +14 -9
  115. data/lib/starter_web/collections/_biography/not-dead-yet.adoc +12 -7
  116. data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +13 -8
  117. data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +14 -9
  118. data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +13 -7
  119. data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +12 -8
  120. data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +14 -10
  121. data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +12 -11
  122. data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +15 -7
  123. data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +11 -6
  124. data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes.adoc +15 -10
  125. data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +11 -6
  126. data/lib/starter_web/collections/_romance/outlander-novel.adoc +11 -6
  127. data/lib/starter_web/collections/_romance/{virgins-outlander-short-story.adoc → outlander-virgins-short-story.adoc} +11 -6
  128. data/lib/starter_web/collections/_romance/{dressmaker-the.adoc → the-dressmaker.adoc} +11 -6
  129. data/lib/starter_web/collections/_romance/{fiery-cross-the.adoc → the-fiery-cross.adoc} +11 -6
  130. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +6 -6
  131. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +12 -11
  132. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +9 -7
  133. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +8 -8
  134. data/lib/starter_web/dot.ruby-version +1 -1
  135. data/lib/starter_web/index.html +16 -14
  136. data/lib/starter_web/package.json +1 -1
  137. data/lib/starter_web/pages/public/about/features.adoc +7 -1
  138. data/lib/starter_web/pages/public/about/reporting_issues.adoc +2 -0
  139. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +2 -0
  140. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +2 -0
  141. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +2 -0
  142. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +1 -1
  143. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -0
  144. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +1 -0
  145. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +2 -0
  146. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +3 -1
  147. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +1 -0
  148. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -0
  149. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +6 -0
  150. data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +6 -13
  151. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +16 -11
  152. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +7 -8
  153. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +5 -7
  154. data/lib/starter_web/pages/public/blog/navigator/index.html +15 -14
  155. data/lib/starter_web/pages/public/features/general.adoc +7 -1
  156. data/lib/starter_web/pages/public/features/template.adoc +87 -128
  157. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +3 -0
  158. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
  159. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -0
  160. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
  161. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +11 -8
  162. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +2 -1
  163. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +27 -28
  164. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +164 -153
  165. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +22 -16
  166. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +3 -2
  167. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +62 -74
  168. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +4 -0
  169. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +21 -15
  170. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +470 -449
  171. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +53 -54
  172. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +46 -34
  173. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +25 -22
  174. data/lib/starter_web/pages/public/learn/where_to_go.adoc +6 -2
  175. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +4 -0
  176. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +2 -0
  177. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +22 -3
  178. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +5 -0
  179. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +27 -19
  180. data/lib/starter_web/pages/public/plans/plans.adoc +3 -0
  181. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +165 -143
  182. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  183. data/lib/starter_web/utilsrv/package.json +1 -1
  184. metadata +32 -73
  185. data/assets/themes/j1/modules/carousel/js/carousel.js +0 -1517
  186. data/assets/themes/j1/modules/carousel/js/carousel.min.js +0 -57
  187. data/assets/themes/j1/modules/masonry/css/theme/uno.css +0 -35
  188. data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +0 -15
  189. data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +0 -19
  190. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-restaurant-140x80.jpg +0 -0
  191. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-restaurant.jpg +0 -0
  192. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-man-140x80.jpg +0 -0
  193. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-man.jpg +0 -0
  194. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-woman-140x80.jpg +0 -0
  195. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-woman.jpg +0 -0
  196. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +0 -58
  197. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/accordion.asciidoc +0 -34
  198. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/alerts.asciidoc +0 -15
  199. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/badges.asciidoc +0 -9
  200. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/body.asciidoc +0 -14
  201. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/breadcrumbs.asciidoc +0 -14
  202. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/buttons.asciidoc +0 -75
  203. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/cards.asciidoc +0 -22
  204. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/carousel.asciidoc +0 -37
  205. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/close.asciidoc +0 -15
  206. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/code.asciidoc +0 -14
  207. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/color_system.asciidoc +0 -353
  208. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/components.asciidoc +0 -69
  209. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/dropdowns.asciidoc +0 -53
  210. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/figures.asciidoc +0 -5
  211. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/forms.asciidoc +0 -270
  212. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/grid.asciidoc +0 -49
  213. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/links.asciidoc +0 -21
  214. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/list_groups.asciidoc +0 -28
  215. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/modals.asciidoc +0 -43
  216. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navbar.asciidoc +0 -45
  217. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navs.asciidoc +0 -28
  218. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/offcanvas.asciidoc +0 -16
  219. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/options.asciidoc +0 -30
  220. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/pagination.asciidoc +0 -40
  221. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/paragraph.asciidoc +0 -5
  222. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/placeholders.asciidoc +0 -5
  223. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/popovers.asciidoc +0 -28
  224. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/position.asciidoc +0 -8
  225. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/progress_bars.asciidoc +0 -12
  226. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spacing.asciidoc +0 -14
  227. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spinners.asciidoc +0 -12
  228. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tables.asciidoc +0 -55
  229. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/thumbnails.asciidoc +0 -9
  230. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/toasts.asciidoc +0 -18
  231. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tooltips.asciidoc +0 -28
  232. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/typography.asciidoc +0 -115
  233. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/z_index.asciidoc +0 -26
  234. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/_table.asciidoc +0 -9
  235. data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/accordion.asciidoc +0 -87
  236. data/lib/starter_web/pages/public/learn/bs_sass_variables/bs_sass_variables.adoc +0 -263
  237. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +0 -59
  238. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/100_chapter.asciidoc +0 -541
  239. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/200_chapter.asciidoc +0 -33
  240. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/build_command_options.asciidoc +0 -72
  241. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/files_and_folders.asciidoc +0 -66
  242. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_configuration_options.asciidoc +0 -63
  243. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_variables.asciidoc +0 -26
  244. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/page_variables.asciidoc +0 -54
  245. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/serve_command_options.asciidoc +0 -45
  246. data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/site_variables.asciidoc +0 -59
  247. data/lib/starter_web/pages/public/learn/core_web_vitals/core_web_vitals.adoc +0 -443
  248. data/lib/starter_web/pages/public/tools/cheatsheet/gem.adoc +0 -257
  249. data/lib/starter_web/pages/public/tools/cheatsheet/git.adoc +0 -1460
  250. data/lib/starter_web/pages/public/tools/cheatsheet/j1.adoc +0 -175
  251. data/lib/starter_web/pages/public/tools/cheatsheet/yaml.adoc +0 -516
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b6b429bb9a3a2e4a2b0b84df217409c88532a6424f5aeecec783e11ebe1d068
4
- data.tar.gz: e671e654d0b8be848348b4f5dc961420eb5bfc7852e33ec14cd5a2cb8bb99f64
3
+ metadata.gz: 4b81cbcff868934bf1b9a11cfce4b68c63ee3a8daf09cae72825c2802aed5ec6
4
+ data.tar.gz: 03b9384878418afb80c40708349c7c2a404ce0fca02a9d6a8ac648cd90841718
5
5
  SHA512:
6
- metadata.gz: fdd87d5e28fbc093adf5a6b638b4f54c8c74824a4936e4600d95b62f7490ff3785b1c0ae5d3742512f17d482e3122d25604c913ac2f3b110124e4686849aa699
7
- data.tar.gz: e08098021fe7d906cfed89f16cf76266e7694de0e392e9bb6a672a815a24a21b84487f70750cdfdadf126305e92beb1b16f5d11eb9e6784395c37d361ad77450
6
+ metadata.gz: a97fd31b2a0313b8c12079d11057ca39094a8cf837ec0f4b0957fbe5ab5b552694ad04747dad3fcb43c898a2a156583ca5bda1fcd785d8e86ce29309d463391e
7
+ data.tar.gz: 46c94bd435ff3319294d712507dc7a84b9f677671b9bbc07ca89e5fc96ac4738c956ab60a9229edb3af1eeb354714a3d807583832892e7cae8865c5c42e8de82
@@ -223,7 +223,7 @@
223
223
  </div>
224
224
 
225
225
  {% if paginator.total_pages > 1 %}
226
- <nav class="paginator mb-4">
226
+ <nav class="paginator speak2me-ignore mb-4">
227
227
  <ul class="pagination raised-z0">
228
228
  {% if paginator.previous_page %}
229
229
  <li class="page-item">
@@ -296,10 +296,10 @@
296
296
  <!-- [INFO ] [j1.layouts.content_generator_news_panel_posts.html ] [ place post image ] -->
297
297
  {% if post.image %}
298
298
  {% if post.image.path %}
299
- <img class="img-fluid img-object--cover g-height-300" src="{{post.image.path}}" alt="{{post.title}}" style="{{image_filters}};">
299
+ <img class="img-fluid img-object--cover g-height-300" src="{{post.image.path}}" alt="{{post.tagline}}" style="{{image_filters}};">
300
300
  {% assign post_width = '80x' %}
301
301
  {% else %}
302
- <img class="img-fluid img-object--cover g-height-300" src="{{post.image}}" alt="{{post.title}}" style="{{image_filters}};">
302
+ <img class="img-fluid img-object--cover g-height-300" src="{{post.image}}" alt="{{post.tagline}}" style="{{image_filters}};">
303
303
  {% assign post_width = '80x' %}
304
304
  {% endif %}
305
305
  {% else %}
@@ -307,13 +307,14 @@
307
307
  {% assign post_width = '100x' %}
308
308
  {% endif %}
309
309
 
310
- <h3 class="card-header bg-primary notoc notranslate">{{post.title}}</h3>
310
+ <!-- h3 id="{{1000000 | rand}}" class="card-header bg-primary notoc notranslate">{{post.title}}</h3 -->
311
+ <h3 id="{{1000000 | rand}}" class="card-header bg-primary notranslate">{{post.title}}</h3>
311
312
  <!-- Body|Excerpt -->
312
313
  <div class="card-body r-text-300 mt-0">
313
314
  {{post.excerpt|truncatewords: truncate_words}}
314
315
  </div>
315
316
  <!-- End Body|Excerpt -->
316
- <div class="card-footer r-text-200">
317
+ <div class="card-footer speak2me-ignore r-text-200">
317
318
 
318
319
  <div class="card-footer-text">
319
320
  {% if language == "en" %}
@@ -368,24 +369,25 @@
368
369
  <!-- [INFO ] [j1.layouts.content_generator_news_panel_posts.html ] [ place post image ] -->
369
370
  {% if post.image %}
370
371
  {% if post.image.path %}
371
- <img class="img-fluid img-object--cover g-height-300" src="{{post.image.path}}" alt="{{post.title}}" style="{{image_filters}};">
372
+ <img class="img-fluid img-object--cover g-height-300" src="{{post.image.path}}" alt="{{post.tagline}}" style="{{image_filters}};">
372
373
  {% assign post_width = '80x' %}
373
374
  {% else %}
374
- <img class="img-fluid img-object--cover g-height-300" src="{{post.image}}" alt="{{post.title}}" style="{{image_filters}};">
375
+ <img class="img-fluid img-object--cover g-height-300" src="{{post.image}}" alt="{{post.tagline}}" style="{{image_filters}};">
375
376
  {% assign post_width = '80x' %}
376
377
  {% endif %}
377
378
  {% else %}
378
379
  <img class="mt-2" src="" alt="">
379
380
  {% assign post_width = '100x' %}
380
381
  {% endif %}
381
- <h3 class="card-header bg-primary notoc">{{post.title}}</h3>
382
+
383
+ <h3 id="{{1000000 | rand}}" class="card-header bg-primary notoc">{{post.title}}</h3>
382
384
  <!-- Body|Excerpt -->
383
385
  <div class="card-body r-text-300 mt-0">
384
386
  {% comment %} {{post.excerpt|truncatewords: 50|replace:'...',' ...'|remove:'<div class="paragraph">'|remove:'</div>'|remove:'<p>'|remove:'</p>'}} {% endcomment %}
385
387
  {{post.excerpt|truncatewords: truncate_words}}
386
388
  </div>
387
389
  <!-- End Body|Excerpt -->
388
- <div class="card-footer r-text-200">
390
+ <div class="card-footer speak2me-ignore r-text-200">
389
391
 
390
392
  <div class="card-footer-text">
391
393
  {% if language == "en" %}
@@ -78,7 +78,7 @@
78
78
  ------------------------------------------------------------------------------ {% endcomment %}
79
79
  <!-- Blog post CONTENT -->
80
80
  <div class="row">
81
- <main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
81
+ <div id="content" class="">
82
82
  {% if page.page_navigation %}
83
83
  <!-- Include a PAGER (top position) -->
84
84
  {% include {{pager}} %}
@@ -89,17 +89,19 @@
89
89
  <!-- place blog post HEADLINE -->
90
90
  <div class="post-headline mt-4">
91
91
  {% if language == "en" %}
92
- <h1 class="notoc">{{ page.date | localize: "%Y %B, %e" }}</h1>
92
+ <!-- h1 class="notoc">{{ page.date | localize: "%Y %B, %e" }}</h1 -->
93
+ <h1 id="{{1000000 | rand}}">{{ page.date | localize: "%Y %B, %e" }}</h1>
93
94
  {% endif %}
94
95
  {% if language == "de" %}
95
- <h1 class="notoc">{{ page.date | localize: "%-d. %B %Y" }}</h1>
96
+ <!-- h1 class="notoc">{{ page.date | localize: "%-d. %B %Y" }}</h1 -->
97
+ <h1 id="{{1000000 | rand}}">{{ page.date | localize: "%-d. %B %Y" }}</h1>
96
98
  {% endif %}
97
99
  </div>
98
100
 
99
101
  {% comment %} Place Blog post SERIES Navigation
100
102
  -------------------------------------------------------------------------- {% endcomment %}
101
103
  {% if page.series %}
102
- <header class="bmd-layout-header">
104
+ <header class="bmd-layout-header" data-speak2me-ignore>
103
105
  <!-- jadams, 2021-02-28 added mb-3 to the navbar -->
104
106
  <div class="navbar navbar-dark bg-primary raised-z0">
105
107
  <button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-bs-toggle="drawer" data-bs-target="#post_navigator" aria-label="Series button">
@@ -134,9 +136,9 @@
134
136
  -------------------------------------------------------------------------- {% endcomment %}
135
137
  <!-- Content placed by post_content.html -->
136
138
  <!-- Additional div container placed for dropcaps used in series -->
137
- <div class="mt-4">
139
+ <main id="main-content" class="r-text-{{rtext_size}} js-toc-content mt-4">
138
140
  {{content}}
139
- </div>
141
+ </main>
140
142
 
141
143
  {% if page.series %}</nav>{% endif %}
142
144
 
@@ -104,7 +104,8 @@
104
104
  <div class="input-group">
105
105
  <span class="input-group-addon"><i class="mdib mdib-magnify mdib-2x mb-2" style="color:#9E9E9E"></i></span>
106
106
  <input id="search-query" type="text" name="q" placeholder="Your search expression" autocomplete="off" class="form-control">
107
- <span id="clear-topsearch" class="form-clear form-clear-searcher d-none" style="margin-top: 0.75rem"> <i class="mdib mdib-format-clear mdib-2x" style="color:#9E9E9E"></i> </span>
107
+ <!-- span id="clear-topsearch" class="form-clear form-clear-searcher d-none" style="margin-top: 0.75rem"> <i class="mdib mdib-format-clear mdib-2x" style="color:#9E9E9E"></i> </span -->
108
+ <span id="clear-topsearch" class="form-clear form-clear-searcher d-none" style="margin-top: 1.15rem"> <i class="mdib mdib-format-clear mdib-24px" style="color:#9E9E9E"></i> </span>
108
109
  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="margin-top: 24px;"></button>
109
110
  </div>
110
111
  </div>
@@ -50,7 +50,6 @@
50
50
 
51
51
  {% comment %} Main
52
52
  -------------------------------------------------------------------------------- {% endcomment %}
53
-
54
53
  {% case button_type %}
55
54
 
56
55
  {% when 'link' %}
@@ -39,6 +39,7 @@
39
39
  -------------------------------------------------------------------------------- {% endcomment %}
40
40
 
41
41
  {% comment %} Variables
42
+ word_array: {{ word_array | debug }}
42
43
  -------------------------------------------------------------------------------- {% endcomment %}
43
44
  {% assign source = include.source %}
44
45
  {% assign word_list = include.word_list %}
@@ -61,7 +62,7 @@
61
62
 
62
63
  <!-- div id="word-cloud" class="row ml-3 mr-3" -->
63
64
  <!-- jadams, 2021-11-20: justify word cloud BETTER with paginator buttons -->
64
- <div id="word-cloud" class="row g-0 ml-3">
65
+ <div id="word-cloud" class="row speak2me-ignore g-0 ml-3">
65
66
  <div class="tag__box mt-0 mb-2">
66
67
  <div class="tag__cloud">
67
68
 
@@ -72,7 +73,7 @@
72
73
  <ul class="content">
73
74
  {% if source == 'categories' %}
74
75
  {% for tag in word_array %}
75
- <li class="badge-tag">
76
+ <li class="badge-tag categories">
76
77
  <a class="bg-primary" href="#{{tag|downcase}}">
77
78
  {{ tag | capitalize }}
78
79
  <span>{{ site.categories[tag] | size }}</span>
@@ -81,7 +82,7 @@
81
82
  {% endfor %}
82
83
  {% elsif source == 'tags' %}
83
84
  {% for tag in word_array %}
84
- <li class="badge-tag">
85
+ <li class="badge-tag tags">
85
86
  <a class="bg-primary" href="#{{ tag | replace: '+','_' | replace: ' ','_' | downcase }}">
86
87
  {{ tag }}
87
88
  <span>{{ site.tags[tag] | size }}</span>
@@ -39,20 +39,15 @@ See: https://github.com/uwolf/jekyll-i18n-date
39
39
  NOTE already implemented as an plugin: ~/_plugins/date-i18n.rb
40
40
  -------------------------------------------------------------------------------- {% endcomment %}
41
41
 
42
-
43
- {% comment %} Variables
44
- -------------------------------------------------------------------------------- {% endcomment %}
45
-
46
-
47
-
48
42
  {% comment %} Liquid procedures
49
43
  -------------------------------------------------------------------------------- {% endcomment %}
50
44
 
45
+ {% comment %} Variables
46
+ -------------------------------------------------------------------------------- {% endcomment %}
51
47
 
52
48
 
53
49
  {% comment %} Main
54
50
  -------------------------------------------------------------------------------- {% endcomment %}
55
-
56
51
  {% assign formattedDate = '' %}
57
52
 
58
53
  {% if include.showDay %}
@@ -33,28 +33,22 @@
33
33
  # -----------------------------------------------------------------------------
34
34
  {% endcomment %}
35
35
 
36
- {% comment %} Variables
37
- ------------------------------------------------------------ {% endcomment %}
36
+ {% comment %} Liquid procedures
37
+ -------------------------------------------------------------------------------- {% endcomment %}
38
38
 
39
+ {% comment %} Variables
40
+ -------------------------------------------------------------------------------- {% endcomment %}
39
41
  {% assign _categories = include.post.categories %}
40
42
  {% assign _category = nil %}
41
43
 
42
44
 
43
- {% comment %} Liquid procedures
44
- ------------------------------------------------------------ {% endcomment %}
45
-
46
-
47
45
  {% comment %} Main
48
- ------------------------------------------------------------ {% endcomment %}
49
-
50
- {% for item in _categories %}
51
- {% if item == "posts" %}
52
- {% continue %}
53
- {% else %}
54
- {% assign _category = item %}
55
- {% break %}
56
- {% endif %}
57
- {% endfor %}
58
-
59
-
60
-
46
+ -------------------------------------------------------------------------------- {% endcomment %}
47
+ {% for item in _categories %}
48
+ {% if item == "posts" %}
49
+ {% continue %}
50
+ {% else %}
51
+ {% assign _category = item %}
52
+ {% break %}
53
+ {% endif %}
54
+ {% endfor %}
@@ -34,47 +34,43 @@
34
34
  # -----------------------------------------------------------------------------
35
35
  {% endcomment %}
36
36
 
37
- {% comment %} Variables
38
- ------------------------------------------------------------ {% endcomment %}
37
+ {% comment %} Liquid procedures
38
+ -------------------------------------------------------------------------------- {% endcomment %}
39
39
 
40
+ {% comment %} Variables
41
+ -------------------------------------------------------------------------------- {% endcomment %}
40
42
  {% assign _category = include.category %}
41
43
  {% assign _category_icon = nil %}
42
44
 
43
45
  {% assign _category_icons = site.data.categories %}
44
46
 
45
47
 
46
- {% comment %} Liquid procedures
47
- ------------------------------------------------------------ {% endcomment %}
48
-
49
-
50
48
  {% comment %} Main
51
- ------------------------------------------------------------ {% endcomment %}
52
-
53
- {% for item in _category_icons %}
54
- {% if item[0] == _category %}
55
- {% assign _category = "found" %}
56
- {% assign _category_icon = item[1] %}
57
- {% break %}
58
- {% endif %}
59
- {% endfor %}
60
-
61
- {% if _category == include.category %}
62
- {% assign icon_name = site.data.categories.default.icon_name | downcase %}
63
- {% assign icon_family = site.data.categories.default.icon_family %}
64
- {% assign icon_size = site.data.categories.default.icon_size %}
65
- {% else%}
66
- {% assign icon_name = _category_icon.icon_name | downcase %}
67
- {% assign icon_family = _category_icon.icon_family %}
68
- {% assign icon_size = _category_icon.icon_size %}
49
+ -------------------------------------------------------------------------------- {% endcomment %}
50
+ {% for item in _category_icons %}
51
+ {% if item[0] == _category %}
52
+ {% assign _category = "found" %}
53
+ {% assign _category_icon = item[1] %}
54
+ {% break %}
69
55
  {% endif %}
56
+ {% endfor %}
70
57
 
71
- {% if icon_family == "FontAwesome" %}
72
- {% assign icon_family = "fa" %}
73
- {% elsif icon_family == "Glyphicon" %}
74
- {% assign icon_family = "glyphicon" %}
75
- {% elsif icon_family == "MDI" %}
76
- {% assign icon_family = "mdi" %}
77
- {% elsif icon_family == "ZMDI" %}
78
- {% assign icon_family = "zmdi" %}
79
- {% endif %}
58
+ {% if _category == include.category %}
59
+ {% assign icon_name = site.data.categories.default.icon_name | downcase %}
60
+ {% assign icon_family = site.data.categories.default.icon_family %}
61
+ {% assign icon_size = site.data.categories.default.icon_size %}
62
+ {% else%}
63
+ {% assign icon_name = _category_icon.icon_name | downcase %}
64
+ {% assign icon_family = _category_icon.icon_family %}
65
+ {% assign icon_size = _category_icon.icon_size %}
66
+ {% endif %}
80
67
 
68
+ {% if icon_family == "FontAwesome" %}
69
+ {% assign icon_family = "fa" %}
70
+ {% elsif icon_family == "Glyphicon" %}
71
+ {% assign icon_family = "glyphicon" %}
72
+ {% elsif icon_family == "MDI" %}
73
+ {% assign icon_family = "mdi" %}
74
+ {% elsif icon_family == "ZMDI" %}
75
+ {% assign icon_family = "zmdi" %}
76
+ {% endif %}
@@ -29,21 +29,21 @@
29
29
  {% endcomment %}
30
30
 
31
31
  {% comment %} Liquid procedures
32
- --------------------------------------------------------------- {% endcomment %}
32
+ -------------------------------------------------------------------------------- {% endcomment %}
33
33
  {% capture get_page_path %}themes/{{site.template.name}}/procedures/global/get_page_path.proc{% endcapture %}
34
34
 
35
+
35
36
  {% comment %} Variables
36
- ------------------------------------------------------------ {% endcomment %}
37
+ -------------------------------------------------------------------------------- {% endcomment %}
37
38
  {% assign folders = include.init_folders %}
38
39
 
39
-
40
40
  // NOTE: Calculation of Pathes
41
41
  // Web sources are loaded by the Web Server. The location imagesdir
42
42
  // is calculated relative to "web_root". Asciidoc resources are being
43
43
  // collected by AsciiDoctor relative to "page_root"
44
44
 
45
45
  {% comment %} Variables
46
- --------------------------------------------------------------- {% endcomment %}
46
+ -------------------------------------------------------------------------------- {% endcomment %}
47
47
  {% if site.source.size %} {% assign source_dir = site.source %} {% else %} {% assign source_path = "." %} {% endif %}
48
48
 
49
49
  {% include {{get_page_path}} %}
@@ -55,13 +55,13 @@
55
55
  :tabledir: {includedir}/tables
56
56
  //:tabledir: ../tables
57
57
 
58
-
59
- {% comment %} Moved imagesdir settings to the document
60
- ---------------------------------------------------------------------------
58
+ {% comment %} Main
59
+ Moved imagesdir settings to the document
60
+ --------------------------------------------------------------------------------
61
61
  {% if page.collection %}
62
62
  {% assign imagesdir = site.asciidoc_attributes.imagesdir %}
63
63
  {% else %}
64
64
  :imagesdir: {{web_root}}/000_includes/images
65
65
  {% endif %}
66
- ---------------------------------------------------------------------------
66
+ --------------------------------------------------------------------------------
67
67
  {% endcomment %}
@@ -34,22 +34,17 @@
34
34
  # -----------------------------------------------------------------------------
35
35
  {% endcomment %}
36
36
 
37
-
38
- {% comment %} Variables
39
- ------------------------------------------------------------ {% endcomment %}
40
-
41
-
42
-
43
37
  {% comment %} Liquid procedures
44
- ------------------------------------------------------------ {% endcomment %}
38
+ -------------------------------------------------------------------------------- {% endcomment %}
45
39
 
40
+ {% comment %} Variables
41
+ -------------------------------------------------------------------------------- {% endcomment %}
46
42
 
47
43
 
48
44
  {% comment %} Main
49
- ------------------------------------------------------------ {% endcomment %}
50
-
51
- {% if site.permalink == 'none' %}
52
- {% capture page_url %}{{ page.url }}.html{% endcapture %}
53
- {% else %}
54
- {% capture page_url %}{{ page.url }}{% endcapture %}
55
- {% endif %}
45
+ -------------------------------------------------------------------------------- {% endcomment %}
46
+ {% if site.permalink == 'none' %}
47
+ {% capture page_url %}{{ page.url }}.html{% endcapture %}
48
+ {% else %}
49
+ {% capture page_url %}{{ page.url }}{% endcapture %}
50
+ {% endif %}
@@ -40,30 +40,25 @@
40
40
  # -----------------------------------------------------------------------------
41
41
  {% endcomment %}
42
42
 
43
+ {% comment %} Liquid procedures
44
+ -------------------------------------------------------------------------------- {% endcomment %}
43
45
 
44
46
  {% comment %} Variables
45
- ------------------------------------------------------------ {% endcomment %}
46
-
47
+ -------------------------------------------------------------------------------- {% endcomment %}
47
48
  {% assign j1_color_config = site.data.j1_colors %}
48
49
  {% assign color = include.color %}
49
50
  {% assign color_fallback = include.fallback %}
50
51
 
51
52
 
52
- {% comment %} Liquid procedures
53
- ------------------------------------------------------------ {% endcomment %}
54
-
55
-
56
53
  {% comment %} Main
57
- ------------------------------------------------------------ {% endcomment %}
58
-
59
- {% for item in j1_color_config %}
60
- {% if item[0] == color %}
61
- {% assign color = item[1] %}
62
- {% break %}
63
- {% endif %}
64
- {% endfor %}
65
-
66
- {% if color == include.color %}
67
- {% assign color = color_fallback %}
54
+ -------------------------------------------------------------------------------- {% endcomment %}
55
+ {% for item in j1_color_config %}
56
+ {% if item[0] == color %}
57
+ {% assign color = item[1] %}
58
+ {% break %}
68
59
  {% endif %}
60
+ {% endfor %}
69
61
 
62
+ {% if color == include.color %}
63
+ {% assign color = color_fallback %}
64
+ {% endif %}
@@ -38,49 +38,45 @@
38
38
  # -----------------------------------------------------------------------------
39
39
  {% endcomment %}
40
40
 
41
+ {% comment %} Liquid procedures
42
+ -------------------------------------------------------------------------------- {% endcomment %}
41
43
 
42
44
  {% comment %} Variables
43
- ------------------------------------------------------------ {% endcomment %}
44
-
45
+ -------------------------------------------------------------------------------- {% endcomment %}
45
46
  {% assign size = include.size | strip | downcase %}
46
47
  {% assign size_is_integer = size | is_numeric %}
47
48
 
48
49
 
49
- {% comment %} Liquid procedures
50
- ------------------------------------------------------------ {% endcomment %}
51
-
52
-
53
50
  {% comment %} Main
54
- ------------------------------------------------------------ {% endcomment %}
55
-
56
- {% if size_is_integer == false %}
51
+ -------------------------------------------------------------------------------- {% endcomment %}
52
+ {% if size_is_integer == false %}
57
53
 
58
- {% assign size_type_percent = size | contain_substr: "%" %}
59
- {% assign size_type_px = size | contain_substr: "px" %}
60
- {% assign size_type_em = size | contain_substr: "em" %}
61
- {% assign size_type_pt = size | contain_substr: "pt" %}
54
+ {% assign size_type_percent = size | contain_substr: "%" %}
55
+ {% assign size_type_px = size | contain_substr: "px" %}
56
+ {% assign size_type_em = size | contain_substr: "em" %}
57
+ {% assign size_type_pt = size | contain_substr: "pt" %}
62
58
 
63
- {% if size_type_percent or size_type_px or size_type_em or size_type_pt%}
64
- {% assign font_size = size %}
65
- {% else %}
66
- {% if size == 'xxxlarge' %} {% assign font_size = '4.000em' %} {% endif %}
67
- {% if size == 'xx-large' %} {% assign font_size = 'xx-large' %} {% endif %}
68
- {% if size == 'xxlarge' %} {% assign font_size = '3.000em' %} {% endif %}
69
- {% if size == 'x-large' %} {% assign font_size = 'x-large' %} {% endif %}
70
- {% if size == 'xlarge' %} {% assign font_size = '2.250em' %} {% endif %}
71
- {% if size == 'larger' %} {% assign font_size = '1.750em' %} {% endif %}
72
- {% if size == 'large' %} {% assign font_size = '1.125em' %} {% endif %}
73
- {% if size == 'default' %} {% assign font_size = '1.000em' %} {% endif %}
74
- {% if size == 'inherit' %} {% assign font_size = 'inherit' %} {% endif %}
75
- {% if size == 'medium' %} {% assign font_size = 'medium' %} {% endif %}
76
- {% if size == 'small' %} {% assign font_size = '0.875em' %} {% endif %}
77
- {% if size == 'smaller' %} {% assign font_size = '0.750em' %} {% endif %}
78
- {% if size == 'xsmall' %} {% assign font_size = '0.500em' %} {% endif %}
79
- {% if size == 'x-small' %} {% assign font_size = 'x-small' %} {% endif %}
80
- {% if size == 'xxsmall' %} {% assign font_size = '0.375em' %} {% endif %}
81
- {% if size == 'xx-small' %} {% assign font_size = 'xx-small' %} {% endif %}
82
- {% if size == 'xxxsmall' %} {% assign font_size = '0.250em' %} {% endif %}
83
- {% endif %}
59
+ {% if size_type_percent or size_type_px or size_type_em or size_type_pt%}
60
+ {% assign font_size = size %}
84
61
  {% else %}
85
- {% capture font_size %}{{size}}px{% endcapture %}
62
+ {% if size == 'xxxlarge' %} {% assign font_size = '4.000em' %} {% endif %}
63
+ {% if size == 'xx-large' %} {% assign font_size = 'xx-large' %} {% endif %}
64
+ {% if size == 'xxlarge' %} {% assign font_size = '3.000em' %} {% endif %}
65
+ {% if size == 'x-large' %} {% assign font_size = 'x-large' %} {% endif %}
66
+ {% if size == 'xlarge' %} {% assign font_size = '2.250em' %} {% endif %}
67
+ {% if size == 'larger' %} {% assign font_size = '1.750em' %} {% endif %}
68
+ {% if size == 'large' %} {% assign font_size = '1.125em' %} {% endif %}
69
+ {% if size == 'default' %} {% assign font_size = '1.000em' %} {% endif %}
70
+ {% if size == 'inherit' %} {% assign font_size = 'inherit' %} {% endif %}
71
+ {% if size == 'medium' %} {% assign font_size = 'medium' %} {% endif %}
72
+ {% if size == 'small' %} {% assign font_size = '0.875em' %} {% endif %}
73
+ {% if size == 'smaller' %} {% assign font_size = '0.750em' %} {% endif %}
74
+ {% if size == 'xsmall' %} {% assign font_size = '0.500em' %} {% endif %}
75
+ {% if size == 'x-small' %} {% assign font_size = 'x-small' %} {% endif %}
76
+ {% if size == 'xxsmall' %} {% assign font_size = '0.375em' %} {% endif %}
77
+ {% if size == 'xx-small' %} {% assign font_size = 'xx-small' %} {% endif %}
78
+ {% if size == 'xxxsmall' %} {% assign font_size = '0.250em' %} {% endif %}
86
79
  {% endif %}
80
+ {% else %}
81
+ {% capture font_size %}{{size}}px{% endcapture %}
82
+ {% endif %}
@@ -39,51 +39,49 @@
39
39
  # -----------------------------------------------------------------------------
40
40
  {% endcomment %}
41
41
 
42
- {% comment %} Variables
43
- ------------------------------------------------------------ {% endcomment %}
42
+ {% comment %} Liquid procedures
43
+ -------------------------------------------------------------------------------- {% endcomment %}
44
44
 
45
+ {% comment %} Variables
46
+ -------------------------------------------------------------------------------- {% endcomment %}
45
47
  {% assign family = include.family | strip | downcase %}
46
48
  {% assign size = include.size | strip | downcase %}
47
49
 
48
50
 
49
- {% comment %} Liquid procedures
50
- ------------------------------------------------------------ {% endcomment %}
51
-
52
-
53
51
  {% comment %} Main
54
- ------------------------------------------------------------ {% endcomment %}
55
- {% if family == 'mdib' %}
56
- {% if size == 'default' %} {% assign size = '' %} {% endif %}
57
- {% if size == 'large' %} {% assign size = 'mdib-18px' %} {% endif %}
58
- {% if size == 'larger' %} {% assign size = 'mdib-24px' %} {% endif %}
59
- {% if size == 'xlarge' %} {% assign size = 'mdib-36px' %} {% endif %}
60
- {% if size == 'xxlarge' %} {% assign size = 'mdib-48px' %} {% endif %}
61
- {% if size == 'xxxlarge' %} {% assign size = 'mdib-48px' %} {% endif %}
62
- {% endif %}
63
-
64
- {% if family == 'mdi' or family == 'material design icons' %}
65
- {% if size == 'default' %} {% assign size = '' %} {% endif %}
66
- {% if size == 'large' %} {% assign size = 'mdi-18px' %} {% endif %}
67
- {% if size == 'larger' %} {% assign size = 'mdi-24px' %} {% endif %}
68
- {% if size == 'xlarge' %} {% assign size = 'mdi-36px' %} {% endif %}
69
- {% if size == 'xxlarge' %} {% assign size = 'mdi-48px' %} {% endif %}
70
- {% if size == 'xxxlarge' %} {% assign size = 'mdi-48px' %} {% endif %}
71
- {% endif %}
52
+ -------------------------------------------------------------------------------- {% endcomment %}
53
+ {% if family == 'mdib' %}
54
+ {% if size == 'default' %} {% assign size = '' %} {% endif %}
55
+ {% if size == 'large' %} {% assign size = 'mdib-18px' %} {% endif %}
56
+ {% if size == 'larger' %} {% assign size = 'mdib-24px' %} {% endif %}
57
+ {% if size == 'xlarge' %} {% assign size = 'mdib-36px' %} {% endif %}
58
+ {% if size == 'xxlarge' %} {% assign size = 'mdib-48px' %} {% endif %}
59
+ {% if size == 'xxxlarge' %} {% assign size = 'mdib-48px' %} {% endif %}
60
+ {% endif %}
61
+
62
+ {% if family == 'mdi' or family == 'material design icons' %}
63
+ {% if size == 'default' %} {% assign size = '' %} {% endif %}
64
+ {% if size == 'large' %} {% assign size = 'mdi-18px' %} {% endif %}
65
+ {% if size == 'larger' %} {% assign size = 'mdi-24px' %} {% endif %}
66
+ {% if size == 'xlarge' %} {% assign size = 'mdi-36px' %} {% endif %}
67
+ {% if size == 'xxlarge' %} {% assign size = 'mdi-48px' %} {% endif %}
68
+ {% if size == 'xxxlarge' %} {% assign size = 'mdi-48px' %} {% endif %}
69
+ {% endif %}
72
70
 
73
- {% if family == 'fontawesome' or family == 'fontawesome5' or family == 'fa' %}
74
- {% if size == 'default' %} {% assign size = 'fa-lg' %} {% endif %}
75
- {% if size == 'large' %} {% assign size = 'fa-2x' %} {% endif %}
76
- {% if size == 'larger' %} {% assign size = 'fa-3x' %} {% endif %}
77
- {% if size == 'xlarge' %} {% assign size = 'fa-5x' %} {% endif %}
78
- {% if size == 'xxlarge' %} {% assign size = 'fa-7x' %} {% endif %}
79
- {% if size == 'xxxlarge' %} {% assign size = 'fa-10x' %} {% endif %}
80
- {% endif %}
71
+ {% if family == 'fontawesome' or family == 'fontawesome5' or family == 'fa' %}
72
+ {% if size == 'default' %} {% assign size = 'fa-lg' %} {% endif %}
73
+ {% if size == 'large' %} {% assign size = 'fa-2x' %} {% endif %}
74
+ {% if size == 'larger' %} {% assign size = 'fa-3x' %} {% endif %}
75
+ {% if size == 'xlarge' %} {% assign size = 'fa-5x' %} {% endif %}
76
+ {% if size == 'xxlarge' %} {% assign size = 'fa-7x' %} {% endif %}
77
+ {% if size == 'xxxlarge' %} {% assign size = 'fa-10x' %} {% endif %}
78
+ {% endif %}
81
79
 
82
- {% if family == 'iconify' %}
83
- {% if size == 'default' %} {% assign size = '' %} {% endif %}
84
- {% if size == 'large' %} {% assign size = 'iconify-18px' %} {% endif %}
85
- {% if size == 'larger' %} {% assign size = 'iconify-24px' %} {% endif %}
86
- {% if size == 'xlarge' %} {% assign size = 'iconify-36px' %} {% endif %}
87
- {% if size == 'xxlarge' %} {% assign size = 'iconify-48px' %} {% endif %}
88
- {% if size == 'xxxlarge' %} {% assign size = 'iconify-48px' %} {% endif %}
89
- {% endif %}
80
+ {% if family == 'iconify' %}
81
+ {% if size == 'default' %} {% assign size = '' %} {% endif %}
82
+ {% if size == 'large' %} {% assign size = 'iconify-18px' %} {% endif %}
83
+ {% if size == 'larger' %} {% assign size = 'iconify-24px' %} {% endif %}
84
+ {% if size == 'xlarge' %} {% assign size = 'iconify-36px' %} {% endif %}
85
+ {% if size == 'xxlarge' %} {% assign size = 'iconify-48px' %} {% endif %}
86
+ {% if size == 'xxxlarge' %} {% assign size = 'iconify-48px' %} {% endif %}
87
+ {% endif %}