j1-template 2020.0.3 → 2020.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) 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 +45 -29
  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/menu.html +2 -1
  10. data/assets/data/mmenu.html +3 -3
  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 +231 -0
  15. data/assets/error_pages/HTTP204.html +3 -3
  16. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/algolia.js +3 -3
  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 +18 -39
  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 +29 -35
  28. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/searcher.js +0 -0
  29. data/assets/themes/j1/adapter/js/ssm.js +518 -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 +46 -153
  32. data/assets/themes/j1/core/css/globals.css +1 -1
  33. data/assets/themes/j1/core/css/theme_extensions.css +681 -117
  34. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  35. data/assets/themes/j1/core/css/uno.css +691 -117
  36. data/assets/themes/j1/core/css/uno.min.css +1 -1
  37. data/assets/themes/j1/core/css/vendor.css +4 -1
  38. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  39. data/assets/themes/j1/core/js/template.js +40 -30
  40. data/assets/themes/j1/core/js/template.js.map +1 -1
  41. data/assets/themes/j1/core/js/template.min.js +1 -1
  42. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.css +0 -0
  43. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.min.css +0 -0
  44. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.css +0 -0
  45. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.min.css +0 -0
  46. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.css +0 -0
  47. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.min.css +0 -0
  48. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
  49. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/grabbing.png +0 -0
  50. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
  51. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
  52. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.js +0 -0
  53. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.min.js +0 -0
  54. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iconify/js/iconify.min.js +0 -0
  55. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -0
  56. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -0
  57. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -0
  58. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -0
  59. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -0
  60. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -0
  61. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/index.html +0 -0
  62. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/two.html +0 -0
  63. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -0
  64. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -0
  65. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -0
  66. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/LICENSE +0 -0
  67. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/README.md +0 -0
  68. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  69. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  70. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +0 -0
  71. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  72. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  73. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  74. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +0 -0
  75. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  76. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  77. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  78. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +0 -0
  79. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  80. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  81. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +0 -0
  82. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +0 -0
  83. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.css +0 -0
  84. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +0 -0
  85. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +0 -0
  86. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +0 -0
  87. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +0 -0
  88. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +0 -0
  89. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +0 -0
  90. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +0 -0
  91. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.css +0 -0
  92. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +0 -0
  93. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
  94. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.svg +0 -0
  95. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
  96. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
  97. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
  98. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
  99. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
  100. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
  101. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
  102. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
  103. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
  104. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +0 -0
  105. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +0 -0
  106. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
  107. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
  108. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
  109. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
  110. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
  111. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
  112. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
  113. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +0 -0
  114. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
  115. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
  116. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
  117. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
  118. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.css +0 -0
  119. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.min.css +0 -0
  120. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.js +0 -0
  121. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +0 -0
  122. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +0 -0
  123. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +0 -0
  124. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +0 -0
  125. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +0 -0
  126. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +0 -0
  127. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +0 -0
  128. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +0 -0
  129. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +0 -0
  130. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +0 -0
  131. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +0 -0
  132. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.js +0 -0
  133. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +0 -0
  134. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +0 -0
  135. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +0 -0
  136. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.js +0 -0
  137. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +0 -0
  138. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +0 -0
  139. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +0 -0
  140. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.js +0 -0
  141. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -0
  142. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.dark/theme.css +0 -0
  143. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.light/theme.css +0 -0
  144. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +0 -0
  145. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +0 -0
  146. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai/theme.css +0 -0
  147. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +0 -0
  148. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +0 -0
  149. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized/theme.css +0 -0
  150. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16/theme.css +0 -0
  151. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/colorful/theme.css +0 -0
  152. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/github/theme.css +0 -0
  153. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +0 -0
  154. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +0 -0
  155. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox/theme.css +0 -0
  156. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/igorpro/theme.css +0 -0
  157. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/molokai/theme.css +0 -0
  158. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +0 -0
  159. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai/theme.css +0 -0
  160. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/pastie/theme.css +0 -0
  161. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +0 -0
  162. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/tulip/theme.css +0 -0
  163. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.css +0 -0
  164. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.min.css +0 -0
  165. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.css +0 -0
  166. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.min.css +0 -0
  167. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.css +0 -0
  168. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.min.css +0 -0
  169. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.css +0 -0
  170. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.min.css +0 -0
  171. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.css +0 -0
  172. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.min.css +0 -0
  173. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.js +0 -0
  174. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.min.js +0 -0
  175. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  176. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js +0 -0
  177. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js.map +0 -0
  178. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js +0 -0
  179. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js.map +0 -0
  180. data/lib/j1/version.rb +1 -1
  181. data/lib/starter_web/Gemfile +2 -2
  182. data/lib/starter_web/_config.yml +12 -139
  183. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  184. data/lib/starter_web/_data/modules/defaults/navigator.yml +2 -24
  185. data/lib/starter_web/_data/modules/defaults/ssm.yml +50 -0
  186. data/lib/starter_web/_data/modules/defaults/toccer.yml +14 -15
  187. data/lib/starter_web/_data/modules/navigator.yml +158 -97
  188. data/lib/starter_web/_data/modules/ssm.yml +133 -0
  189. data/lib/starter_web/_data/modules/toccer.yml +20 -62
  190. data/lib/starter_web/_data/resources.yml +27 -49
  191. data/lib/starter_web/_data/template_settings.yml +13 -13
  192. data/lib/starter_web/_plugins/uglify.rb +41 -0
  193. data/lib/starter_web/assets/images/modules/icons/j1/{j1..ico → j1.ico} +0 -0
  194. data/lib/starter_web/collections/posts/public/{jekyll → featured}/_posts/2018-05-01-confusion-about-base-url.adoc +0 -0
  195. data/lib/starter_web/package.json +1 -1
  196. data/lib/starter_web/pages/public/about/about_site.adoc +3 -3
  197. data/lib/starter_web/pages/public/about/become_a_patron.adoc +9 -11
  198. data/lib/starter_web/pages/public/learn/floating_sidebar.adoc +199 -0
  199. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +3 -3
  200. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +6 -7
  201. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +9 -5
  202. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +22 -24
  203. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +27 -30
  204. data/lib/starter_web/pages/public/learn/whats_up.adoc +12 -11
  205. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  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/mdi_icons_preview.adoc +2 -3
  208. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  209. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  210. data/lib/starter_web/utilsrv/package.json +1 -1
  211. metadata +167 -172
  212. data/assets/themes/j1/core/css/globals.scss +0 -28
  213. data/lib/starter_web/_data/modules/back2top.yml +0 -40
  214. data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -147
  215. data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +0 -169
  216. data/lib/starter_web/_data/modules/smooth_scroll.yml +0 -169
  217. data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +0 -227
  218. data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js +0 -269
  219. data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +0 -177
  220. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +0 -384
  221. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +0 -10
  222. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +0 -213
  223. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +0 -205
  224. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +0 -118
