j1-template 2020.0.6 → 2020.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
  3. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  4. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +8 -3
  5. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  6. data/_layouts/default.html +18 -8
  7. data/{lib/starter_web/apps → apps}/public/cc/cc.yml +0 -0
  8. data/{lib/starter_web/apps → apps}/public/cc/index.adoc +0 -0
  9. data/assets/data/search.yml +32 -10
  10. data/assets/data/ssm.html +16 -12
  11. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/algolia.js +21 -13
  12. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/attic.js +31 -30
  13. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/carousel.js +31 -20
  14. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/cookie_consent.js +8 -0
  15. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/framer.js +8 -1
  16. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/gallery_customizer.js +16 -8
  17. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/j1.js +74 -103
  18. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/justified_gallery.js +50 -33
  19. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/lightbox.js +9 -1
  20. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/logger.js +12 -4
  21. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/mmenu.js +16 -8
  22. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/navigator.js +64 -76
  23. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/searcher.js +10 -2
  24. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/ssm.js +86 -68
  25. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/themer.js +10 -2
  26. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/toccer.js +51 -146
  27. data/assets/themes/j1/core/css/theme_extensions.css +562 -53
  28. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  29. data/assets/themes/j1/core/css/uno.css +640 -53
  30. data/assets/themes/j1/core/css/uno.min.css +1 -1
  31. data/assets/themes/j1/core/css/vendor.css +10 -3
  32. data/assets/themes/j1/core/css/vendor.min.css +2 -2
  33. data/assets/themes/j1/core/js/template.js +29 -19
  34. data/assets/themes/j1/core/js/template.js.map +1 -1
  35. data/assets/themes/j1/core/js/template.min.js +1 -1
  36. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.css +0 -0
  37. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.min.css +0 -0
  38. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.css +0 -0
  39. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.min.css +0 -0
  40. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.css +0 -0
  41. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.min.css +0 -0
  42. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
  43. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/grabbing.png +0 -0
  44. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
  45. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
  46. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.js +0 -0
  47. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.min.js +0 -0
  48. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iconify/js/iconify.min.js +0 -0
  49. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -0
  50. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -0
  51. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -0
  52. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -0
  53. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -0
  54. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -0
  55. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/index.html +0 -0
  56. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/two.html +0 -0
  57. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -0
  58. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -0
  59. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -0
  60. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/LICENSE +0 -0
  61. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/README.md +0 -0
  62. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  63. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  64. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +0 -0
  65. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  66. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  67. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  68. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +0 -0
  69. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  70. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  71. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  72. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +0 -0
  73. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  74. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  75. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +0 -0
  76. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +0 -0
  77. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.css +0 -0
  78. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +0 -0
  79. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +0 -0
  80. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +0 -0
  81. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +0 -0
  82. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +0 -0
  83. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +0 -0
  84. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +0 -0
  85. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.css +0 -0
  86. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +0 -0
  87. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
  88. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.svg +0 -0
  89. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
  90. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
  91. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
  92. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
  93. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
  94. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
  95. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
  96. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
  97. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
  98. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +0 -0
  99. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +0 -0
  100. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
  101. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
  102. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
  103. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
  104. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
  105. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
  106. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
  107. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +0 -0
  108. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
  109. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
  110. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
  111. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
  112. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.css +0 -0
  113. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.min.css +0 -0
  114. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.js +0 -0
  115. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +0 -0
  116. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +0 -0
  117. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +0 -0
  118. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +0 -0
  119. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +0 -0
  120. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +0 -0
  121. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +0 -0
  122. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +0 -0
  123. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +0 -0
  124. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +0 -0
  125. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +0 -0
  126. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.js +0 -0
  127. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +0 -0
  128. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +0 -0
  129. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +0 -0
  130. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.js +0 -0
  131. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +0 -0
  132. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +0 -0
  133. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +0 -0
  134. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.js +0 -0
  135. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -0
  136. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.dark/theme.css +0 -0
  137. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.light/theme.css +0 -0
  138. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +0 -0
  139. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +0 -0
  140. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai/theme.css +0 -0
  141. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +0 -0
  142. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +0 -0
  143. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized/theme.css +0 -0
  144. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16/theme.css +0 -0
  145. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/colorful/theme.css +0 -0
  146. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/github/theme.css +0 -0
  147. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +0 -0
  148. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +0 -0
  149. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox/theme.css +0 -0
  150. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/igorpro/theme.css +0 -0
  151. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/molokai/theme.css +0 -0
  152. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +0 -0
  153. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai/theme.css +0 -0
  154. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/pastie/theme.css +0 -0
  155. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +0 -0
  156. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/tulip/theme.css +0 -0
  157. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.css +0 -0
  158. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.min.css +0 -0
  159. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.css +0 -0
  160. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.min.css +0 -0
  161. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.css +0 -0
  162. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.min.css +0 -0
  163. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.css +0 -0
  164. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.min.css +0 -0
  165. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.css +0 -0
  166. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.min.css +0 -0
  167. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.js +0 -0
  168. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.min.js +0 -0
  169. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  170. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js +0 -0
  171. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js.map +0 -0
  172. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js +0 -0
  173. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js.map +0 -0
  174. data/lib/j1/version.rb +1 -1
  175. data/lib/starter_web/Gemfile +2 -2
  176. data/lib/starter_web/_config.yml +1 -1
  177. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -3
  178. data/lib/starter_web/_data/modules/defaults/ssm.yml +3 -3
  179. data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -8
  180. data/lib/starter_web/_data/modules/jekyll_search.yml +3 -2
  181. data/lib/starter_web/_data/modules/navigator_menu.yml +4 -0
  182. data/lib/starter_web/_data/modules/ssm.yml +10 -1
  183. data/lib/starter_web/_data/modules/toccer.yml +7 -12
  184. data/lib/starter_web/_data/resources.yml +3 -9
  185. data/lib/starter_web/_data/template_settings.yml +22 -2
  186. data/lib/starter_web/package.json +1 -1
  187. data/lib/starter_web/pages/public/about/about_site.adoc +3 -3
  188. data/lib/starter_web/pages/public/about/become_a_patron.adoc +9 -11
  189. data/lib/starter_web/pages/public/clear_button.adoc +121 -0
  190. data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +27 -49
  191. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
  192. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +9 -4
  193. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +2 -2
  194. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
  195. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  196. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +6 -7
  197. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +9 -5
  198. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +26 -28
  199. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +28 -31
  200. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +19 -19
  201. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  202. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +54 -48
  203. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  204. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  205. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
  206. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  207. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  208. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  209. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  210. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  211. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  212. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  213. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  214. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  215. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  216. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  217. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  218. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  219. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +671 -860
  220. data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/attributes.asciidoc +69 -0
  221. data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
  222. data/lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc +52 -0
  223. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  224. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  225. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  226. data/lib/starter_web/utilsrv/package.json +1 -1
  227. metadata +163 -168
  228. data/lib/starter_web/_plugins/uglify.rb +0 -41
  229. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +0 -384
  230. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +0 -384
  231. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +0 -153
  232. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +0 -153
  233. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +0 -11
  234. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +0 -11
  235. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +0 -118
  236. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.min.js +0 -118
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d350d6d95ca25bf3263d8d14f0f40c1c686803a889b6ab1dfd9b97fc3c8daebc
4
- data.tar.gz: 2b6ef94908ae1c171b6386c1c64dad0a5852d201f522179aaa172bd9af494a91
3
+ metadata.gz: 58a276656a55c37b40ce238bdfc5625c599732abefb0a190a015b77a4d6b240c
4
+ data.tar.gz: 6cd0c0a836fea3e306a022220fe9e5467655e9dbae3919ba1c79140959f61756
5
5
  SHA512:
