j1-template 2021.0.3 → 2021.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (388) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  3. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +11 -11
  4. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  5. data/_layouts/raw.html +1 -1
  6. data/assets/data/fam.html +1 -1
  7. data/assets/data/gallery_customizer.html +1 -1
  8. data/assets/data/mdi_icons.json +69582 -14640
  9. data/assets/data/menu.html +33 -4
  10. data/assets/data/mmenu_toc.html +1 -1
  11. data/assets/data/quicklinks.html +2 -2
  12. data/assets/themes/j1/adapter/js/fam.js +2 -2
  13. data/assets/themes/j1/adapter/js/j1.js +3 -2
  14. data/assets/themes/j1/adapter/js/mmenu.js +18 -22
  15. data/assets/themes/j1/adapter/js/{lunr_search.js → quicksearch.js} +11 -11
  16. data/assets/themes/j1/core/css/animate.min.css +1 -7
  17. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +302 -22
  18. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  19. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +12505 -4812
  20. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -1
  21. data/assets/themes/j1/core/css/icon-fonts/twemoji.min.css +1 -1
  22. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +79 -49
  23. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -6
  24. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +78 -48
  25. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -6
  26. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +124 -52
  27. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -8
  28. data/assets/themes/j1/core/css/vendor.css +2 -2
  29. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  30. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.eot → eot/fa-brands-400.eot} +0 -0
  31. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.eot → eot/fa-regular-400.eot} +0 -0
  32. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.eot → eot/fa-solid-900.eot} +0 -0
  33. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  34. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  35. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  36. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  37. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  38. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  39. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.svg → svg/fa-brands-400.svg} +855 -597
  40. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.svg → svg/fa-regular-400.svg} +94 -96
  41. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.svg → svg/fa-solid-900.svg} +1272 -771
  42. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.ttf → ttf/fa-brands-400.ttf} +0 -0
  43. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.ttf → ttf/fa-regular-400.ttf} +0 -0
  44. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.ttf → ttf/fa-solid-900.ttf} +0 -0
  45. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92/eot}/materialdesignicons-webfont.eot +0 -0
  46. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff +0 -0
  47. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff2 +0 -0
  48. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92/svg}/materialdesignicons-webfont.svg +0 -0
  49. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92/ttf}/materialdesignicons-webfont.ttf +0 -0
  50. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/eot/materialdesignicons-webfont.eot +0 -0
  51. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff +0 -0
  52. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff2 +0 -0
  53. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/preview.html +717 -0
  54. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/svg/materialdesignicons-webfont.svg +10188 -0
  55. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/ttf/materialdesignicons-webfont.ttf +0 -0
  56. data/assets/themes/j1/core/fonts/material_design_icons/fonts/eot/materialdesignicons-webfont.eot +0 -0
  57. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff +0 -0
  58. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff2 +0 -0
  59. data/assets/themes/j1/core/fonts/material_design_icons/fonts/svg/materialdesignicons-webfont.svg +10188 -0
  60. data/assets/themes/j1/core/fonts/material_design_icons/fonts/ttf/materialdesignicons-webfont.ttf +0 -0
  61. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.json +0 -0
  62. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.yml +0 -0
  63. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.eot → eot/Roboto-Bold.eot} +0 -0
  64. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.eot → eot/Roboto-Light.eot} +0 -0
  65. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.eot → eot/Roboto-Medium.eot} +0 -0
  66. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.eot → eot/Roboto-Regular.eot} +0 -0
  67. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.eot → eot/Roboto-Thin.eot} +0 -0
  68. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Black.ttf → ttf/Roboto-Black.ttf} +0 -0
  69. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BlackItalic.ttf → ttf/Roboto-BlackItalic.ttf} +0 -0
  70. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.ttf → ttf/Roboto-Bold.ttf} +0 -0
  71. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BoldItalic.ttf → ttf/Roboto-BoldItalic.ttf} +0 -0
  72. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Italic.ttf → ttf/Roboto-Italic.ttf} +0 -0
  73. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.ttf → ttf/Roboto-Light.ttf} +0 -0
  74. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-LightItalic.ttf → ttf/Roboto-LightItalic.ttf} +0 -0
  75. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.ttf → ttf/Roboto-Medium.ttf} +0 -0
  76. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-MediumItalic.ttf → ttf/Roboto-MediumItalic.ttf} +0 -0
  77. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.ttf → ttf/Roboto-Regular.ttf} +0 -0
  78. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.ttf → ttf/Roboto-Thin.ttf} +0 -0
  79. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-ThinItalic.ttf → ttf/Roboto-ThinItalic.ttf} +0 -0
  80. data/assets/themes/j1/core/js/template.min.js +23 -1
  81. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png +0 -0
  82. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png +0 -0
  83. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png +0 -0
  84. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc.png +0 -0
  85. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc_disabled.png +0 -0
  86. data/assets/themes/j1/modules/datatables/css/datatables.css +1113 -0
  87. data/assets/themes/j1/modules/datatables/css/datatables.min.css +136 -0
  88. data/assets/themes/j1/modules/datatables/css/theme/uno.css +473 -0
  89. data/assets/themes/j1/modules/datatables/js/datatables.js +95360 -0
  90. data/assets/themes/j1/modules/datatables/js/datatables.min.js +533 -0
  91. data/assets/themes/j1/modules/jquery/js/jquery-3.5.1.min.map +1 -0
  92. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +110 -0
  93. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +110 -0
  94. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.js +1245 -0
  95. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.min.js +8 -0
  96. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.min.zip +0 -0
  97. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.zip +0 -0
  98. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +110 -0
  99. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +110 -0
  100. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +11 -10
  101. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +3 -106
  102. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.js +147 -146
  103. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.min.js +3 -3
  104. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +1 -2
  105. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  106. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.css → quicksearch.css} +0 -0
  107. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.min.css → quicksearch.min.css} +0 -0
  108. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.js +304 -0
  109. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.min.js +1 -0
  110. data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.js → quicksearch.js} +22 -3
  111. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.min.js +17 -0
  112. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.js +381 -0
  113. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.min.js +1 -0
  114. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.js +284 -0
  115. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.min.js +18 -0
  116. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.js +384 -0
  117. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.min.js +18 -0
  118. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.js +450 -0
  119. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.min.js +18 -0
  120. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.js +599 -0
  121. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.min.js +18 -0
  122. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.js +541 -0
  123. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.min.js +18 -0
  124. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.js +703 -0
  125. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.min.js +18 -0
  126. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.js +565 -0
  127. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.min.js +18 -0
  128. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.js +617 -0
  129. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.min.js +18 -0
  130. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.js +188 -0
  131. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.min.js +1 -0
  132. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.js +5 -0
  133. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.min.js +1 -0
  134. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.js +79 -0
  135. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.min.js +1 -0
  136. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.js +448 -0
  137. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.min.js +18 -0
  138. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.js +258 -0
  139. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.min.js +18 -0
  140. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.js +570 -0
  141. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.min.js +18 -0
  142. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.js +558 -0
  143. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.min.js +18 -0
  144. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.js +391 -0
  145. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.min.js +18 -0
  146. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.js +256 -0
  147. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.min.js +18 -0
  148. data/assets/themes/j1/modules/lunrSearch/languages/lunr.th.js +97 -0
  149. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.js +1087 -0
  150. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.min.js +18 -0
  151. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.js +84 -0
  152. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.min.js +1 -0
  153. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +20 -5
  154. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  155. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +115 -0
  156. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +15 -0
  157. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.new.js +111 -0
  158. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.old.js +103 -0
  159. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +2 -2
  160. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +3 -3
  161. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +4 -4
  162. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
  163. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +46 -45
  164. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  165. data/lib/j1/commands/generate.rb +3 -2
  166. data/lib/j1/version.rb +1 -1
  167. data/lib/j1_app/j1_auth_manager/auth_manager.rb +15 -0
  168. data/lib/starter_web/Gemfile +18 -18
  169. data/lib/starter_web/_config.yml +10 -8
  170. data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
  171. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1mn-subset +26 -0
  172. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1p-subset +26 -0
  173. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoemoji-subset +3 -0
  174. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoserif-subset +26 -0
  175. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-mplus +16 -0
  176. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoemoji +201 -0
  177. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoserif +201 -0
  178. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-roboto +11 -0
  179. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Black.ttf +0 -0
  180. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BlackItalic.ttf +0 -0
  181. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Bold.ttf +0 -0
  182. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BoldItalic.ttf +0 -0
  183. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Italic.ttf +0 -0
  184. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Light.ttf +0 -0
  185. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-LightItalic.ttf +0 -0
  186. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Medium.ttf +0 -0
  187. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-MediumItalic.ttf +0 -0
  188. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Regular.ttf +0 -0
  189. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Thin.ttf +0 -0
  190. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-ThinItalic.ttf +0 -0
  191. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold-subset.ttf +0 -0
  192. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold_italic-subset.ttf +0 -0
  193. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-italic-subset.ttf +0 -0
  194. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-regular-subset.ttf +0 -0
  195. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/mplus1p-regular-fallback.ttf +0 -0
  196. data/lib/starter_web/_data/asciidoc2pdf/fonts/notoemoji-subset.ttf +0 -0
  197. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold-subset.ttf +0 -0
  198. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold_italic-subset.ttf +0 -0
  199. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-italic-subset.ttf +0 -0
  200. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-regular-subset.ttf +0 -0
  201. data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +130 -0
  202. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +36 -0
  203. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +15 -0
  204. data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +298 -0
  205. data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +21 -0
  206. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +352 -0
  207. data/lib/starter_web/_data/j1_config.yml +3 -3
  208. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  209. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +82 -0
  210. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  211. data/lib/starter_web/_data/modules/navigator.yml +4 -6
  212. data/lib/starter_web/_data/modules/navigator_menu.yml +28 -72
  213. data/lib/starter_web/_data/modules/{lunr_search.yml → quicksearch.yml} +3 -3
  214. data/lib/starter_web/_data/modules/themer.yml +1 -1
  215. data/lib/starter_web/_data/resources.yml +34 -60
  216. data/lib/starter_web/_includes/attributes.asciidoc +297 -95
  217. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -1
  218. data/lib/starter_web/_includes/tables/template_variables.asciidoc +1 -1
  219. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  220. data/lib/starter_web/_plugins/lunr_index.rb +38 -8
  221. data/lib/starter_web/_plugins/minifyJS.rb +3 -0
  222. data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
  223. data/lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg +0 -0
  224. data/lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg +0 -0
  225. data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
  226. data/lib/starter_web/assets/images/modules/attics/responsive-text-1920x1280.jpg +0 -0
  227. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  228. data/lib/starter_web/assets/images/pages/panels/modules-apps-1920x800.jpg +0 -0
  229. data/lib/starter_web/assets/images/pages/panels/no-time-1920x800.jpg +0 -0
  230. data/lib/starter_web/assets/images/pages/panels/the-place-1920x800.jpg +0 -0
  231. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg +0 -0
  232. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon.jpg +0 -0
  233. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg +0 -0
  234. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input.jpg +0 -0
  235. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll-.jpg +0 -0
  236. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll.jpg +0 -0
  237. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  238. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  239. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  240. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  241. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  242. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  243. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  244. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  245. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  246. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  247. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  248. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  249. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +10 -13
  250. data/lib/starter_web/collections/posts/public/featured/_posts/{2018-05-01-confusion-about-base-url.adoc → 2020-04-01-confusion-about-base-url.adoc} +7 -5
  251. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-05-01-top-open-source-static-site-generators.adoc → 2020-05-01-top-open-source-static-site-generators.adoc} +16 -14
  252. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-06-01-about-cookies.adoc → 2020-06-01-about-cookies.adoc} +10 -24
  253. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +7 -18
  254. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +7 -17
  255. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +7 -17
  256. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +7 -17
  257. data/{assets/themes/j1/modules/mdiPreviewer/js → lib/starter_web/collections/posts/public/series/_posts/_includes/documents}/readme +0 -0
  258. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +5 -4
  259. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +13 -3
  260. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +13 -3
  261. data/lib/starter_web/dot.gitattributes +2 -16
  262. data/lib/starter_web/favicon.ico +0 -0
  263. data/lib/starter_web/index.html +4 -6
  264. data/lib/starter_web/package.json +8 -8
  265. data/lib/starter_web/pages/protected/site_search.adoc +2 -7
  266. data/lib/starter_web/pages/public/about/about_site.adoc +39 -16
  267. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  268. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  269. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  270. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  271. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  272. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  273. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  274. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  275. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  276. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  277. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  278. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  279. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  280. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  281. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  282. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  283. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  284. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  285. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  286. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  287. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  288. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  289. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  290. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  291. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  292. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  293. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  294. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  295. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  296. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  297. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  298. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  299. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  300. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  301. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  302. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  303. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  304. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  305. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  306. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  307. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  308. data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -0
  309. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -1
  310. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +2 -0
  311. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +2 -0
  312. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -0
  313. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +8 -4
  314. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +3 -4
  315. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -270
  316. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +168 -85
  317. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +6 -9
  318. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +5 -6
  319. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -55
  320. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +113 -57
  321. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +433 -0
  322. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +4 -1
  323. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  324. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  325. data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
  326. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  327. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  328. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +1 -1
  329. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  330. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +1 -1
  331. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  332. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +16 -5
  333. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +5 -81
  334. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +119 -0
  335. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  336. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  337. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
  338. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  339. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  340. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +4 -4
  341. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  342. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  343. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  344. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  345. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  346. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +41 -0
  347. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +857 -0
  348. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  349. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  350. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  351. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  352. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  353. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +116 -78
  354. data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
  355. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  356. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +42 -109
  357. data/lib/starter_web/pages/public/previewer/rouge.adoc +74 -352
  358. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  359. data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
  360. data/lib/starter_web/utilsrv/package.json +3 -3
  361. metadata +236 -81
  362. data/assets/themes/j1/core/fonts/materialdesign_icons/license.md +0 -97
  363. data/assets/themes/j1/core/fonts/roboto/fonts/OpenSansEmoji.ttf +0 -0
  364. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold-ascii.ttf +0 -0
  365. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold_italic-ascii.ttf +0 -0
  366. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-italic-ascii.ttf +0 -0
  367. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
  368. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +0 -17
  369. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  370. data/lib/starter_web/_data/modules/defaults/lunr_search.yml +0 -171
  371. data/lib/starter_web/_plugins/simple_search_filter.rb +0 -32
  372. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +0 -31
  373. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +0 -430
  374. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh +0 -28
  375. data/lib/starter_web/pages/public/about/become_a_patron.adoc +0 -46
  376. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  377. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  378. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  379. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  380. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  381. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  382. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  383. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  384. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  385. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  386. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +0 -236
  387. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  388. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -1,5 +1,5 @@
