j1-template 2020.0.11 → 2020.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +64 -0
  3. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +2 -2
  4. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +3 -3
  5. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +3 -3
  6. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +3 -2
  7. data/_includes/themes/j1/layouts/content_generator_collection.html +3 -2
  8. data/_includes/themes/j1/layouts/content_generator_page.html +26 -25
  9. data/_includes/themes/j1/layouts/content_generator_post.html +13 -13
  10. data/_includes/themes/j1/layouts/layout_metadata_generator.html +134 -4
  11. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +6 -9
  12. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +9 -6
  13. data/_includes/themes/j1/modules/connectors/ads +3 -6
  14. data/_includes/themes/j1/modules/navigator/generator.html +0 -1
  15. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +5 -5
  16. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -2
  17. data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -9
  18. data/_includes/themes/j1/procedures/layouts/module_writer.proc +3 -13
  19. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -14
  20. data/_layouts/default.html +60 -59
  21. data/apps/public/cc/index.adoc +1 -5
  22. data/assets/data/authclient.html +48 -27
  23. data/assets/data/banner.html +23 -23
  24. data/assets/data/carousel.json +30 -21
  25. data/assets/data/cookiebar.html +277 -0
  26. data/assets/data/footer.html +14 -7
  27. data/assets/data/galleries.json +90 -81
  28. data/assets/data/gallery_customizer.html +21 -12
  29. data/assets/data/jupyter/notebooks/_html/template.full.head.html +10 -10
  30. data/assets/data/jupyter/notebooks/_html/visualisation.html +11 -11
  31. data/assets/data/jupyter/notebooks/html/template.html +7 -7
  32. data/assets/data/jupyter/notebooks/html/visualisation.ok.html +12 -12
  33. data/assets/data/jupyter/notebooks/visualisation.ipynb +1 -1
  34. data/assets/data/mdi_icons.json +55 -1
  35. data/assets/data/menu.html +16 -9
  36. data/assets/data/mmenu.html +48 -95
  37. data/assets/data/mmenu_sidebar.html +40 -44
  38. data/assets/data/mmenu_toc.html +20 -4
  39. data/assets/data/panel.html +44 -38
  40. data/assets/data/quicklinks.html +36 -20
  41. data/assets/data/search.json +165 -0
  42. data/assets/data/ssm.html +15 -4
  43. data/assets/data/themes.json +17 -6
  44. data/assets/data/twa_v1.json +54 -0
  45. data/assets/themes/j1/adapter/js/algolia.js +28 -17
  46. data/assets/themes/j1/adapter/js/attic.js +51 -40
  47. data/assets/themes/j1/adapter/js/carousel.js +27 -13
  48. data/assets/themes/j1/adapter/js/clipboard.js +232 -0
  49. data/assets/themes/j1/adapter/js/cookiebar.js +204 -0
  50. data/assets/themes/j1/adapter/js/framer.js +37 -21
  51. data/assets/themes/j1/adapter/js/gallery_customizer.js +230 -250
  52. data/assets/themes/j1/adapter/js/j1.js +563 -803
  53. data/assets/themes/j1/adapter/js/{justified_gallery.js → jf_gallery.js} +32 -22
  54. data/assets/themes/j1/adapter/js/lightbox.js +20 -10
  55. data/assets/themes/j1/adapter/js/logger.js +13 -6
  56. data/assets/themes/j1/adapter/js/mdb.js +164 -0
  57. data/assets/themes/j1/adapter/js/mmenu.js +60 -69
  58. data/assets/themes/j1/adapter/js/navigator.js +200 -169
  59. data/assets/themes/j1/adapter/js/searcher.js +30 -14
  60. data/assets/themes/j1/adapter/js/ssm.js +111 -88
  61. data/assets/themes/j1/adapter/js/themer.js +71 -103
  62. data/assets/themes/j1/adapter/js/toccer.js +30 -22
  63. data/assets/themes/j1/core/css/animate.css +2382 -0
  64. data/assets/themes/j1/core/css/animate.min.css +7 -0
  65. data/assets/themes/j1/core/css/fontawesome.css +4415 -0
  66. data/assets/themes/j1/core/css/fontawesome.min.css +1 -0
  67. data/assets/themes/j1/core/css/iconify-icons.css +4106 -0
  68. data/assets/themes/j1/core/css/iconify-icons.min.css +1 -0
  69. data/assets/themes/j1/core/css/material-design-icons.css +14532 -0
  70. data/assets/themes/j1/core/css/material-design-icons.min.css +1 -0
  71. data/assets/themes/j1/core/css/theme_extensions.css +326 -3004
  72. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  73. data/assets/themes/j1/core/css/twemoji.css +9485 -0
  74. data/assets/themes/j1/core/css/twemoji.min.css +1 -0
  75. data/assets/themes/j1/core/css/uno.css +453 -3039
  76. data/assets/themes/j1/core/css/uno.min.css +1 -1
  77. data/assets/themes/j1/core/css/vendor.css +884 -33335
  78. data/assets/themes/j1/core/css/vendor.min.css +2 -9
  79. data/assets/themes/j1/core/js/template.js +25 -416
  80. data/assets/themes/j1/core/js/template.js.map +1 -1
  81. data/assets/themes/j1/core/js/template.min.js +1 -1
  82. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1695 -0
  83. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +21 -0
  84. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +1 -0
  85. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +12177 -0
  86. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +8 -0
  87. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6930 -0
  88. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +1 -0
  89. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +1 -0
  90. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +10278 -0
  91. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +1 -0
  92. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +7 -0
  93. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +1 -0
  94. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +4420 -0
  95. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
  96. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
  97. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
  98. data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +203 -0
  99. data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +235 -0
  100. data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +509 -0
  101. data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +122 -0
  102. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +435 -0
  103. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +20 -0
  104. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.css +1 -1
  105. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.min.css +1 -1
  106. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.css +1 -1
  107. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.min.css +1 -1
  108. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.css +1 -1
  109. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.min.css +1 -1
  110. data/assets/themes/j1/{extensions → modules}/carousel/images/ajax-loader.gif +0 -0
  111. data/assets/themes/j1/{extensions → modules}/carousel/images/grabbing.png +0 -0
  112. data/assets/themes/j1/{extensions → modules}/carousel/images/owl-logo.png +0 -0
  113. data/assets/themes/j1/{extensions → modules}/carousel/images/owl.video.play.png +0 -0
  114. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.js +0 -0
  115. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.min.js +0 -0
  116. data/assets/themes/j1/modules/clipboard/LICENSE +20 -0
  117. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +52 -0
  118. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +52 -0
  119. data/assets/themes/j1/modules/clipboard/js/clipboard.js +975 -0
  120. data/assets/themes/j1/modules/clipboard/js/clipboard.min.js +7 -0
  121. data/assets/themes/j1/{extensions/iconify → modules/iconifyAPI}/js/iconify.min.js +0 -0
  122. data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -0
  123. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +127 -0
  124. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +157 -0
  125. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +68 -0
  126. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +100 -0
  127. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +45 -0
  128. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +113 -0
  129. data/assets/themes/j1/modules/iframeResizer/examples/index.html +83 -0
  130. data/assets/themes/j1/modules/iframeResizer/examples/two.html +88 -0
  131. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +1288 -0
  132. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +1 -0
  133. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -0
  134. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.js +1390 -0
  135. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.map +1 -0
  136. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.min.js +9 -0
  137. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +468 -0
  138. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
  139. data/assets/themes/j1/modules/jqMouseWheel/README.md +76 -0
  140. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +221 -0
  141. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +9 -0
  142. data/assets/themes/j1/modules/jquery/js/jquery.js +10869 -0
  143. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -0
  144. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/LICENSE +0 -0
  145. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/README.md +0 -0
  146. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  147. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  148. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/theme/uno.css +1 -1
  149. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  150. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  151. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  152. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/.csslintrc +0 -0
  153. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  154. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  155. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  156. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/theme/uno.css +1 -1
  157. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  158. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  159. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.css +0 -0
  160. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.min.css +0 -0
  161. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.css +1 -1
  162. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.min.css +1 -1
  163. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.js +0 -0
  164. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.min.js +0 -0
  165. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.css +0 -0
  166. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.min.css +0 -0
  167. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.css +0 -0
  168. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.min.css +0 -0
  169. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.css +0 -0
  170. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.min.css +0 -0
  171. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.eot +0 -0
  172. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.svg +0 -0
  173. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.ttf +0 -0
  174. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.woff +0 -0
  175. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/loading.gif +0 -0
  176. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/video-play.png +0 -0
  177. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/vimeo-play.png +0 -0
  178. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/youtube-play.png +0 -0
  179. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/animation-w.png +0 -0
  180. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/customize-w.png +0 -0
  181. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/dynamic-w.png +0 -0
  182. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/facebook-icon.svg +0 -0
  183. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/googleplus-icon.svg +0 -0
  184. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/html5-w.png +0 -0
  185. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/linked-in.png +0 -0
  186. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/module-w.png +0 -0
  187. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/play-button.png +0 -0
  188. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/responsive-w.png +0 -0
  189. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/thumb-w.png +0 -0
  190. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/touch-w.png +0 -0
  191. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter-icon.svg +0 -0
  192. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter.png +0 -0
  193. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/video1-w.png +0 -0
  194. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom-w.png +0 -0
  195. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom.png +0 -0
  196. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.css +1 -1
  197. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.min.css +1 -1
  198. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.js +0 -0
  199. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.min.js +0 -0
  200. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.js +0 -0
  201. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.min.js +0 -0
  202. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.js +0 -0
  203. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.min.js +0 -0
  204. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.js +0 -0
  205. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.min.js +0 -0
  206. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.js +0 -0
  207. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.min.js +0 -0
  208. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.js +0 -0
  209. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.min.js +0 -0
  210. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.js +0 -0
  211. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.min.js +0 -0
  212. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.js +0 -0
  213. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.min.js +0 -0
  214. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.js +0 -0
  215. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.min.js +0 -0
  216. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.js +0 -0
  217. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.min.js +0 -0
  218. data/assets/themes/j1/modules/lightbox/LICENSE +22 -0
  219. data/assets/themes/j1/modules/lightbox/css/lightbox.css +224 -0
  220. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +21 -0
  221. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +25 -0
  222. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +26 -0
  223. data/assets/themes/j1/modules/lightbox/images/close.png +0 -0
  224. data/assets/themes/j1/modules/lightbox/images/loading.gif +0 -0
  225. data/assets/themes/j1/modules/lightbox/images/next.png +0 -0
  226. data/assets/themes/j1/modules/lightbox/images/prev.png +0 -0
  227. data/assets/themes/j1/modules/lightbox/js/lightbox.js +583 -0
  228. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +35 -0
  229. data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +392 -0
  230. data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +393 -0
  231. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +178 -0
  232. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +170 -0
  233. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
  234. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +30 -0
  235. data/assets/themes/j1/modules/noUISlider/LICENSE +13 -0
  236. data/assets/themes/j1/modules/noUISlider/css/nouislider.css +260 -0
  237. data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +1 -0
  238. data/assets/themes/j1/modules/noUISlider/js/nouislider.js +2312 -0
  239. data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +3 -0
  240. data/assets/themes/j1/modules/polyfills/js/msie.js +140 -0
  241. data/assets/themes/j1/modules/popper/js/popper.js +2623 -0
  242. data/assets/themes/j1/modules/popper/js/popper.js.map +1 -0
  243. data/assets/themes/j1/modules/popper/js/popper.min.js +4 -0
  244. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -0
  245. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.dark/theme.css +0 -0
  246. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.light/theme.css +0 -0
  247. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.dark/theme.css +0 -0
  248. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.light/theme.css +0 -0
  249. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai/theme.css +0 -0
  250. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.dark/theme.css +0 -0
  251. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.light/theme.css +0 -0
  252. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized/theme.css +0 -0
  253. data/assets/themes/j1/{extensions → modules}/rouge/css/base16/theme.css +0 -0
  254. data/assets/themes/j1/{extensions → modules}/rouge/css/colorful/theme.css +0 -0
  255. data/assets/themes/j1/{extensions → modules}/rouge/css/github/theme.css +0 -0
  256. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.dark/theme.css +0 -0
  257. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.light/theme.css +0 -0
  258. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox/theme.css +0 -0
  259. data/assets/themes/j1/{extensions → modules}/rouge/css/igorpro/theme.css +0 -0
  260. data/assets/themes/j1/{extensions → modules}/rouge/css/molokai/theme.css +0 -0
  261. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai.sublime/theme.css +0 -0
  262. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai/theme.css +0 -0
  263. data/assets/themes/j1/{extensions → modules}/rouge/css/pastie/theme.css +0 -0
  264. data/assets/themes/j1/{extensions → modules}/rouge/css/thankful_eyes/theme.css +0 -0
  265. data/assets/themes/j1/{extensions → modules}/rouge/css/tulip/theme.css +0 -0
  266. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +89 -0
  267. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +89 -0
  268. data/assets/themes/j1/modules/tocbot/css/tocbot.css +75 -0
  269. data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +19 -0
  270. data/assets/themes/j1/modules/tocbot/js/tocbot.js +19 -0
  271. data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +19 -0
  272. data/assets/themes/j1/modules/twemoji/js/LICENSE +21 -0
  273. data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -0
  274. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +275 -0
  275. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +275 -0
  276. data/assets/themes/j1/modules/twemoji/js/twemoji.js +589 -0
  277. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +25 -0
  278. data/assets/themes/j1/modules/util/js/js.cookie.js +163 -0
  279. data/assets/themes/j1/modules/util/js/lite-url.js +203 -0
  280. data/assets/themes/j1/modules/util/js/lite-url.min.js +7 -0
  281. data/assets/themes/j1/{extensions/log4javascript/log4javascript.min.js → modules/util/js/log4javascript.js} +0 -2
  282. data/assets/themes/j1/modules/util/js/platform.js +1260 -0
  283. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.css +0 -0
  284. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.min.css +0 -0
  285. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.css +0 -0
  286. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.min.css +0 -0
  287. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.css +0 -0
  288. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.min.css +0 -0
  289. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.css +0 -0
  290. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.min.css +0 -0
  291. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.css +0 -0
  292. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.min.css +0 -0
  293. data/assets/themes/j1/{extensions → modules}/videojs/js/video.js +0 -0
  294. data/assets/themes/j1/{extensions → modules}/videojs/js/video.min.js +0 -0
  295. data/assets/themes/j1/{extensions → modules}/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  296. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js +0 -0
  297. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js.map +0 -0
  298. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js +0 -0
  299. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js.map +0 -0
  300. data/lib/j1/version.rb +1 -1
  301. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +391 -389
  302. data/lib/starter_web/Gemfile +22 -13
  303. data/lib/starter_web/_config.yml +9 -8
  304. data/lib/starter_web/_data/_defaults/resources.yml +13 -13
  305. data/lib/starter_web/_data/blocks/banner.yml +23 -31
  306. data/lib/starter_web/_data/blocks/footer.yml +10 -3
  307. data/lib/starter_web/_data/blocks/panel.yml +21 -21
  308. data/lib/starter_web/_data/layouts/default.yml +10 -0
  309. data/lib/starter_web/_data/layouts/home.yml +7 -7
  310. data/lib/starter_web/_data/layouts/page.yml +15 -16
  311. data/lib/starter_web/_data/modules/advertising.yml +48 -0
  312. data/lib/starter_web/_data/modules/attics.yml +2 -38
  313. data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
  314. data/lib/starter_web/_data/modules/defaults/attics.yml +16 -15
  315. data/lib/starter_web/_data/modules/defaults/authentication.yml +8 -9
  316. data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +75 -12
  317. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
  318. data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +12 -9
  319. data/lib/starter_web/_data/modules/defaults/navigator.yml +57 -21
  320. data/lib/starter_web/_data/modules/jekyll_search.yml +1 -20
  321. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  322. data/lib/starter_web/_data/modules/navigator_menu.yml +6 -7
  323. data/lib/starter_web/_data/modules/themer.yml +10 -11
  324. data/lib/starter_web/_data/resources.yml +379 -174
  325. data/lib/starter_web/_data/template_settings.yml +96 -4
  326. data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
  327. data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
  328. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  329. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +2 -2
  330. data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +2 -2
  331. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +2 -2
  332. data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
  333. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +2 -2
  334. data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
  335. data/lib/starter_web/_plugins/minifyJS.rb +54 -0
  336. data/lib/starter_web/_plugins/minifyJSON.rb +47 -0
  337. data/lib/starter_web/assets/images/pages/material/apple-touch-icon.png +0 -0
  338. data/lib/starter_web/assets/videos/headers/still/underground-broadway.webp +0 -0
  339. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.webp +0 -0
  340. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +3 -4
  341. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +1 -1
  342. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +17 -17
  343. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +36 -40
  344. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -6
  345. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -3
  346. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
  347. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -4
  348. data/lib/starter_web/index.html +12 -13
  349. data/lib/starter_web/package.json +10 -10
  350. data/lib/starter_web/pages/{public → protected}/site_search.adoc +2 -2
  351. data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -18
  352. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -34
  353. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +43 -30
  354. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +29 -29
  355. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -2
  356. data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +221 -0
  357. data/lib/starter_web/pages/public/learn/examples/floating_div.adoc +33 -1
  358. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -0
  359. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +1 -2
  360. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +1 -2
  361. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +16 -18
  362. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +1 -1
  363. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  364. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  365. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
  366. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +7 -3
  367. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +36 -45
  368. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  369. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +9 -10
  370. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +39 -39
  371. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +20 -22
  372. data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/attributes.asciidoc +0 -0
  373. data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/documents/100_buttons.asciidoc +0 -0
  374. data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/mdb_previewer.adoc +2 -2
  375. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +1 -1
  376. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  377. data/lib/starter_web/pages/public/learn/whats_up.adoc +2 -2
  378. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +11 -13
  379. data/lib/starter_web/pages/public/previewer/iframer.adoc +17 -15
  380. data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -2
  381. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
  382. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  383. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  384. data/lib/starter_web/utilsrv/package.json +1 -1
  385. metadata +255 -165
  386. data/assets/data/colors.json +0 -42
  387. data/assets/data/cookie_consent.html +0 -223
  388. data/assets/data/font_sizes.json +0 -42
  389. data/assets/data/messages.yml +0 -131
  390. data/assets/data/search.yml +0 -153
  391. data/assets/themes/j1/adapter/js/cookie_consent.js +0 -277
  392. data/assets/themes/j1/core/css/custom.scss +0 -28
  393. data/assets/themes/j1/core/css/globals.css +0 -14523
  394. data/assets/themes/j1/core/css/globals.min.css +0 -1
  395. data/assets/themes/j1/core/css/uno.scss +0 -28
  396. data/assets/themes/j1/core/css/vendor.scss +0 -28
  397. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -86
  398. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -58
  399. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -51
  400. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -68
  401. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -46
  402. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -79
  403. data/assets/themes/j1/extensions/iframe_resizer/examples/index.html +0 -70
  404. data/assets/themes/j1/extensions/iframe_resizer/examples/two.html +0 -71
  405. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -1104
  406. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -1
  407. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -10
  408. data/assets/themes/j1/extensions/log4javascript/log4javascript.js +0 -5826
  409. data/lib/starter_web/_data/modules/cookie_consent.yml +0 -128
  410. data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
  411. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
  412. data/lib/starter_web/pages/public/clear_button.adoc +0 -121