6
- metadata.gz: 2ea85a2ed1c140191fccbdab83c8ee426f0830ea46cd80bc527cdd97f37eacc3be75a9c7760ee8a3479255112772e8f0dfa10902be3f8f54d7667f034aa70ebf
7
- data.tar.gz: 27a2eb9a0b0afe7c1fbff48811b1c91d2ab26b1c0afe315002c20814acd501ad0e704818882139e2a4349a97f20aab2d60f0d2d7f87b5baf9e392ee205f09cb3
6
+ metadata.gz: 5a4eb1c71b05c06a3728597d2b4696bb5b36642c8a84a885298224295d310644e55d64fee3d5b24059ff8f7bd2c0eeee64e53148fe2a0b207fddf6b6f28343fb
7
+ data.tar.gz: 91817b799a7566dcbea3a2b355c4f82b23bf0a44dc5c7ee55391ea6308bddd13aa5640c899eaa58e2ac64f5fdbc10b68271366ba8b222b08ed560a60a3fcf1e3
@@ -98,7 +98,7 @@
98
98
  </button>
99
99
  <ul class="nav navbar-nav">
100
100
  <li class="nav-item">
101
- <span class="nav-link">Series Navigator</span>
101
+ <span class="navbar-text">Series Navigator</span>
102
102
  </li>