1
1
  .Jekyll variables (Liquid)
2
- [cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
2
+ [cols="3,3a,6a, subs=+macros, options="header", width="100%", role="rtable mt-3"]
3
3
  |===============================================================================
4
4
  |Name |Value |Description
5
5
 
@@ -1,5 +1,5 @@
1
1
  .Template variables (Asciidoc)
2
- [cols="cols="3,3a,6a, options="header", width="100%", role="rtable mt-3"]
2
+ [cols="cols="3,3a,6a, subs=+macros, options="header", width="100%", role="rtable mt-3"]
3
3
  |===============================================================================
4
4
  |Name |Value |Description
5
5
 
@@ -26,7 +26,7 @@ Asciidoctor::Extensions.register do
26
26
  size_class = (size = attributes['size']) ? %(fa-#{size}) : nil
27
27
  modifier_class = (modifier = attributes['modifier']) ? %(#{modifier}) : nil
28
28
  icon_name = target.tr '_', '-'
29
- %(<i class="fab #{size_class} #{modifier} fa-#{icon_name}"></i>)
29
+ %(<i class="fab fa-#{icon_name} #{size_class} #{modifier}"></i>)
30
30
  end
31
31
  end
32
32
  inline_macro FabIconInlineMacro
@@ -31,8 +31,8 @@ module Jekyll
31
31
  @module_path.slice! "_plugins"
32
32
  @module_config_path = File.join(@module_path, config['data_dir'], 'modules')
33
33
 
34
- @module_config_default = YAML::load(File.open(File.join(@module_config_path, 'defaults', 'lunr_search.yml')))
35
- @module_config_user = YAML::load(File.open(File.join(@module_config_path,'lunr_search.yml')))
34
+ @module_config_default = YAML::load(File.open(File.join(@module_config_path, 'defaults', 'quicksearch.yml')))
35
+ @module_config_user = YAML::load(File.open(File.join(@module_config_path,'quicksearch.yml')))
36
36
 
37
37
  @module_config_default_settings = @module_config_default['defaults']
38
38
  @module_config_user_settings = @module_config_user['settings']
@@ -83,17 +83,23 @@ module Jekyll
83
83
  #
84
84
  @strip_index_html = @lunr_config['strip_index_html']
85
85
 
86
+ # @strip_categories configuration
87
+ #
88
+ @strip_categories = @lunr_config['strip_categories']
89
+ @stripped_categories = @strip_categories.join(',').gsub!(',', ' ')
90
+
86
91
  # stop word exclusion configuration
87
92
  #
88
93
  @min_length = @lunr_config['min_length']
89
94
  @stopwords_file = @lunr_config['stopwords']
95
+
90
96
  end
91
97
 
92
98
  # Index all pages except pages matching any value in config['lunr_excludes']
93
99
  # or with frontmatter settings (exclude_from_search: true)
94
100
  #
95
101
  def generate(site)
96
- Jekyll.logger.info 'J1 LunrSearch:', 'creating search index ...'
102
+ Jekyll.logger.info 'J1 QuickSearch:', 'creating search index ...'
97
103
 
98
104
  @site = site
99
105
  # gather posts and pages
@@ -103,7 +109,7 @@ module Jekyll
103
109
  # index = []
104
110
 
105
111
  index_js = open(@lunr_path).read
106
- # all settings must be added within the index function
112
+ # NOTE: all settings must be added within the index function
107
113
  #
108
114
  index_js << 'var idx = lunr(function() {'
109
115
 
@@ -130,7 +136,11 @@ module Jekyll
130
136
  'body' => entry.body
131
137
  }
132
138
 
139
+ # remove unwanted categories
140
+ doc['categories'] -= @strip_categories
141
+
133
142
  index_js << 'this.add(' << ::JSON.generate(doc, quirks_mode: true) << ');'
143
+
134
144
  # reduce the size of the doc array by deleting the body key
135
145
  doc.delete('body')
136
146
  @docs[i] = doc
@@ -146,12 +156,13 @@ module Jekyll
146
156
  'docs' => @docs,
147
157
  'index' => ::JSON.parse(index, {:max_nesting => false})
148
158
  }
149
-
150
159
  filepath = File.join(site.dest, filename)
160
+
151
161
  # create data path if not already exists
162
+ #
152
163
  FileUtils.mkdir_p(File.dirname(filepath))
153
164
  File.open(filepath, 'w') { |f| f.write(JSON.dump(total)) }
154
- Jekyll.logger.info 'J1 LunrSearch:', "finished, index ready"
165
+ Jekyll.logger.info 'J1 QuickSearch:', "finished, index ready."
155
166
  added_files = [filename]
156
167
 
157
168
  # Keep the written files from being cleaned by Jekyll
@@ -250,7 +261,7 @@ module Jekyll
250
261
  elsif defined?(site.data['date'])
251
262
  date = site.data['date']
252
263
  else
253
- date = '2020-01-01 00:00:00'
264
+ date = '2021-01-01 00:00:00'
254
265
  end
255
266
 
256
267
  tagline = site.data['tagline']
@@ -261,6 +272,17 @@ module Jekyll
261
272
  is_post = site.is_a?(Jekyll::Document)
262
273
  body = renderer.render(site)
263
274
 
275
+ if description.nil? || description.length == 0
276
+ description = 'No description available.'
277
+ end
278
+
279
+ if site.is_a?(Jekyll::Document)
280
+ excerpt = extract_excerpt(site)
281
+ unless excerpt.nil? || excerpt.length == 0
282
+ description = excerpt
283
+ end
284
+ end
285
+
264
286
  SearchEntry.new(title, tagline, url, date, tags, categories, description, is_post, body, renderer)
265
287
  else
266
288
  raise 'Not supported'
@@ -272,6 +294,14 @@ module Jekyll
272
294
  [ data['title'], data['url'] ]
273
295
  end
274
296
 
297
+ def self.extract_excerpt(item)
298
+ data = item.to_liquid
299
+ parsed_data = Nokogiri::HTML.parse(data['excerpt']).text
300
+ parsed_data.gsub!(/\n+/, ' ')
301
+ parsed_data.gsub!(/^\s+/, '')
302
+ parsed_data.gsub!(/\s+$/, '')
303
+ end
304
+
275
305
  attr_reader :title, :tagline, :url, :date, :tags, :categories, :description, :is_post, :body, :collection
276
306
 
277
307
  def initialize(title, tagline, url, date, tags, categories, description, is_post, body, collection)
@@ -311,6 +341,6 @@ end
311
341
 
312
342
  module Jekyll
313
343
  module J1LunrSearch
314
- VERSION = '1.0.0'
344
+ VERSION = '2021.0.8'
315
345
  end
316
346
  end
@@ -33,6 +33,9 @@
33
33
  # rubocop:disable Layout/ExtraSpacing
34
34
  # rubocop:disable Metrics/AbcSize
35
35
  # ------------------------------------------------------------------------------
36
+ # NOTE: To be checked if the gem uglifier can be replaced by the
37
+ # JS module "Terser" already used for package 200_template_js
38
+ # ------------------------------------------------------------------------------
36
39
  require 'uglifier'
37
40
 
38
41
  module Jekyll
@@ -14,7 +14,7 @@
14
14
  version="1.1"
15
15
  inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
16
16
  sodipodi:docname="d1.svg"
17
- inkscape:export-filename="C:\Temp\d10n-2021.0.3\assets\images\modules\icons\d1\d1-256x256.png"
17
+ inkscape:export-filename="C:\Temp\d10n-2021.0.8\assets\images\modules\icons\d1\d1-256x256.png"
18
18
  inkscape:export-xdpi="49.152"
19
19
  inkscape:export-ydpi="49.152">
20
20
  <title
@@ -2,8 +2,6 @@
2
2
  title: Welcome
3
3
  tagline: jekyll for everyone
4
4
  date: <%= Time.now.strftime('%Y-%m-%d') %> 00:00:00
5
- description: >
6
- Auto-generated welcome post
7
5
 
8
6
  tags: [ Example, Post ]
9
7
  categories: [ Featured ]
@@ -34,12 +32,16 @@ resource_options:
34
32
  // Enable the Liquid Preprocessor
35
33
  :page-liquid:
36
34
 
35
+ // Set (local) page attributes here
36
+ // -----------------------------------------------------------------------------
37
+ // :page--attr: <attr-value>
38
+
37
39
  // Place an excerpt at the most top position
38
40
  // -----------------------------------------------------------------------------
39
41
  All you're doing at the end of the day is writing your content and Jekyll does
40
42
  all the tricky things needed for a website: putting out HTML, Javascript and
41
- CSS. As a result, the site creation process gets out of your way. It's done
42
- by Jekyll, and allows you to concentrate on what truly matters: your content.
43
+ CSS. As a result, the site creation process gets out of your way. Sounds fun,
44
+ isn't it?
43
45
 
44
46
  [role="clearfix mb-3"]
45
47
  excerpt__end
@@ -50,23 +52,18 @@ excerpt__end
50
52
 
51
53
  // Load page attributes
52
54
  // -----------------------------------------------------------------------------
53
- {% include {{load_attributes}} scope="all" %}
54
-
55
- // Set page (local) attributes here
56
- // -----------------------------------------------------------------------------
57
- // :page--attr: <attr-value>
55
+ {% include {{load_attributes}} scope="global" %}
58
56
 
59
57
 
60
58
  // Page content
61
59
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62
60
 
61
+ // Include sub-documents
62
+ // -----------------------------------------------------------------------------
63
+
63
64
  [[readmore]]
64
65
  == What is a static site?
65
66
 
66
- [role="mb-3"]
67
- // image::{{page.image}}[{{page.title}}]
68
- // image::/assets/images/modules/attics/spider-web-1920x1200-bw.png[{{page.title}}, 800]
69
-
70
67
  A static site serves the content straight to the user as it is stored on
71
68
  the server-side. To put it in another way, in opposition to WordPress
72
69
  which use a database to load dynamic content, a static site will display
@@ -1,12 +1,10 @@
1
1
  ---
2
2
  title: Jekyll URLs
3
3
  tagline: what is baseurl
4
- date: 2018-05-01 00:00:00
5
- description: >
6
- Jekyll URL Configuration
4
+ date: 2020-04-01 00:00:00
7
5
 
8
6
  tags: [ Jekyll, Configuration ]
9
- categories: [ Featured ]
7
+ categories: [ Knowledge ]
10
8
 
11
9
  series:
12
10
  adsense: false
@@ -30,7 +28,7 @@ resource_options:
30
28
  // Enable the Liquid Preprocessor
31
29
  :page-liquid:
32
30
 
33
- // Set page (local) attributes here
31
+ // Set (local) page attributes here
34
32
  // -----------------------------------------------------------------------------
35
33
  // :page--attr: <attr-value>
36
34
  :page-imagesdir: {{page.images.dir}}
@@ -58,6 +56,10 @@ excerpt__end
58
56
 
59
57
  // Page content
60
58
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
+
60
+ // Include sub-documents
61
+ // -----------------------------------------------------------------------------
62
+
61
63
  [[readmore]]
62
64
  == Mimic GitHub Pages
63
65
 
@@ -1,16 +1,14 @@
1
1
  ---
2
2
  title: Site generators
3
3
  tagline: OpenSource tools
4
- date: 2019-05-01 00:00:00
5
- description: >
6
- Top Open Source site generators
4
+ date: 2020-05-01 00:00:00
7
5
 
8
6
  tags: [ Jekyll, Generators ]
9
7
  categories: [ Featured ]
10
8
 
11
9
  series:
12
10
  adsense: false
13
- image: /assets/images/modules/attics/building-blocks-1920x1280-bw.jpg
11
+ image: /assets/images/modules/attics/machine-generator-1920x1280.jpg
14
12
  toc: true
15
13
 
16
14
  regenerate: false
@@ -22,15 +20,15 @@ resource_options:
22
20
  padding_bottom: 50
23
21
  opacity: 0.5
24
22
  slides:
25
- - url: /assets/images/modules/attics/building-blocks-1920x1280-bw.jpg
26
- alt: Photo by Ryan Quintal on Unsplash
23
+ - url: /assets/images/modules/attics/machine-generator-1920x1280.jpg
24
+ alt: Photo by Isis Françal on Unsplash
27
25
  # caption:
28
- # text: Photo by Ryan Quintal on Unsplash
29
- # href: https://unsplash.com/@ryanquintal/portfolio
26
+ # text: Photo by Isis Françal on Unsplash
27
+ # href: https://unsplash.com/@isisfra
30
28
  badge:
31
29
  type: unsplash
32
- author: Ryan Quintal
33
- href: https://unsplash.com/@ryanquintal/portfolio
30
+ author: Isis França
31
+ href: https://unsplash.com/@isisfra
34
32
  ---
35
33
 
36
34
  // Page Initializer
@@ -38,14 +36,15 @@ resource_options:
38
36
  // Enable the Liquid Preprocessor
39
37
  :page-liquid:
40
38
 
41
- // Set page (local) attributes here
39
+ // Set (local) page attributes here
42
40
  // -----------------------------------------------------------------------------
43
41
  // :page--attr: <attr-value>
44
42
 
45
43
  // Place an excerpt at the most top position
46
44
  // -----------------------------------------------------------------------------
47
- This article highlights top OpenSource projects, in many different
48
- programming languages. Have a look what's going on the market.
45
+ This article highlights top OpenSource projects providing static site
46
+ generators, in many different programming languages. And Jekyll is only one of
47
+ them. Have a look if an flull-blown CMS is (really) needed for your project!
49
48
 
50
49
  [role="clearfix mb-3"]
51
50
  excerpt__end
@@ -61,11 +60,14 @@ excerpt__end
61
60
 
62
61
  // Page content
63
62
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
+
64
+ // Include sub-documents
65
+ // -----------------------------------------------------------------------------
66
+
64
67
  [[readmore]]
65
68
  == Static Site Generators
66
69
 
67
70
  [role="mb-3"]
68
- // image::{{page.image}}[{{page.title}}]
69
71
  image::/assets/images/collections/blog/featured/staticgen.jpg[{{page.title}}]
70
72
 
71
73
  A typical CMS driven website works by building each and every page dynamically.
@@ -1,9 +1,7 @@
1
1
  ---
2
2
  title: Cookies
3
3
  tagline: good to know
4
- date: 2019-06-01 00:00:00
5
- description: >
6
- Useful info on cookies and how they used
4
+ date: 2020-06-01 00:00:00
7
5
 
8
6
  tags: [ About, Cookies ]
9
7
  categories: [ Featured ]
@@ -39,7 +37,7 @@ resource_options:
39
37
  // Enable the Liquid Preprocessor
40
38
  :page-liquid:
41
39
 
42
- // Set page (local) attributes here
40
+ // Set (local) page attributes here
43
41
  // -----------------------------------------------------------------------------
44
42
  // :page--attr: <attr-value>
45
43
 
@@ -49,22 +47,10 @@ resource_options:
49
47
 
50
48
  // Place an excerpt at the most top position
51
49
  // -----------------------------------------------------------------------------
52
- Is it needed for visitors to know what cookies are all about?
53
-
54
- Not the first place. Cookies are widely used. All users visiting web sites are
55
- bothered all the time to accept cookies. Because cookies are used that often.
56
- For good reasons - but for *different* reasons.
57
-
58
- To answer the question: yes, you should.
59
-
60
- All people are part of the *real* and virtual worlds as well; the internet,
61
- for example. In the real world, you've learned what cookies are. You can simply
62
- *see* them, smell them and eat some. For physical cookies, you know them as
63
- sweets from earliest days.
64
-
65
- But cookies in the digital world are different. Cookies in the sense of the
66
- internet, of the web are *not* dangerous but not necessarily a sort of sweets
67
- to enjoy people.
50
+ Is it needed for visitors to know what cookies are about? No doubts, your're
51
+ requested to inform - in Europe for legal reasons. All users visiting web sites
52
+ are bothered all the time to accept on cookies. Cookies are used by sites
53
+ of today. For good reasons?
68
54
 
69
55
  [role="clearfix mb-3"]
70
56
  excerpt__end
@@ -80,13 +66,13 @@ excerpt__end
80
66
 
81
67
  // Page content
82
68
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69
+
70
+ // Include sub-documents
71
+ // -----------------------------------------------------------------------------
72
+
83
73
  [[readmore]]
84
74
  == What are cookies technically
85
75
 
86
- [role="mb-3"]
87
- // image::{{page.image}}[{{page.title}}]
88
- // image::/assets/images/modules/attics/cookies-1920x1200-bw.png[{{page.title}}, 800]
89
-
90
76
  In short words. A cookie is a small piece of data that a website asks your
91
77
  browser to store on your computer or mobile device. The cookie allows the
92
78
  website to "remember" your actions or preferences over time.