j1-template 2020.0.2 → 2020.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +22 -18
  3. data/_includes/themes/j1/layouts/content_generator_collection.html +15 -12
  4. data/_includes/themes/j1/layouts/content_generator_page.html +16 -17
  5. data/_includes/themes/j1/layouts/content_generator_post.html +21 -26
  6. data/_includes/themes/j1/modules/navigator/generator.html +62 -40
  7. data/{lib/starter_web/apps/public/cc → apps/public/cc/cc.yml} +0 -0
  8. data/apps/public/cc/index.adoc +107 -0
  9. data/assets/data/menu.html +6 -5
  10. data/assets/data/mmenu.html +455 -0
  11. data/assets/data/{sidebar.html → mmenu_sidebar.html} +24 -18
  12. data/assets/data/mmenu_toc.html +45 -0
  13. data/assets/data/quicklinks.html +9 -4
  14. data/assets/data/ssm.html +227 -0
  15. data/assets/error_pages/HTTP204.html +3 -3
  16. data/assets/themes/j1/adapter/js/algolia.js +321 -0
  17. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/attic.js +4 -4
  18. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/carousel.js +3 -3
  19. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/cookie_consent.js +0 -0
  20. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/framer.js +3 -3
  21. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/gallery_customizer.js +0 -0
  22. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/j1.js +15 -38
  23. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/justified_gallery.js +0 -0
  24. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/lightbox.js +0 -0
  25. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/logger.js +0 -0
  26. data/assets/themes/j1/adapter/js/mmenu.js +452 -0
  27. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/navigator.js +50 -50
  28. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/searcher.js +0 -0
  29. data/assets/themes/j1/adapter/js/ssm.js +507 -0
  30. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/themer.js +1 -1
  31. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/toccer.js +42 -44
  32. data/assets/themes/j1/core/css/bootstrap.css +116 -93
  33. data/assets/themes/j1/core/css/bootstrap.min.css +4 -4
  34. data/assets/themes/j1/core/css/globals.css +1 -1
  35. data/assets/themes/j1/core/css/theme_extensions.css +690 -137
  36. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  37. data/assets/themes/j1/core/css/uno.css +690 -137
  38. data/assets/themes/j1/core/css/uno.min.css +1 -1
  39. data/assets/themes/j1/core/css/vendor.css +134 -105
  40. data/assets/themes/j1/core/css/vendor.min.css +4 -4
  41. data/assets/themes/j1/core/js/template.js +306 -24
  42. data/assets/themes/j1/core/js/template.js.map +1 -1
  43. data/assets/themes/j1/core/js/template.min.js +1 -1
  44. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.css +0 -0
  45. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.min.css +0 -0
  46. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.css +0 -0
  47. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.min.css +0 -0
  48. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.css +0 -0
  49. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.min.css +0 -0
  50. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
  51. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/grabbing.png +0 -0
  52. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
  53. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
  54. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.js +0 -0
  55. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.min.js +0 -0
  56. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iconify/js/iconify.min.js +0 -0
  57. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -0
  58. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -0
  59. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -0
  60. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -0
  61. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -0
  62. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -0
  63. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/index.html +0 -0
  64. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/two.html +0 -0
  65. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -0
  66. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -0
  67. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -0
  68. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/LICENSE +0 -0
  69. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/README.md +0 -0
  70. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  71. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  72. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +0 -0
  73. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  74. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  75. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  76. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +0 -0
  77. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  78. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  79. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  80. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +0 -0
  81. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  82. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  83. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +0 -0
  84. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +0 -0
  85. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.css +0 -0
  86. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +0 -0
  87. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +0 -0
  88. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +0 -0
  89. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +0 -0
  90. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +0 -0
  91. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +0 -0
  92. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +0 -0
  93. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.css +0 -0
  94. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +0 -0
  95. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
  96. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.svg +0 -0
  97. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
  98. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
  99. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
  100. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
  101. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
  102. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
  103. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
  104. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
  105. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
  106. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +0 -0
  107. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +0 -0
  108. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
  109. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
  110. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
  111. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
  112. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
  113. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
  114. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
  115. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +0 -0
  116. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
  117. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
  118. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
  119. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
  120. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.css +0 -0
  121. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.min.css +0 -0
  122. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.js +0 -0
  123. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +0 -0
  124. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +0 -0
  125. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +0 -0
  126. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +0 -0
  127. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +0 -0
  128. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +0 -0
  129. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +0 -0
  130. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +0 -0
  131. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +0 -0
  132. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +0 -0
  133. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +0 -0
  134. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.js +0 -0
  135. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +0 -0
  136. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +0 -0
  137. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +0 -0
  138. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.js +0 -0
  139. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +0 -0
  140. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +0 -0
  141. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +0 -0
  142. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.js +0 -0
  143. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -0
  144. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.dark/theme.css +0 -0
  145. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.light/theme.css +0 -0
  146. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +0 -0
  147. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +0 -0
  148. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai/theme.css +0 -0
  149. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +0 -0
  150. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +0 -0
  151. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized/theme.css +0 -0
  152. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16/theme.css +0 -0
  153. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/colorful/theme.css +0 -0
  154. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/github/theme.css +0 -0
  155. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +0 -0
  156. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +0 -0
  157. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox/theme.css +0 -0
  158. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/igorpro/theme.css +0 -0
  159. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/molokai/theme.css +0 -0
  160. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +0 -0
  161. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai/theme.css +0 -0
  162. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/pastie/theme.css +0 -0
  163. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +0 -0
  164. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/tulip/theme.css +0 -0
  165. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.css +0 -0
  166. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.min.css +0 -0
  167. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.css +0 -0
  168. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.min.css +0 -0
  169. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.css +0 -0
  170. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.min.css +0 -0
  171. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.css +0 -0
  172. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.min.css +0 -0
  173. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.css +0 -0
  174. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.min.css +0 -0
  175. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.js +0 -0
  176. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.min.js +0 -0
  177. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  178. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js +0 -0
  179. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js.map +0 -0
  180. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js +0 -0
  181. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js.map +0 -0
  182. data/lib/j1/version.rb +1 -1
  183. data/lib/j1_app/j1_auth_manager/auth_manager.rb +8 -0
  184. data/lib/starter_web/Gemfile +2 -2
  185. data/lib/starter_web/_config.yml +12 -139
  186. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  187. data/lib/starter_web/_data/modules/defaults/navigator.yml +25 -24
  188. data/lib/starter_web/_data/modules/defaults/ssm.yml +50 -0
  189. data/lib/starter_web/_data/modules/defaults/toccer.yml +14 -15
  190. data/lib/starter_web/_data/modules/navigator.yml +164 -97
  191. data/lib/starter_web/_data/modules/ssm.yml +133 -0
  192. data/lib/starter_web/_data/modules/toccer.yml +20 -62
  193. data/lib/starter_web/_data/resources.yml +68 -51
  194. data/lib/starter_web/_data/template_settings.yml +13 -13
  195. data/lib/starter_web/_plugins/uglify.rb +41 -0
  196. data/lib/starter_web/assets/images/modules/icons/j1/{j1..ico → j1.ico} +0 -0
  197. data/lib/starter_web/collections/posts/public/{jekyll → featured}/_posts/2018-05-01-confusion-about-base-url.adoc +0 -0
  198. data/lib/starter_web/package.json +1 -1
  199. data/lib/starter_web/pages/public/about/about_site.adoc +3 -3
  200. data/lib/starter_web/pages/public/about/become_a_patron.adoc +9 -11
  201. data/lib/starter_web/pages/public/learn/floating_sidebar.adoc +199 -0
  202. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +3 -3
  203. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +6 -7
  204. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +5 -5
  205. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +22 -24
  206. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +27 -30
  207. data/lib/starter_web/pages/public/learn/whats_up.adoc +12 -11
  208. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  209. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  210. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -3
  211. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  212. data/lib/starter_web/pages/public/site_search.adoc +196 -0
  213. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  214. data/lib/starter_web/utilsrv/package.json +1 -1
  215. metadata +169 -164
  216. data/assets/themes/j1/core/css/globals.scss +0 -28
  217. data/lib/starter_web/_data/modules/back2top.yml +0 -40
  218. data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -147
  219. data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +0 -169
  220. data/lib/starter_web/_data/modules/smooth_scroll.yml +0 -169
  221. data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +0 -227
  222. data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +0 -177