103
103
  </ul>
104
104
  </div>
@@ -158,7 +158,7 @@
158
158
  </button>
159
159
  <ul class="nav navbar-nav">
160
160
  <li class="nav-item">
161
- <span class="nav-link">Series Navigator: {{page.series}}</span>
161
+ <span class="navbar-text">Series Navigator: {{page.series}}</span>
162
162
  </li>
163
163
  </ul>
164
164
  </div>
@@ -165,9 +165,9 @@
165
165
  {% if brand_position == "left" %}
166
166
  <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand image to the: left ] -->
167
167
  {% if site.brand.image %}
168
- <a id="navbar-brand" class="navbar-brand animated" href="#"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
168
+ <a id="navbar-brand" class="navbar-brand animated"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
169
169
  {% else %}
170
- <a id="navbar-brand" class="navbar-brand animated" href="#" "> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
170
+ <a id="navbar-brand" class="navbar-brand animated"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
171
171
  {% endif %}
172
172
  <button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
173
173
  <i class="mdi mdi-menu mdi-48px"></i>
@@ -175,9 +175,9 @@
175
175
  {% elsif brand_position == "right" %}
176
176
  <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to the: right ] -->
177
177
  {% if site.brand.image %}
178
- <a id="navbar-brand" class="navbar-brand animated" href="#"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
178
+ <a id="navbar-brand" class="navbar-brand animated"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
179
179
  {% else %}
180
- <a id="navbar-brand" class="navbar-brand animated" href="#" "> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
180
+ <a id="navbar-brand" class="navbar-brand animated"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
181
181
  {% endif %}
182
182
  <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mobile menu button to the: left ] -->
183
183
  <button id="mmenu-button" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
@@ -186,9 +186,9 @@
186
186
  {% else %}
187
187
  <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to default position: left ] -->
188
188
  {% if site.brand.image %}
189
- <a id="navbar-brand" class="navbar-brand animated" href="#"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
189
+ <a id="navbar-brand" class="navbar-brand animated"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
190
190
  {% else %}
191
- <a id="navbar-brand" class="navbar-brand animated" href="#" "> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
191
+ <a id="navbar-brand" class="navbar-brand animated"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
192
192
  {% endif %}
193
193
  <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place menu toggler to the: right ] -->
194
194
  <button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
@@ -27,7 +27,7 @@
27
27
  -------------------------------------------------------------------------------- {% endcomment %}