@@ -0,0 +1,165 @@
1
+ ---
2
+ regenerate: true
3
+ ---
4
+
5
+ {% capture cache %}
6
+
7
+ {% comment %}
8
+ # -----------------------------------------------------------------------------
9
+ # ~/assets/data/search.yml
10
+ # Liquid YAML template to generate INDEX data used by SimpleJekyllSearch
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
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
19
+ # -----------------------------------------------------------------------------
20
+ # SimpleJekyllSearch, a JavaScript library to add search functionality
21
+ # to any Jekyll Site or Blog.
22
+ #
23
+ # The Liquid template search.yml is used by J1 SimpleJekyllSearch.
24
+ # This template is a helper that creates the search database (index, YAML)
25
+ # for all documents.
26
+ #
27
+ # The Liquid template generates a simple YAML file as an array that contains
28
+ # objects for ALL posts and pages included for indexing. See below the fields
29
+ # taken from the source files.
30
+ # -----------------------------------------------------------------------------
31
+ # NOTE:
32
+ # Be careful changing the Liquid code. If the code is changed, check
33
+ # the integrity of the YAML data created. Corrupted YAML data makes
34
+ # the Javascript of SimpleJekyllSearch to fail (JSONLoader.js) and no
35
+ # search functionality will be available for most UNCLEAR reasons.
36
+ # -----------------------------------------------------------------------------
37
+ # NOTE:
38
+ # Don't change the order of index generation (first pages, then posts).
39
+ # This is because the helper 'forloop.last' is NOT usable as NO
40
+ # 'site.pages.size' var is available. Instead, the pages array (site.pages)
41
+ # is iterated.
42
+ # -----------------------------------------------------------------------------
43
+ # NOTE:
44
+ # For pages, NO excerpt is supported. As a replacement, the (page)
45
+ # description is used.
46
+ # -----------------------------------------------------------------------------
47
+ # Test data:
48
+ # {{liquid_var|debug}}
49
+ # -----------------------------------------------------------------------------
50
+ {% endcomment %}
51
+
52
+ {% comment %} Set global settings
53
+ -------------------------------------------------------------------------------- {% endcomment %}
54
+ {% assign environment = site.environment %}
55
+ {% assign template_version = site.version %}
56
+
57
+ {% comment %} Process YML config data
58
+ ================================================================================ {% endcomment %}
59
+
60
+ {% comment %} Set config files
61
+ -------------------------------------------------------------------------------- {% endcomment %}
62
+ {% assign template_config = site.data.template_settings %}
63
+ {% assign blocks = site.data.blocks %}
64
+ {% assign modules = site.data.modules %}
65
+
66
+ {% comment %} Set config data
67
+ -------------------------------------------------------------------------------- {% endcomment %}
68
+ {% assign jekyll_search_defaults = modules.defaults.jekyll_search.defaults %}
69
+ {% assign jekyll_search_settings = modules.jekyll_search.settings %}
70
+
71
+ {% comment %} Set config options
72
+ -------------------------------------------------------------------------------- {% endcomment %}
73
+ {% assign jekyll_search_options = jekyll_search_defaults|merge: jekyll_search_settings %}
74
+ {% assign quick_search_config = site.data.modules.j1_jekyll_search %}
75
+
76
+ {% comment %} Set config data
77
+ -------------------------------------------------------------------------------- {% endcomment %}
78
+ {% assign result_target = quick_search_config.target %}
79
+ {% assign posts_num = site.posts.size %}
80
+
81
+ {% assign production = false %}
82
+ {% if environment == 'prod' or environment == 'production' %}
83
+ {% assign production = true %}
84
+ {% endif %}
85
+
86
+ {% comment %} Process 'pages' FIRST
87
+ -------------------------------------------------------------------------------- {% endcomment %}
88
+ {% for page in site.pages %}
89
+ {% if page.noindex %} {% continue %} {% endif %}
90
+ {% if page.url contains 'assets' or page.url contains '.json' or page.url contains '.txt' %} {% continue %} {% endif %}
91
+ {% if page.url contains '.html' %} {% continue %} {% endif %}
92
+ {% if page.url == '/'%} {% continue %} {% endif %}
93
+ {
94
+ "title": "{{page.title|escape}}",
95
+ "tagline": "{{page.tagline}}",
96
+ "content": "page",
97
+ {% if page.tags %}
98
+ "tags": "{{page.tags|join: ', '}}",
99
+ {% else %}
100
+ "tags": "",
101
+ {% endif %}
102
+ {% if page.index %}
103
+ "index": "{{page.index|join: ', '}}",
104
+ {% else %}
105
+ "index": "",
106
+ {% endif %}
107
+ {% if page.categories %}
108
+ "categories": "{{page.categories|join: ', '}}",
109
+ {% else %}
110
+ "categories": "",
111
+ {% endif %}
112
+ "date": "{{page.date}}",
113
+ "url": "{{site.baseurl}}{{page.url}}",
114
+ "target": "{{result_target}}",
115
+ {% if page.excerpt %}
116
+ "excerpt": "{{page.excerpt|newline_to_br|strip_html|strip|newline_to_space|replace:'"','\"'|truncatewords: jekyll_search_options.result_truncate|replace:'....','  ...'|replace:':...',' ...'}}"
117
+ {% else %}
118
+ "excerpt": "{{page.description|newline_to_br|strip_html|strip|newline_to_space|replace:'"','\"'|truncatewords: jekyll_search_options.result_truncate|replace:'....','  ...'|replace:':...',' ...'}}"
119
+ {% endif %}
120
+ },
121
+ {% endfor %}
122
+
123
+ {% comment %} Process 'posts'
124
+ -------------------------------------------------------------------------------- {% endcomment %}
125
+ {% for post in site.posts %}
126
+ {% if post.noindex %} {% continue %} {% endif %}
127
+ {
128
+ "title": "{{post.title|strip}}",
129
+ "tagline": "{{post.tagline|strip}}",
130
+ "content": "post",
131
+ {% if post.tags %}
132
+ "tags": "{{post.tags|join: ','}}",
133
+ {% else %}
134
+ "tags": "",
135
+ {% endif %}
136
+ {% if post.index %}
137
+ "index": "{{post.index|join: ','}}",
138
+ {% else %}
139
+ "index": "",
140
+ {% endif %}
141
+ {% if post.categories %}
142
+ "categories": "{{post.categories|join: ','}}",
143
+ {% else %}
144
+ "categories": "",
145
+ {% endif %}
146
+ "date": "{{post.date}}",
147
+ "url": "{{site.baseurl}}{{post.url}}",
148
+ "target": "{{result_target}}",
149
+ {% if post.excerpt %}
150
+ "excerpt": "{{post.excerpt|newline_to_br|strip_html|strip|newline_to_space| replace:'"','\"'|truncatewords: jekyll_search_options.result_truncate|replace:'....','  ...'|replace:':...','  ...'}}"
151
+ {% else %}
152
+ "excerpt": ""
153
+ {% endif %}
154
+ }{% if forloop.last %}{% else %},{% endif %}
155
+ {% endfor %}
156
+
157
+ {% endcapture %}
158
+ [
159
+ {% if production %}
160
+ {{cache|minifyJSON}}
161
+ {% else %}
162
+ {{cache|strip_empty_lines}}
163
+ {% endif %}
164
+ ]
165
+ {% assign cache = nil %}
@@ -1,5 +1,5 @@
1
1
  ---