@@ -1,227 +0,0 @@
1
- ---
2
- regenerate: false
3
- ---
4
-
5
- {% capture cache %}
6
-
7
- {% comment %}
8
- # -----------------------------------------------------------------------------
9
- # ~/assets/themes/j1/adapter/js/back2top.js
10
- # Liquid template to adapt Back2Top Core functions
11
- #
12
- # Product/Info:
13
- # https://jekyll.one
14
- # http://dynamicdrive.com/dynamicindex3/scrolltop.htm
15
- #
16
- # Copyright (C) 2020 Juergen Adams
17
- # Copyright (C) 2009 dynamicdrive.com
18
- #
19
- # J1 Template is licensed under the MIT License.
20
- # For details, see https://jekyll.one
21
- # -----------------------------------------------------------------------------
22
- # Test data:
23
- # {{ liquid_var | debug }}
24
- # -----------------------------------------------------------------------------
25
- {% endcomment %}
26
-
27
- {% comment %} Liquid procedures
28
- -------------------------------------------------------------------------------- {% endcomment %}
29
- {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
30
-
31
- {% comment %} Set global settings
32
- -------------------------------------------------------------------------------- {% endcomment %}
33
- {% assign environment = site.environment %}
34
- {% assign template_version = site.version %}
35
-
36
-
37
- {% comment %} Process YML config data
38
- ================================================================================ {% endcomment %}
39
-
40
- {% comment %} Set config files
41
- -------------------------------------------------------------------------------- {% endcomment %}
42
- {% assign template_config = site.data.template_settings %}
43
- {% assign blocks = site.data.blocks %}
44
- {% assign modules = site.data.modules %}
45
-
46
- {% comment %} Set config data
47
- -------------------------------------------------------------------------------- {% endcomment %}
48
- {% assign back2top_defaults = modules.defaults.back2top.defaults %}
49
- {% assign back2top_settings = modules.back2top.settings %}
50
-
51
- {% comment %} Set config options
52
- -------------------------------------------------------------------------------- {% endcomment %}
53
- {% assign back2top_options = back2top_defaults | merge: back2top_settings %}
54
- {% assign active_color = back2top_options.active_color %}
55
- {% assign background_color = back2top_options.background_color %}
56
- {% assign back2top_icon = back2top_options.icon %}
57
- {% assign color = back2top_options.color %}
58
-
59
- {% if back2top_options.icon_family == 'MDI' %}
60
- {% assign back2top_icon_family = 'Material Design Icons' %}
61
- {% elsif moduleOptions.icon_family == 'FA' %}
62
- {% assign back2top_icon_family = 'FontAweSome' %}
63
- {% else %}
64
- {% assign back2top_icon_family = 'Material Design Icons' %}
65
- {% endif %}
66
-
67
-
68
- /*
69
- # -----------------------------------------------------------------------------
70
- # ~/assets/themes/j1/adapter/js/back2top.js
71
- # JS Adapter for J1 Back2Top
72
- #
73
- # Product/Info:
74
- # https://jekyll.one
75
- # http://dynamicdrive.com/dynamicindex3/scrolltop.htm
76
- #
77
- # Copyright (C) 2020 Juergen Adams
78
- # Copyright (C) 2009 dynamicdrive.com
79
- #
80
- # J1 Template is licensed under the MIT License.
81
- # For details, see https://jekyll.one
82
- #
83
- # -----------------------------------------------------------------------------
84
- # Adapter generated: {{site.time}}
85
- # -----------------------------------------------------------------------------
86
- */
87
- 'use strict';
88
-
89
- {% comment %} Main
90
- -------------------------------------------------------------------------------- {% endcomment %}
91
- j1.adapter['back2top'] = (function (j1, window) {
92
-
93
- {% comment %} Set global variables
94
- ------------------------------------------------------------------------------ {% endcomment %}
95
- var environment = '{{environment}}';
96
- var moduleOptions = {};
97
- var _this;
98
- var logger;
99
- var logText;
100
-
101
- // ---------------------------------------------------------------------------
102
- // Helper functions
103
- // ---------------------------------------------------------------------------
104
-
105
- // ---------------------------------------------------------------------------
106
- // Main object
107
- // ---------------------------------------------------------------------------
108
- return {
109
-
110
- // -------------------------------------------------------------------------
111
- // Initializer
112
- // -------------------------------------------------------------------------
113
- init: function (options) {
114
- // initialize state flag
115
- j1.adapter.back2top.state = 'pending';
116
-
117
- // -----------------------------------------------------------------------
118
- // Default module settings
119
- // -----------------------------------------------------------------------
120
- var settings = $.extend({
121
- module_name: 'j1.adapter.back2top',
122
- generated: '{{site.time}}'
123
- }, options);
124
-
125
- {% comment %} Set global variables
126
- -------------------------------------------------------------------------- {% endcomment %}
127
- _this = j1.adapter.back2top;
128
- logger = log4javascript.getLogger('j1.adapter.back2top');
129
-
130
- {% comment %} Load module config from yml data
131
- -------------------------------------------------------------------------- {% endcomment %}
132
- // Load module DEFAULTS|CONFIG
133
- moduleOptions = $.extend({}, {{back2top_options | replace: '=>', ':' | replace: 'nil', '""'}});
134
-
135
- if (typeof settings !== 'undefined') {
136
- moduleOptions = j1.mergeData(moduleOptions, settings);
137
- }
138
-
139
- if (moduleOptions.enabled) {
140
- _this.setState('started');
141
- logger.info('state: ' + _this.getState());
142
- logger.info('module is being initialized');
143
-
144
- _this.setCss();
145
- j1.core.back2top.init(moduleOptions);
146
-
147
- _this.setState('finished');
148
- logger.info('state: ' + _this.getState());
149
- } else {
150
- _this.setState('finished');
151
- logger.info('state: ' + _this.getState());
152
- logger.warn('module back2top disabled');
153
- }
154
-
155
- return true;
156
- }, // END init
157
-
158
- // -------------------------------------------------------------------------
159
- // Set dynamic styles for Back2Top
160
- // -------------------------------------------------------------------------
161
- setCss: function () {
162
- var bg_primary = j1.getStyleValue('bg-primary', 'background-color');
163
-
164
- var dependencies_met_back2top_adapter = setInterval(function() {
165
- if (typeof j1.colors !== 'undefined') {
166
- $('head').append('<style>#topcontrol { background: ' + j1.colors['{{background_color}}'] + '; }</style>');
167
- // $('head').append('<style>#topcontrol:hover { background: ' + j1.colors['{{active_color}}'] + '; }</style>');
168
- $('head').append('<style>#topcontrol:hover { background: ' +bg_primary+ '; }</style>');
169
- $('head').append('<style>#topcontrol:after { content: "\\{{back2top_icon}}"; font-family: {{back2top_icon_family}}; }</style>');
170
- // clear interval checking
171
- clearInterval(dependencies_met_back2top_adapter);
172
- } // END 'getState'
173
- }, 50); // END 'dataLoaded'
174
-
175
- return true;
176
- }, // END setCss
177
-
178
- // -------------------------------------------------------------------------
179
- // messageHandler: MessageHandler for J1 CookieConsent module
180
- // Manage messages send from other J1 modules
181
- // -------------------------------------------------------------------------
182
- messageHandler: function (sender, message) {
183
- // var json_message = JSON.stringify(message, undefined, 2);
184
- var json_message = JSON.stringify(message);
185
-
186
- logText = 'received message from ' + sender + ': ' + json_message;
187
- logger.debug(logText);
188
-
189
- // -----------------------------------------------------------------------
190
- // Process commands|actions
191
- // -----------------------------------------------------------------------
192
- if (message.type === 'command' && message.action === 'module_initialized') {
193
- //
194
- // Place handling of command|action here
195
- //
196
- logger.info(message.text);
197
- }
198
-
199
- //
200
- // Place handling of other command|action here
201
- //
202
-
203
- return true;
204
- }, // END messageHandler
205
-
206
- // -------------------------------------------------------------------------
207
- // setState
208
- // Set the current (processing) state of the module
209
- // -------------------------------------------------------------------------
210
- setState: function (stat) {
211
- j1.adapter.scroller.state = stat;
212
- }, // END setState
213
-
214
- // -------------------------------------------------------------------------
215
- // getState
216
- // Returns the current (processing) state of the module
217
- // -------------------------------------------------------------------------
218
- getState: function () {
219
- return j1.adapter.scroller.state;
220
- } // END state
221
-
222
- }; // END return
223
- })(j1, window);
224
-
225
- {% endcapture %}
226
- {{ cache | strip_empty_lines }}
227
- {% assign cache = nil %}
@@ -1,177 +0,0 @@
1
- ---
2
- regenerate: false
3
- ---
4
-
5
- {% capture cache %}
6
-
7
- {% comment %}
8
- # -----------------------------------------------------------------------------
9
- # ~/assets/themes/j1/adapter/js/smooth_scroll.js
10
- # Liquid template to adapt SmoothScroll Core functions
11
- #
12
- # Product/Info:
13
- # http://jekyll.one
14
- #
15
- # Copyright (C) 2020 Juergen Adams
16
- #
17
- # J1 Template is licensed under the MIT License.
18
- # For details, see https://jekyll.one
19
- # -----------------------------------------------------------------------------
20
- # Test data:
21
- # {{ liquid_var | debug }}
22
- # -----------------------------------------------------------------------------
23
- {% endcomment %}
24
-
25
- {% comment %} Liquid procedures
26
- -------------------------------------------------------------------------------- {% endcomment %}
27
-
28
- {% comment %} Set global settings
29
- -------------------------------------------------------------------------------- {% endcomment %}
30
- {% assign environment = site.environment %}
31
- {% assign template_version = site.version %}
32
-
33
- {% comment %} Process YML config data
34
- ================================================================================ {% endcomment %}
35
-
36
- {% comment %} Set config files
37
- -------------------------------------------------------------------------------- {% endcomment %}
38
- {% assign site_config = site %}
39
- {% assign template_config = site.data.template_settings %}
40
- {% assign blocks = site.data.blocks %}
41
- {% assign modules = site.data.modules %}
42
-
43
- {% comment %} Set config data
44
- -------------------------------------------------------------------------------- {% endcomment %}
45
- {% assign smooth_scroll_defaults = modules.defaults.smooth_scroll.defaults %}
46
- {% assign smooth_scroll_settings = modules.smooth_scroll.settings %}
47
-
48
- {% comment %} Set config options
49
- -------------------------------------------------------------------------------- {% endcomment %}
50
- {% assign smooth_scroll_options = smooth_scroll_defaults | merge: smooth_scroll_settings %}
51
-
52
- /*
53
- # -----------------------------------------------------------------------------
54
- # ~/assets/themes/j1/adapter/js/smooth_scroll.js
55
- # JS Adapter for J1 Scroller (SmoothScroll)
56
- #
57
- # Product/Info:
58
- # http://jekyll.one
59
- # https://github.com/galambalazs/smoothscroll-for-websites
60
- #
61
- # Copyright (C) 2020 Juergen Adams
62
- # Copyright (C) 2010-2016 Balazs Galambosi
63
- #
64
- # J1 Template is licensed under the MIT License.
65
- # For details, see https://jekyll.one
66
- # Smooth Scroll is licensed under the MIT License.
67
- # For details, https://github.com/galambalazs/smoothscroll-for-websites
68
- # -----------------------------------------------------------------------------
69
- # Adapter generated: {{site.time}}
70
- # -----------------------------------------------------------------------------
71
- */
72
- 'use strict';
73
-
74
- {% comment %} Main
75
- -------------------------------------------------------------------------------- {% endcomment %}
76
- j1.adapter['scroller'] = (function (j1, window) {
77
-
78
- {% comment %} Set global variables
79
- ------------------------------------------------------------------------------ {% endcomment %}
80
- var environment = '{{environment}}';
81
- var moduleOptions = {};
82
- var _this;
83
- var logger;
84
- var logText;
85
-
86
- // ---------------------------------------------------------------------------
87
- // Main object
88
- // ---------------------------------------------------------------------------
89
- return {
90
-
91
- // -------------------------------------------------------------------------
92
- // Initializer
93
- // -------------------------------------------------------------------------
94
- init: function () {
95
- // initialize state flag
96
- j1.adapter.scroller.state = 'pending';
97
-
98
- {% comment %} Set global variables
99
- -------------------------------------------------------------------------- {% endcomment %}
100
- _this = j1.adapter.scroller;
101
- logger = log4javascript.getLogger('j1.adapter.scroller');
102
-
103
- _this.setState('started');
104
- logger.info('state: ' + _this.getState());
105
- logger.info('Module is being initialized');
106
-
107
- SmoothScroll({
108
- frameRate: {{ smooth_scroll_options.frameRate | json }},
109
- animationTime: {{ smooth_scroll_options.animationTime | json }},
110
- stepSize: {{ smooth_scroll_options.stepSize | json }},
111
- accelerationDelta: {{ smooth_scroll_options.accelerationDelta | json }},
112
- accelerationMax: {{ smooth_scroll_options.accelerationMax | json }},
113
- keyboardSupport: {{ smooth_scroll_options.keyboardSupport | json }},
114
- arrowScroll: {{ smooth_scroll_options.arrowScroll | json }},
115
- pulseAlgorithm: {{ smooth_scroll_options.pulseAlgorithm | json }},
116
- pulseScale: {{ smooth_scroll_options.pulseScale | json }},
117
- pulseNormalize: {{ smooth_scroll_options.pulseNormalize | json }},
118
- touchpadSupport: {{ smooth_scroll_options.touchpadSupport | json }},
119
- fixedBackground: {{ smooth_scroll_options.fixedBackground | json }},
120
- excluded: {{ smooth_scroll_options.excluded | json }},
121
- });
122
-
123
- _this.setState('finished');
124
- logger.info('state: ' + _this.getState());
125
-
126
- return true;
127
- }, // END init
128
-
129
- // -------------------------------------------------------------------------
130
- // messageHandler: MessageHandler for J1 NAV module
131
- // Manage messages (paylods) send from other J1 modules
132
- // -------------------------------------------------------------------------
133
- messageHandler: function (sender, message) {
134
- var json_message = JSON.stringify(message, undefined, 2);
135
-
136
- logText = 'received message from ' + sender + ': ' + json_message;
137
- logger.debug(logText);
138
-
139
- // -----------------------------------------------------------------------
140
- // Process commands|actions
141
- // -----------------------------------------------------------------------
142
- if (message.type === 'command' && message.action === 'module_initialized') {
143
- //
144
- // Place handling of command|action here
145
- //
146
- logger.info(message.text);
147
- }
148
-
149
- //
150
- // Place handling of other command|action here
151
- //
152
-
153
- return true;
154
- }, // END messageHandler
155
-
156
- // -------------------------------------------------------------------------
157
- // setState
158
- // Set the current (processing) state of the module
159
- // -------------------------------------------------------------------------
160
- setState: function (stat) {
161
- j1.adapter.scroller.state = stat;
162
- }, // END setState
163
-
164
- // -------------------------------------------------------------------------
165
- // getState
166
- // Returns the current (processing) state of the module
167
- // -------------------------------------------------------------------------
168
- getState: function () {
169
- return j1.adapter.scroller.state;
170
- } // END state
171
-
172
- }; // END return
173
- })(j1, window);
174
-
175
- {% endcapture %}
176
- {{ cache | strip_empty_lines }}
177
- {% assign cache = nil %}