28
28
  {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
29
29
  {% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
30
-
30
+
31
31
 
32
32
  {% comment %} Liquid var initialization
33
33
  -------------------------------------------------------------------------------- {% endcomment %}
@@ -52,6 +52,7 @@
52
52
  {% assign result_heading_lead = topsearch_options.result_heading_lead %}
53
53
  {% assign search_icon = topsearch_options.search_icon %}
54
54
  {% assign close_icon = topsearch_options.close_icon %}
55
+ {% assign clear_icon = topsearch_options.clear_icon %}
55
56
 
56
57
  {% assign quick_search = true %}
57
58
  {% assign elastic_search = false %}
@@ -80,7 +81,7 @@
80
81
  {% assign icon_size = size %}
81
82
 
82
83
 
83
- {% comment %} Main
84
+ {% comment %} Main
84
85
  -------------------------------------------------------------------------------- {% endcomment %}
85
86
  {% if topsearch_options.enabled %}
86
87
 
@@ -93,13 +94,17 @@
93
94
  <div class="input-group">
94
95
  <span class="input-group-addon"><i class="{{icon_family}} {{icon_family}}-{{search_icon}} {{icon_size}}" {{icon_color}}></i></span>
95
96
  <input type="text" id="jss-input" class="form-control" placeholder="{{placeholder}}">
97
+ {% if clear_icon %}
98
+ <!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ place clear icon ] -->
99
+ <span class="form-clear form-clear-searcher d-none"><i class="{{icon_family}} {{icon_family}}-{{clear_icon}} {{icon_size}}" {{icon_color}}"></i></span>
100
+ {% endif %}
96
101
  <span class="input-group-addon close-search"><i class="{{icon_family}} {{icon_family}}-{{close_icon}} {{icon_size}}" {{icon_color}}></i></span>
97
102
  </div>
98
103
  </div>
99
104
  <!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ add search panel (hidden) ] -->
100
105
  <div class="row">
101
106
  <!-- div class="card card-flat panel-search mr-5 mb-3 ml-5" id="jss-panel" style="display: none" -->
102
- <div class="panel-search mr-5 mb-3 ml-5" id="jss-panel" style="display: none">
107
+ <div class="panel-search mr-5 mb-3 col-lg-9" id="jss-panel" style="display: none">
103
108
  {% if search_heading_lead %}<div class="panel-heading lead">{{ search_heading_lead }}</div>{% endif %}
104
109
  {% if result_heading_lead %}<div class="panel-body"><p>{{ result_heading_lead }}</p></div>{% endif %}
105
110
  <div class="search-list-group mr-5 ml-2">
@@ -267,4 +267,4 @@ NO need to load this again
267
267
  {% assign resource_settings.data = nil %}
268
268
  ---------------------------------------------------------------------------- {% endcomment %}
269
269
  {% endif %}
270
- {% endif %}
270
+ {% endif %}
@@ -75,6 +75,8 @@ layout: compress
75
75
  {% comment %} Set config options
76
76
  -------------------------------------------------------------------------------- {% endcomment %}
77
77
  {% assign consent_options = consent_defaults | merge: consent_settings %}
78
+ {% assign tooltips_options = template_config.bootstrap.tooltips %}
79
+ {% assign popovers_options = template_config.bootstrap.popovers %}
78
80
 
79
81
  {% comment %} Webhooks disabled
80
82
  --------------------------------------------------------------------------------
@@ -138,7 +140,7 @@ layout: compress
138
140
  <!-- [INFO ] [j1.layout.default.html ] [ make page hidden ] -->
139
141
  <!-- div id="no_flicker" class="nojs" -->
140
142
  <div id="no_flicker" style="display: none">
141
-
143
+
142
144
  {% comment %} collect the BODY-NAVIGATION region
143
145
  -------------------------------------------------------------------------- {% endcomment %}
144
146
  <!-- [INFO ] [j1.layout.default.html ] [ call default_writer for region: 'body-navigation' ] -->
@@ -228,7 +230,7 @@ layout: compress
228
230
  {% comment %} Deactivated JS for R-Text
229
231
  ------------------------------------------------------------------------------
230
232
  <script>