2
- regenerate: true
2
+ regenerate: true
3
3
  ---
4
4
 
5
5
  {% capture cache %}
@@ -36,12 +36,13 @@ regenerate: true
36
36
 
37
37
  {% comment %} Set config files
38
38
  -------------------------------------------------------------------------------- {% endcomment %}
39
- {% assign site_config = site %}
40
39
  {% assign template_config = site.data.template_settings %}
41
40
  {% assign modules = site.data.modules %}
42
41
 
43
42
  {% comment %} Set config data
44
43
  -------------------------------------------------------------------------------- {% endcomment %}
44
+ {% assign environment = site.environment %}
45
+
45
46
  {% assign ssm_settings = modules.ssm.settings %}
46
47
  {% assign ssm_defaults = modules.defaults.ssm.defaults %}
47
48
 
@@ -86,10 +87,15 @@ regenerate: true
86
87
  {% assign ssm_menu_icon_size = size %}
87
88
  -------------------------------------------------------------------------------- {% endcomment %}
88
89
 
90
+ {% assign production = false %}
91
+ {% if environment == 'prod' or environment == 'production' %}
92
+ {% assign production = true %}
93
+ {% endif %}
94
+
89
95
  {% comment %} Main
90
96
  -------------------------------------------------------------------------------- {% endcomment %}