@@ -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,269 +0,0 @@
1
- ---
2
- regenerate: true
3
- ---
4
-
5
- {% capture cache %}
6
-
7
- {% comment %}
8
- # -----------------------------------------------------------------------------
9
- # ~/assets/themes/j1/adapter/js/mmenu.js
10
- # Liquid template to adapt Mmenu-Light Core functions
11
- #
12
- # Product/Info:
13
- # https://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
- # NOTE:
24
- #
25
- # JSON pretty print
26
- # Example: var str = JSON.stringify(obj, null, 2); // spacing level = 2
27
- # See: https://stackoverflow.com/questions/4810841/how-can-i-pretty-print-json-using-javascript
28
- # -----------------------------------------------------------------------------
29
- {% endcomment %}
30
-
31
- {% comment %} Liquid procedures
32
- -------------------------------------------------------------------------------- {% endcomment %}
33
- {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
34
-
35
- {% comment %} Set global settings
36
- -------------------------------------------------------------------------------- {% endcomment %}
37
- {% assign environment = site.environment %}
38
- {% assign brand_image_height = site.brand.image_height %}
39
-
40
- {% comment %} Process YML config data
41
- ================================================================================ {% endcomment %}
42
-
43
- {% comment %} Set config files
44
- {% assign auth_manager_config = site.j1_auth %}
45
- -------------------------------------------------------------------------------- {% endcomment %}
46
- {% assign site_config = site %}
47
- {% assign template_config = site.data.template_settings %}
48
- {% assign blocks = site.data.blocks %}
49
- {% assign modules = site.data.modules %}
50
-
51
- {% assign template_config = site.data.template_settings %}
52
- {% assign navigator_defaults = site.data.modules.defaults.navigator.defaults %}
53
- {% assign navigator_settings = site.data.modules.navigator.settings %}
54
-
55
- {% comment %} Set config data
56
- -------------------------------------------------------------------------------- {% endcomment %}
57
- {% assign nav_mmenu_defaults = navigator_defaults.nav_mmenu %}
58
- {% assign nav_mmenu_settings = navigator_settings.nav_mmenu %}
59
-
60
- {% comment %} Set config options
61
- -------------------------------------------------------------------------------- {% endcomment %}
62
- {% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
63
- {% assign nav_mmenu_id = navigator_defaults.nav_mmenu.xhr_container_id %}
64
- {% assign nav_navbar_media_breakpoint = navigator_defaults.nav_bar.media_breakpoint %}
65
-
66
- /*
67
- # -----------------------------------------------------------------------------
68
- # ~/assets/themes/j1/adapter/js/mmenu.js
69
- # JS Adapter for J1 MobileMenu (MMenu Light)
70
- #
71
- # Product/Info:
72
- # {{site.data.template_settings.theme_author_url}}
73
- #
74
- # Copyright (C) 2020 Juergen Adams
75
- #
76
- # J1 Template is licensed under the MIT License.
77
- # For details, see {{site.data.template_settings.theme_author_url}}
78
- # -----------------------------------------------------------------------------
79
- # NOTE: For AJAX (XHR) loads see
80
- # https://stackoverflow.com/questions/3709597/wait-until-all-jquery-ajax-requests-are-done
81
- # -----------------------------------------------------------------------------
82
- # NOTE: For getStyleValue helper see
83
- # https://stackoverflow.com/questions/16965515/how-to-get-a-style-attribute-from-a-css-class-by-javascript-jquery
84
- # -----------------------------------------------------------------------------
85
- # Adapter generated: {{site.time}}
86
- # -----------------------------------------------------------------------------
87
- */
88
- 'use strict';
89
-
90
- j1.adapter['mmenu'] = (function (j1, window) {
91
-
92
- // ---------------------------------------------------------------------------
93
- // globals
94
- // ---------------------------------------------------------------------------
95
- var environment = '{{environment}}';
96
- var dclFinished = false;
97
- var moduleOptions = {};
98
- var _this;
99
- var logger;
100
- var logText;
101
-
102
- // ---------------------------------------------------------------------------
103
- // helper functions
104
- // ---------------------------------------------------------------------------
105
-
106
-
107
- // ---------------------------------------------------------------------------
108
- // main object
109
- // ---------------------------------------------------------------------------
110
- return {
111
-
112
- // -------------------------------------------------------------------------
113
- // module initializer
114
- // -------------------------------------------------------------------------
115
- init: function (options) {
116
- // initialize state flag
117
- j1.adapter.mmenu.state = 'pending';
118
-
119
- // -----------------------------------------------------------------------
120
- // defaults
121
- // -----------------------------------------------------------------------
122
- var settings = $.extend({
123
- module_name: 'j1.adapter.mmenu',
124
- generated: '{{site.time}}'
125
- }, options);
126
- _this = j1.adapter.mmenu;
127
- logger = log4javascript.getLogger('j1.adapter.mmenu');
128
-
129
- // -----------------------------------------------------------------------
130
- // options loader
131
- // -----------------------------------------------------------------------
132
- var navMenuOptions = {};
133
-
134
- navMenuOptions = $.extend({}, {{nav_mmenu_options | replace: '=>', ':' }});
135
-
136
- // save config settings into the mmenu object for global access
137
- //
138
- j1.adapter.mmenu['navMenuOptions'] = navMenuOptions;
139
-
140
- // Load (individual) frontmatter options (currently NOT used)
141
- //
142
- if (options != null) { var frontmatterOptions = $.extend({}, options) }
143
-
144
- _this.setState('started');
145
- logger.info('state: ' + _this.getState());
146
- logger.info('module is being initialized');
147
-
148
- // -----------------------------------------------------------------------
149
- // data loader
150
- // -----------------------------------------------------------------------
151
- $.when (
152
- j1.xhrData ( // mmenu
153
- 'j1.adapter.mmenu', {
154
- xhr_container_id: navMenuOptions.xhr_container_id,
155
- xhr_data_path: navMenuOptions.xhr_data_path },
156
- 'mmenu_loaded'))
157
- .done (function (mmenu) {
158
- // -----------------------------------------------------------------------
159
- // core initializer
160
- // -----------------------------------------------------------------------
161
- var dependencies_met_mmenu_loaded = setInterval (function () {
162
- if (mmenu && _this.getState() === 'mmenu_loaded') {
163
- const menu_selector = document.querySelector( '#' + navMenuOptions.xhr_container_id );
164
- const navbar_toggler = document.querySelector( "#navbar-toggler" );
165
-
166
- _this.setState('processing');
167
- logger.info('status: ' + _this.getState());
168
- logger.info('initialize mmenu core');
169
-
170
- const menu = new MmenuLight (
171
- menu_selector,
172
- '(max-width: ' + navMenuOptions.mmenu_plugin.max_width +'px)', {
173
- // plugin options
174
- node: navMenuOptions.mmenu_plugin.node,
175
- mediaQuery: navMenuOptions.mmenu_plugin.mediaQuery
176
- });
177
-
178
- const navigator = menu.navigation ({
179
- // navigator options
180
- selected: navMenuOptions.mmenu_navigator.selected,
181
- slidingSubmenus: navMenuOptions.mmenu_navigator.slidingSubmenus,
182
- title: navMenuOptions.mmenu_navigator.title,
183
- theme: navMenuOptions.mmenu_navigator.theme
184
- });
185
-
186
- const drawer = menu.offcanvas ({
187
- // drawer options
188
- position: navMenuOptions.mmenu_drawer.position
189
- });
190
-
191
- // Toggle Bars (Hamburger) for the NavBar to open|close
192
- // the mmenu drawer
193
- $('button.navigator.navbar-toggler').each(function(e) {
194
- var $this = $(this);
195
-
196
- $this.on('click', function(e){
197
- var toggler = this;
198
-
199
- // TODO: Animated toggle button
200
- //
201
- $('button.navigator.navbar-toggler.animated').toggleClass('fadeIn');
202
- $('button.navigator.navbar-toggler.animated').toggleClass('rotateIn')
203
-
204
- $('.mdi', this).toggleClass('mdi-menu');
205
- $('.mdi', this).toggleClass('mdi-close');
206
- e.preventDefault();
207
- (toggler.t = !toggler.t) ? drawer.open() : drawer.close();
208
- });
209
- });
210
- clearInterval(dependencies_met_mmenu_loaded);
211
-
212
- }; // END mmenu_loaded
213
- }); // END dependencies_met_mmenu_loaded
214
- }); // END done
215
- }, // END init
216
-
217
- // -------------------------------------------------------------------------
218
- // messageHandler
219
- // Manage messages (paylods) send from other J1 modules
220
- // -------------------------------------------------------------------------
221
- messageHandler: function (sender, message) {
222
- // var json_message = JSON.stringify(message, undefined, 2); // multiline
223
- var json_message = JSON.stringify(message);
224
-
225
- logText = 'received message from ' + sender + ': ' + json_message;
226
- logger.debug(logText);
227
-
228
- // -----------------------------------------------------------------------
229
- // Process commands|actions
230
- // -----------------------------------------------------------------------
231
- if (message.type === 'command' && message.action === 'module_initialized') {
232
- //
233
- // Place handling of command|action here
234
- //
235
- logger.info(message.text);
236
- }
237
- if (message.type === 'command' && message.action === 'status') {
238
- logger.info('messageHandler: received - ' + message.action);
239
- }
240
-
241
- //
242
- // Place handling of other command|action here
243
- //
244
-
245
- return true;
246
- }, // END messageHandler
247
-
248
- // -------------------------------------------------------------------------
249
- // setState
250
- // Set the current (processing) state of the module
251
- // -------------------------------------------------------------------------
252
- setState: function (stat) {
253
- j1.adapter.mmenu.state = stat;
254
- }, // END setState
255
-
256
- // -------------------------------------------------------------------------
257
- // getState
258
- // Returns the current (processing) state of the module
259
- // -------------------------------------------------------------------------
260
- getState: function () {
261
- return j1.adapter.mmenu.state;
262
- } // END state
263
-
264
- }; // END return
265
- })(j1, window);
266
-
267
- {% endcapture %}
268
- {{ cache | strip_empty_lines }}
269
- {% assign cache = nil %}