231
- // Set global variables
233
+ // Set global variables
232
234
  var environment = '{{environment}}';
233
235
  var logger = log4javascript.getLogger('j1.template.rtext-resizer');
234
236
  var $el = $("main[class*='r-text']");
@@ -239,7 +241,7 @@ layout: compress
239
241
  var cl;
240
242
  var value;
241
243
 
242
- $('input:checkbox[name="textsize-300"]').on('click', function (e) {
244
+ $('input:checkbox[name="textsize-300"]').on('click', function (e) {
243
245
  value = $(this).is(':checked');
244
246
 
245
247
  $('input:checkbox[name="textsize-400"]').prop('checked', false);
@@ -249,7 +251,7 @@ layout: compress
249
251
  cl = r_text_default;
250
252
  }
251
253
  $el.attr('class', base_classes + cl);
252
-
254
+
253
255
  if(environment === 'development') {
254
256
  logText = 'Changed textsize to: ' +cl;
255
257
  logger.info(logText);
@@ -291,7 +293,7 @@ layout: compress
291
293
  logger.info(logText);
292
294
  }
293
295
  e.stopPropagation();
294
- });
296
+ });
295
297
  </script>
296
298
  ------------------------------------------------------------------------------ {% endcomment %}
297
299
 
@@ -300,8 +302,16 @@ layout: compress
300
302
  <!-- [INFO ] [j1.layout.default.html ] [ initialize BS tooltips|popovers ] -->
301
303
  <script>
302
304
  $(function() {
303
- $('[data-toggle="tooltip"]').tooltip();
304
- $('[data-toggle="popover"]').popover();
305
+ {% if tooltips_options.enabled %}
306
+ $('[data-toggle="tooltip"').tooltip({
307
+ trigger: '{{tooltips_options.trigger}}'
308
+ });
309
+ {% endif %}
310
+ {% if popovers_options.enabled %}
311
+ $('[data-toggle="popover"').popover({
312
+ trigger: '{{popovers_options.trigger}}'
313
+ });
314
+ {% endif %}
305
315
  });
306
316
  </script>
307
317
  <!-- [INFO ] [j1.layout.default.html ] [ end page processing ] -->
@@ -345,4 +355,4 @@ layout: compress
345
355
  {% else %}
346
356
  {{ j1_cache | remove: '<p>excerpt__end</p>'| strip_empty_lines }}
347
357
 
348
- {% endcase %}
358
+ {% endcase %}
@@ -2,8 +2,30 @@
2
2
  regenerate: true
3
3
  ---
4
4
 
5
- {% capture cache %}
5
+ {% comment %} Set global settings
6
+ -------------------------------------------------------------------------------- {% endcomment %}
7
+ {% assign environment = site.environment %}
8
+ {% assign template_version = site.version %}
9
+
10
+ {% comment %} Process YML config data
11
+ ================================================================================ {% endcomment %}
6
12
 
13
+ {% comment %} Set config files
14
+ -------------------------------------------------------------------------------- {% endcomment %}
15
+ {% assign template_config = site.data.template_settings %}
16
+ {% assign blocks = site.data.blocks %}
17
+ {% assign modules = site.data.modules %}
18
+
19
+ {% comment %} Set config data
20
+ -------------------------------------------------------------------------------- {% endcomment %}
21
+ {% assign jekyll_search_defaults = modules.defaults.jekyll_search.defaults %}
22
+ {% assign jekyll_search_settings = modules.jekyll_search.settings %}
23
+
24
+ {% comment %} Set config options
25
+ -------------------------------------------------------------------------------- {% endcomment %}
26
+ {% assign jekyll_search_options = jekyll_search_defaults | merge: jekyll_search_settings %}
27
+
28
+ {% capture cache %}
7
29
  {% comment %}
8
30
  # -----------------------------------------------------------------------------
9
31
  # ~/assets/data/search.yml
@@ -25,14 +47,14 @@ regenerate: true
25
47
  # This template is a helper that creates the search database (index, YAML)