91
97
  <!-- [DEBUG ] [j1.modules.ssm_menu.html ] [collect all menu items] -->
92
- <ul id="{{ssm_options.menu_id}}" class="ssm-light-hover">
98
+ <ul id="{{ssm_options.menu_id}}" class="ssm-light-hover partial">
93
99
 
94
100
  {% for menu in ssm_menu_config %}
95
101
 
@@ -227,5 +233,10 @@ regenerate: true
227
233
  <!-- [INFO ] [j1.modules.ssm_menu.html ] [nav_menu_settings: end ssc container] -->
228
234
 
229
235
  {% endcapture %}
230
- {{cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines}}
236
+
237
+ {% if production %}
238
+ {% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
239
+ {% else %}
240
+ {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
241
+ {% endif %}
231
242
  {% assign cache = nil %}
@@ -1,8 +1,8 @@
1
1
  ---
2
- regenerate: false
2
+ regenerate: true
3
3
  ---
4
4
 
5
- {% capture j1_cache %}
5
+ {% capture cache %}
6
6
 
7
7
  {% comment %}
8
8
  # -----------------------------------------------------------------------------
@@ -29,12 +29,20 @@ regenerate: false
29
29
  # -----------------------------------------------------------------------------
30
30
  {% endcomment %}
31
31
 
32
+ {% comment %} Set config data
33
+ -------------------------------------------------------------------------------- {% endcomment %}
32
34
  {% assign environment = site.environment %}
33
- {% assign asset_path = site.data.template_settings.asset_path %}
35
+ {% assign asset_path = site.data.template_settings.asset_path %}
34
36
  {% assign custom_theme_config = site.data.template_settings.custom_theme %}
35
37
  {% assign custom_scss = custom_theme_config.custom_scss %}
38
+
36
39
  {% capture theme_path %}{{asset_path}}/modules/bs_theme_switcher/themes{% endcapture %}
37
40
 
41
+ {% assign production = false %}
42
+ {% if environment == 'prod' or environment == 'production' %}
43
+ {% assign production = true %}
44
+ {% endif %}
45
+
38
46
  {% if environment == 'development' %}
39
47
  {
40
48
  "themes":
@@ -54,6 +62,9 @@ regenerate: false
54
62
  {% endif %}
55
63
 
56
64
  {% endcapture %}
57
-
58
- {{ j1_cache | strip_empty_lines }}
59
- {% assign j1_cache = nil %}
65
+ {% if production %}
66
+ {{ cache | minifyJSON }}
67
+ {% else %}
68
+ {{ cache | strip_empty_lines }}
69
+ {% endif %}
70
+ {% assign cache = nil %}
@@ -1,3 +1,49 @@
1
+ ---
2
+ regenerate: false
3
+ ---
4
+
5
+ {% capture cache %}
6
+
7
+ {% comment %}
8
+ # -----------------------------------------------------------------------------
9
+ # ~/assets/data/twa_v1.json
10
+ # Liquid JSON template for ALL Twitter Emoji V1 icons used by
11
+ # Twitter Emoji Previewer
12
+ #
13
+ # Product/Info:
14
+ # http://jekyll.one
15
+ #
16
+ # Copyright (C) 2020 Juergen Adams
17
+ #
18
+ # J1 Template is licensed under the MIT License.
19
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
20
+ # -----------------------------------------------------------------------------
21
+ # NOTE:
22
+ # Be careful changing the Liquid code. If the code is changed, check
23
+ # the integrity of the JSON data created. Corrupted JSON data makes
24
+ # the Javascript of an Adapter|App to fail and no functionality will
25
+ # be available for most UNCLEAR reasons.
26
+ # -----------------------------------------------------------------------------
27
+ # Test data:
28
+ # {{ liquid_var | debug }}
29
+ # -----------------------------------------------------------------------------
30
+ {% endcomment %}
31
+
32
+ {% comment %} Process YML config data
33
+ ================================================================================ {% endcomment %}
34
+
35
+ {% comment %} Set config files
36
+ -------------------------------------------------------------------------------- {% endcomment %}
37
+
38
+ {% comment %} Set config data
39
+ -------------------------------------------------------------------------------- {% endcomment %}
40
+ {% assign environment = site.environment %}
41
+
42
+ {% assign production = false %}
43
+ {% if environment == 'prod' or environment == 'production' %}
44
+ {% assign production = true %}
45
+ {% endif %}
46
+
1
47
  [
2
48
  {
3
49
  "name": "smile",
@@ -6976,3 +7022,11 @@
6976
7022
  "base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIBAMAAACnw650AAAAG1BMVEUAAABVrO5VrO5VrO5VrO5VrO5VrO5VrO5VrO62E5ZzAAAACXRSTlMAQAAQv/+fz6/p+UjWAAAAv0lEQVR4Ae3UsW2EQBQE0LkWkFzAwekKuMS5JQpw8HFOCxYVuHFnDvYhkDY1E49eAPsn5sqV3IaxTcYm07ycl96r1rPStFVBRUgqQlIRkoqQVISkIiQVIakISUVIKkJSEZKKkFSEpCIkFSGpv9JcZGlLzyqzNqW3KvPZU3pUmY+mNG1Fvl5+AvJ98DGB/C1C/mAgn8o+5KMT8vkCeQhAxyf103+cnnn/YDg9/SPmHPYPqxPdP/bjfdgpmf9Wukq/Cd578evKOzUAAAAASUVORK5CYII="
6977
7023
  }
6978
7024
  ]
7025
+
7026
+ {% endcapture %}
7027
+ {% if production %}
7028
+ {{ cache | minifyJSON }}
7029
+ {% else %}
7030
+ {{ cache | strip_empty_lines }}
7031
+ {% endif %}
7032
+ {% assign cache = nil %}
@@ -1,5 +1,5 @@
1
1
  ---
2
- regenerate: false
2
+ regenerate: true
3
3
  ---
4
4
 
5
5
  {% capture cache %}
@@ -35,18 +35,22 @@ regenerate: false
35
35
 
36
36
  {% comment %} Set config files
37
37
  -------------------------------------------------------------------------------- {% endcomment %}
38
- {% assign site_config = site %}
39
38
  {% assign template_config = site.data.template_settings %}
40
39
  {% assign blocks = site.data.blocks %}
41
40
  {% assign modules = site.data.modules %}
42
41
 
43
42
  {% comment %} Set config data
44
43
  -------------------------------------------------------------------------------- {% endcomment %}
45
- {% assign algolia_config = site_config.algolia %}
44
+ {% assign algolia_config = site.algolia %}
46
45
 
47
46
  {% comment %} Set config options
48
47
  -------------------------------------------------------------------------------- {% endcomment %}
49
48
 
49
+ {% assign production = false %}
50
+ {% if environment == 'prod' or environment == 'production' %}
51
+ {% assign production = true %}
52
+ {% endif %}
53
+
50
54
  /*
51
55
  # -----------------------------------------------------------------------------
52
56
  # ~/assets/themes/j1/adapter/js/algolia.js
@@ -96,8 +100,15 @@ j1.adapter['algolia'] = (function (j1, window) {
96
100
  // Initializer
97
101
  // -------------------------------------------------------------------------
98
102
  init: function (options) {
103
+
104
+ // -----------------------------------------------------------------------
105
+ // globals
106
+ // -----------------------------------------------------------------------
107
+ _this = j1.adapter.algolia;
108
+ logger = log4javascript.getLogger('j1.adapter.algolia');
109
+
99
110
  // initialize state flag
100
- j1.adapter.algolia.state = 'pending';
111
+ _this.state = 'pending';
101
112
 
102
113
  // -----------------------------------------------------------------------
103
114
  // Default module settings
@@ -107,11 +118,6 @@ j1.adapter['algolia'] = (function (j1, window) {
107
118
  generated: '{{site.time}}'
108
119
  }, options);
109
120
 
110
- {% comment %} Set global variables
111
- -------------------------------------------------------------------------- {% endcomment %}
112
- _this = j1.adapter.algolia;
113
- logger = log4javascript.getLogger('j1.adapter.algolia');
114
-
115
121
  _this.setState('started');
116
122
  logger.info('state: ' + _this.getState());
117
123
  logger.info('module is being initialized');
@@ -267,7 +273,8 @@ j1.adapter['algolia'] = (function (j1, window) {
267
273
 
268
274
  _this.setState('finished');
269
275
  logger.info('state: ' + _this.getState());
270
- logger.info('initializing module finished');
276
+ logger.info('module initialized successfully');
277
+
271
278
  } else {
272
279
  $('#algolia-site-search').append('<p class="ml-5 mt-5 mb-5 "> <strong>Algolia Search DISABLED</strong> </p>');
273
280
  _this.setState('finished');
@@ -306,24 +313,28 @@ j1.adapter['algolia'] = (function (j1, window) {
306
313
  }, // END messageHandler
307
314
 
308
315
  // -------------------------------------------------------------------------
309
- // setState
310
- // Set the current (processing) state of the module
316
+ // setState()
317
+ // Sets the current (processing) state of the module
311
318
  // -------------------------------------------------------------------------
312
319
  setState: function (stat) {
313
- j1.adapter.algolia.state = stat;
320
+ _this.state = stat;
314
321
  }, // END setState
315
322
 
316
323
  // -------------------------------------------------------------------------
317
- // getState
324
+ // getState()
318
325
  // Returns the current (processing) state of the module
319
326
  // -------------------------------------------------------------------------
320
327
  getState: function () {
321
- return j1.adapter.algolia.state;
322
- } // END state
328
+ return _this.state;
329
+ } // END getState
323
330
 
324
331
  }; // END return
325
332
  })(j1, window);
326
333
 
327
334
  {% endcapture %}
328
- {{ cache | strip_empty_lines }}
335
+ {% if production %}
336
+ {{ cache | minifyJS }}
337
+ {% else %}
338
+ {{ cache | strip_empty_lines }}
339
+ {% endif %}
329
340
  {% assign cache = nil %}
@@ -1,5 +1,5 @@
1
1
  ---
2
- regenerate: true
2
+ regenerate: true
3
3
  ---
4
4
 
5
5
  {% capture cache %}
@@ -36,7 +36,6 @@ regenerate: true
36
36
 
37
37
  {% comment %} Set config files
38
38
  -------------------------------------------------------------------------------- {% endcomment %}
39
- {% assign site_config = site %}
40
39
  {% assign template_config = site.data.template_settings %}
41
40
  {% assign blocks = site.data.blocks %}
42
41
  {% assign modules = site.data.modules %}
@@ -50,6 +49,11 @@ regenerate: true
50
49
  -------------------------------------------------------------------------------- {% endcomment %}
51
50
  {% assign attic_options = attic_defaults | merge: attic_settings %}
52
51
 
52
+ {% assign production = false %}
53
+ {% if environment == 'prod' or environment == 'production' %}
54
+ {% assign production = true %}
55
+ {% endif %}
56
+
53
57
  /*
54
58
  # -----------------------------------------------------------------------------
55
59
  # ~/assets/themes/j1/adapter/js/attic.js
@@ -99,36 +103,28 @@ j1.adapter['attic'] = (function (j1, window) {
99
103
  // Initializer
100
104
  // -------------------------------------------------------------------------
101
105
  init: function (options) {
106
+
107
+ // -----------------------------------------------------------------------
108
+ // globals
109
+ // -----------------------------------------------------------------------
110
+ _this = j1.adapter.attic;
111
+ logger = log4javascript.getLogger('j1.adapter.attic');
112
+
102
113
  // initialize state flag
103
- j1.adapter.attic.state = 'pending';
114
+ _this.state = 'pending';
104
115
 
105
116
  // create seetings object from frontmatterOptions
106
117
  var frontmatterOptions = options != null ? $.extend({}, options) : {};
107
118
 
108
119
  // Save frontmatterOptions in the j1 namespace
109
120
  // to be used later by j1.template.init() to load the header
110
- j1.adapter.attic['frontmatterOptions'] = frontmatterOptions;
111
-
112
- {% comment %} Set global variables
113
- -------------------------------------------------------------------------- {% endcomment %}
114
- _this = j1.adapter.attic;
115
- logger = log4javascript.getLogger('j1.adapter.attic');
121
+ _this['frontmatterOptions'] = frontmatterOptions;
116
122
 
117
123
  _this.setState('started');
118
124
  logger.info('state: ' + _this.getState());
119
125
  logger.info('module is being initialized');
120
126
 
121
- {% comment %} Loading headers if j1.template.init() loaded all data objects
122
- -------------------------------------------------------------------------- {% endcomment %}
123
- var dependencies_met_attic_adapter = setInterval(function() {
124
- if (typeof j1.colors !== 'undefined' && typeof j1.fonts !== 'undefined') {
125
- _this.loadHeader(frontmatterOptions);
126
- // clear interval checking
127
- clearInterval(dependencies_met_attic_adapter);
128
- }
129
- }, 25); // END 'dataLoaded'
130
-
131
- return true;
127
+ _this.loadHeader(frontmatterOptions);
132
128
  }, // END init
133
129
 
134
130
  // -------------------------------------------------------------------------
@@ -136,7 +132,7 @@ j1.adapter['attic'] = (function (j1, window) {
136
132
  // -------------------------------------------------------------------------
137
133
  loadHeader: function () {
138
134
 
139
- var frontmatterOptions = j1.adapter.attic.frontmatterOptions;
135
+ var frontmatterOptions = _this.frontmatterOptions;
140
136
 
141
137
  {% comment %} Load data from header config (yaml data file)
142
138
  -------------------------------------------------------------------------- {% endcomment %}
@@ -236,6 +232,9 @@ j1.adapter['attic'] = (function (j1, window) {
236
232
  $('.attic-caption').html(badgeHTML).show();
237
233
  }
238
234
  }
235
+ _this.setState('finished');
236
+ logger.info('state: ' + _this.getState());
237
+ logger.info('module initialized successfully');
239
238
  });
240
239
 
241
240
  {% comment %} Detect how show should run (only once|infinite loop)
@@ -434,15 +433,23 @@ j1.adapter['attic'] = (function (j1, window) {
434
433
 
435
434
  {% comment %} Resolve symbolic color names
436
435
  -------------------------------------------------------------------- {% endcomment %}
437
- atticOptions.title_color = j1.setColorData(atticOptions.title_color);
438
- atticOptions.tagline_color = j1.setColorData(atticOptions.tagline_color);
439
- atticOptions.background_color_1 = j1.setColorData(atticOptions.background_color_1);
440
- atticOptions.background_color_2 = j1.setColorData(atticOptions.background_color_2);
436
+ // atticOptions.title_color = j1.setColorData(atticOptions.title_color);
437
+ // atticOptions.tagline_color = j1.setColorData(atticOptions.tagline_color);
438
+ // atticOptions.background_color_1 = j1.setColorData(atticOptions.background_color_1);
439
+ // atticOptions.background_color_2 = j1.setColorData(atticOptions.background_color_2);
440
+
441
+ atticOptions.title_color = atticOptions.title_color;
442
+ atticOptions.tagline_color = atticOptions.tagline_color;
443
+ atticOptions.background_color_1 = atticOptions.background_color_1;
444
+ atticOptions.background_color_2 = atticOptions.background_color_2;
441
445
 
442
446
  {% comment %} Resolve symbolic font sizes names
443
447
  -------------------------------------------------------------------- {% endcomment %}
444
- atticOptions.title_size = j1.setFontSize(atticOptions.title_size);
445
- atticOptions.tagline_size = j1.setFontSize(atticOptions.tagline_size);
448
+ // atticOptions.title_size = j1.setFontSize(atticOptions.title_size);
449
+ // atticOptions.tagline_size = j1.setFontSize(atticOptions.tagline_size);
450
+
451
+ atticOptions.title_size = atticOptions.title_size;
452
+ atticOptions.tagline_size = atticOptions.tagline_size;
446
453
 
447
454
  {% comment %} Add header CSS classes
448
455
  -------------------------------------------------------------------- {% endcomment %}
@@ -462,12 +469,12 @@ j1.adapter['attic'] = (function (j1, window) {
462
469
  var attic_style = '';
463
470
 
464
471
  // Initialze header background gradient
465
- attic_style += '<style> .attic { ';
466
- attic_style += 'background-image: -webkit-gradient(linear, left top, left bottom, from(' +atticOptions.background_color_1+ '), to(' +atticOptions.background_color_2+ '));';
467
- attic_style += 'background-image: -webkit-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
468
- attic_style += 'background-image: -o-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
469
- attic_style += 'background-image: linear-gradient(to bottom, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
470
- attic_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +atticOptions.background_color_1+ '", endColorstr="' +atticOptions.background_color_2+ '", GradientType=0);';
472
+ attic_style += '<style> .attic { '
473
+ attic_style += 'background-image: -webkit-gradient(linear, left top, left bottom, from(' +atticOptions.background_color_1+ '), to(' +atticOptions.background_color_2+ ')) !important;';
474
+ attic_style += 'background-image: -webkit-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%) !important;';
475
+ attic_style += 'background-image: -o-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%) !important;';
476
+ attic_style += 'background-image: linear-gradient(to bottom, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%) !important;';
477
+ attic_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +atticOptions.background_color_1+ '", endColorstr="' +atticOptions.background_color_2+ '", GradientType=0) !important;';
471
478
  attic_style += '} </style>';
472
479
  $('head').append(attic_style);
473
480
 
@@ -541,24 +548,28 @@ j1.adapter['attic'] = (function (j1, window) {
541
548
  }, // END messageHandler
542
549
 
543
550
  // -------------------------------------------------------------------------
544
- // setState
545
- // Set the current (processing) state of the module
551
+ // setState()
552
+ // Sets the current (processing) state of the module
546
553
  // -------------------------------------------------------------------------
547
554
  setState: function (stat) {
548
- j1.adapter.attic.state = stat;
555
+ _this.state = stat;
549
556
  }, // END setState
550
557
 
551
558
  // -------------------------------------------------------------------------
552
- // getState
559
+ // getState()
553
560
  // Returns the current (processing) state of the module
554
561
  // -------------------------------------------------------------------------
555
562
  getState: function () {
556
- return j1.adapter.attic.state;
557
- } // END state
563
+ return _this.state;
564
+ } // END getState
558
565
 
559
566
  }; // END return
560
567
  })(j1, window);
561
568
 
562
569
  {% endcapture %}
563
- {{ cache | strip_empty_lines }}
570
+ {% if production %}
571
+ {{ cache | minifyJS }}
572
+ {% else %}
573
+ {{ cache | strip_empty_lines }}
574
+ {% endif %}
564
575
  {% assign cache = nil %}