26
48
  # for all documents.
27
49
  #
28
- # The Liquid template generates a simple YAML file as an array that contains
50
+ # The Liquid template generates a simple YAML file as an array that contains
29
51
  # objects for ALL posts and pages included for indexing. See below the fields
30
52
  # taken from the source files.
31
53
  #
32
54
  # NOTE:
33
55
  # Be careful changing the Liquid code. If the code is changed, check
34
56
  # the integrity of the YAML data created. Corrupted YAML data makes
35
- # the Javascript of SimpleJekyllSearch to fail (JSONLoader.js) and no
57
+ # the Javascript of SimpleJekyllSearch to fail (JSONLoader.js) and no
36
58
  # search functionality will be available for most UNCLEAR reasons.
37
59
  #
38
60
  # -----------------------------------------------------------------------------
@@ -44,8 +66,8 @@ regenerate: true
44
66
  {% assign quick_search_config = site.data.modules.j1_jekyll_search %}
45
67
  {% assign result_target = quick_search_config.target %}
46
68
 
47
- {% comment %}
48
- Set posts count by posts_num. Indicates if a comma needs to be
69
+ {% comment %}
70
+ Set posts count by posts_num. Indicates if a comma needs to be
49
71
  set for valid JSON
50
72
  -------------------------------------------------------------------------------- {% endcomment %}
51
73
  {% assign posts_num = site.posts.size %}
@@ -74,14 +96,14 @@ regenerate: true
74
96
  "url": "{{ site.baseurl }}{{ post.url }}",
75
97
  "target": "{{ result_target }}",
76
98
  {% if post.excerpt %}
77
- "excerpt": "{{ post.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: 50 }}"
99
+ "excerpt": "{{ post.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: jekyll_search_options.result_truncate | replace:'....','&nbsp; ...' | replace:':...','&nbsp; ...' }}"
78
100
  {% else %}
79
101
  "excerpt": ""
80
102
  {% endif %}
81
103
  }{% if posts_num %},{% endif %}
82
104
  {% endfor %}
83
105
 
84
- {% comment %} For unknown reason, loop for pages needs corrected
106
+ {% comment %} For unknown reason, loop for pages needs corrected
85
107
  by page_offset. Helper forloop.last not usable.
86
108
  ------------------------------------------------------------------------------ {% endcomment %}
87
109
 
@@ -93,7 +115,7 @@ regenerate: true
93
115
  {% for page in site.pages %}
94
116
  {% if page.noindex %} {% continue %} {% endif %}
95
117
  {% if page.url contains 'assets' or page.url contains '.json' or page.url contains '.txt' %} {% continue %} {% endif %}
96
- {% if page.url contains '.html' %} {% continue %} {% endif %}
118
+ {% if page.url contains '.html' %} {% continue %} {% endif %}
97
119
  {% if page.url == '/'%} {% continue %} {% endif %}
98
120
  {
99
121
  "title": "{{ page.title | escape }}",
@@ -116,9 +138,9 @@ regenerate: true
116
138
  "url": "{{ site.baseurl }}{{ page.url }}",
117
139
  "target": "{{ result_target }}",
118
140
  {% if page.excerpt %}
119
- "excerpt": "{{ page.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: 50 }}"
141
+ "excerpt": "{{ page.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: jekyll_search_options.result_truncate | replace:'....','&nbsp; ...' | replace:':...',' ...' }}"
120
142
  {% else %}
121
- "excerpt": "{{ page.description | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: 50 }}"
143
+ "excerpt": "{{ page.description | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: jekyll_search_options.result_truncate | replace:'....','&nbsp; ...' | replace:':...',' ...' }}"
122
144
  {% endif %}
123
145
  }{% unless forloop.rindex0 == page_offset %},{% endunless %}
124
146
  {% endfor %}
@@ -89,7 +89,7 @@ regenerate: true
89
89
  {% comment %} Main
90
90
  -------------------------------------------------------------------------------- {% endcomment %}
91
91
  <!-- [DEBUG ] [j1.modules.ssm_menu.html ] [collect all menu items] -->
92
- <ul class="ssm-light-hover">
92
+ <ul id="{{ssm_options.menu_id}}" class="ssm-light-hover">
93
93
 
94
94
  {% for menu in ssm_menu_config %}
95
95
 
@@ -118,12 +118,12 @@ regenerate: true
118
118
  <li class="ssm-share-btn ssm-btn">
119
119
  {% if menu.icon == null %}
120
120
  <!-- [INFO ] [j1.modules.ssm_menu.html ] [no menu icon found] -->
121
- <a href="#">{{menu.item}}>
122
- <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
123
- {{menu.item}}
121
+ <a href="#"><span class="ssm-btn-text">{{menu.item}}</span>>
122
+ <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} mt-2 ml-2 mr-2"></i>
123
+ <span class="ssm-btn-text">{{menu.item}}</span>
124
124
  </a>
125
125
  {% else %}
126
- <a href="#"> <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>{{menu.item}}</a>
126
+ <a href="#"> <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} mt-2 ml-2 mr-2"></i><span class="ssm-btn-text">{{menu.item}}</span></a>
127
127
  {% endif %}
128
128
  <div class="ssm-sub-menu">
129
129
  <ul>
@@ -144,7 +144,7 @@ regenerate: true
144
144
  <li id="{{sublevel.id}}" class="ssm-btn">
145
145
  <a href="{{sublevel.href}}{{ext}}" target="{{sublevel.target}}"
146
146
  onclick="{{sublevel.event_handler}}">
147
- <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{sublevel.icon}} {{sublevel.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
147
+ <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{sublevel.icon}} {{sublevel.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} mt-2 ml-2 mr-2"></i>
148
148
  {{sublevel.title}}
149
149
  </a>
150
150
  </li>
@@ -169,11 +169,15 @@ regenerate: true
169
169
  <!-- [INFO ] [j1.modules.ssm_menu.html ] [no icon for menu-item found -->
170
170
  {% if menu.target == null %}
171
171
  <li class="ssm-btn">
172
- <a id="{{menu.id}}" href="{{menu.href}}{{ext}}">{{menu.item}}</a>
172
+ <a id="{{menu.id}}" href="{{menu.href}}{{ext}}">
173
+ <span class="ssm-btn-text">{{menu.item}}</span>
174
+ </a>
173
175
  </li>
174
176
  {% else %}
175
177
  <li class="ssm-btn">
176
- <a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">{{menu.item}}</a>
178
+ <a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">
179
+ <span class="ssm-btn-text">{{menu.item}}</span>
180
+ </a>
177
181
  </li>
178
182
  {% endif %}
179
183
  {% elsif menu.icon %}
@@ -183,8 +187,8 @@ regenerate: true
183
187
  <li class="ssm-btn">
184
188
  <!-- a href="{{menu.href}}{{ext}}" -->
185
189
  <a id="{{menu.id}}">
186
- <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
187
- {{menu.item}}
190
+ <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} mt-2 ml-2 mr-2"></i>
191
+ <span class="ssm-btn-text">{{menu.item}}</span>
188
192
  </a>
189
193
  </li>
190
194
  {% else %}
@@ -194,8 +198,8 @@ regenerate: true
194
198
  {% if menu.enabled %}
195
199
  <li class="ssm-btn">
196
200
  <a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">
197
- <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
198
- {{menu.item}}
201
+ <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} mt-2 ml-2 mr-2"></i>
202
+ <span class="ssm-btn-text">{{menu.item}}</span>
199
203
  </a>
200
204
  </li>
201
205
  {% else %}
@@ -63,6 +63,12 @@ regenerate: false
63
63
  # Adapter generated: {{site.time}}
64
64
  # -----------------------------------------------------------------------------
65
65
  */
66
+
67
+ // -----------------------------------------------------------------------------
68
+ // ESLint shimming
69
+ // -----------------------------------------------------------------------------
70
+ /* eslint indent: "off" */
71
+ // -----------------------------------------------------------------------------
66
72
  'use strict';
67
73
 
68
74
  {% comment %} Main
@@ -113,7 +119,9 @@ j1.adapter['algolia'] = (function (j1, window) {
113
119
  {% comment %} Load module config from yml data
114
120
  -------------------------------------------------------------------------- {% endcomment %}
115
121
  // Load module DEFAULTS|CONFIG
122
+ /* eslint-disable */
116
123
  moduleOptions = $.extend({}, {{algolia_config | replace: '=>', ':' | replace: 'nil', '""'}});
124
+ /* eslint-enable */
117
125
 
118
126
  if (typeof settings !== 'undefined') {
119
127
  moduleOptions = j1.mergeData(moduleOptions, settings);
@@ -129,24 +137,24 @@ j1.adapter['algolia'] = (function (j1, window) {
129
137
  var hitTemplate = function(hit) {
130
138
  // state = 'start search';
131
139
  // logger.info('state: ' + state);
132
- // var re = new RegExp("^\/posts");
133
- // var re = new RegExp("^\/pages");
134
- var re = new RegExp("^\/pages|^\/posts|^\/collections");
140
+ // var re = new RegExp('^\/posts');
141
+ // var re = new RegExp('^\/pages');
142
+ var re = new RegExp('^\/pages|^\/posts|^\/collections');
135
143
  if (re.test(hit.url)) {
136
- let date = '';
144
+ var date = '';
137
145
  if (hit.date) {
138
146
  date = moment.unix(hit.date).format('MMM D, YYYY');
139
147
  }
140
- // let url = `/jekyll-algolia-example${hit.url}#${hit.anchor}`;
141
- let url = `${hit.url}`;
148
+ // var url = `/jekyll-algolia-example${hit.url}#${hit.anchor}`;
149
+ var url = hit.url;
142
150
 
143
151
  const title = hit._highlightResult.title.value;
144
- let breadcrumbs = '';
152
+ var breadcrumbs = '';
145
153
 
146
154
  if (hit._highlightResult.headings) {
147
155
  breadcrumbs = hit._highlightResult.headings.map(match => {
148
- return `<span class="post-breadcrumb">${match.value}</span>`
149
- }).join(' > ')
156
+ return `<span class="post-breadcrumb">${match.value}</span>`;
157
+ }).join(' > ');
150
158
  }
151
159
 
152
160
  var content = hit._highlightResult.html.value;
@@ -169,7 +177,7 @@ j1.adapter['algolia'] = (function (j1, window) {
169
177
  }
170
178
  // state = 'finished search';
171
179
  // logger.info('state: ' + state);
172
- }
180
+ };
173
181
 
174
182
  if (moduleOptions.enabled == true) {
175
183
  // initialize currentRefinedValues
@@ -230,9 +238,9 @@ j1.adapter['algolia'] = (function (j1, window) {
230
238
  container: '#refinement-list',
231
239
  attributeName: 'tags',
232
240
  collapsible: true,
233
- operator: "and",
241
+ operator: 'and',
234
242
  limit: 5,
235
- sortBy: ["isRefined","count:desc","name:asc"],
243
+ sortBy: ['isRefined','count:desc','name:asc'],
236
244
  templates: {
237
245
  header: 'Tags'
238
246
  },
@@ -264,7 +272,7 @@ j1.adapter['algolia'] = (function (j1, window) {
264
272
  $('#algolia-site-search').append('<p class="ml-5 mt-5 mb-5 "> <strong>Algolia Search DISABLED</strong> </p>');
265
273
  _this.setState('finished');
266
274
  logger.info('state: ' + _this.getState());
267
- logger.warn("module disabled");
275
+ logger.warn('module disabled');
268
276
  }
269
277
 
270
278
  return true;