j1-template 2020.0.11 → 2020.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) 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/links_box.proc +1 -1
  4. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +3 -2
  5. data/_includes/themes/j1/layouts/content_generator_collection.html +3 -1
  6. data/_includes/themes/j1/layouts/content_generator_page.html +3 -1
  7. data/_includes/themes/j1/layouts/content_generator_post.html +12 -11
  8. data/_includes/themes/j1/layouts/layout_metadata_generator.html +141 -4
  9. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +6 -9
  10. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +9 -6
  11. data/_includes/themes/j1/modules/connectors/ads +3 -6
  12. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +3 -3
  13. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +7 -7
  14. data/assets/data/authclient.html +19 -8
  15. data/assets/data/banner.html +24 -23
  16. data/assets/data/carousel.json +31 -21
  17. data/assets/data/cookie_consent.html +81 -52
  18. data/assets/data/footer.html +15 -5
  19. data/assets/data/galleries.json +91 -81
  20. data/assets/data/gallery_customizer.html +20 -10
  21. data/assets/data/mdi_icons.json +56 -1
  22. data/assets/data/menu.html +14 -6
  23. data/assets/data/mmenu.html +47 -93
  24. data/assets/data/mmenu_sidebar.html +41 -44
  25. data/assets/data/mmenu_toc.html +20 -3
  26. data/assets/data/panel.html +35 -22
  27. data/assets/data/quicklinks.html +15 -3
  28. data/assets/data/{search.yml → search.json} +36 -28
  29. data/assets/data/ssm.html +14 -2
  30. data/assets/data/themes.json +17 -6
  31. data/assets/data/twa_v1.json +7035 -6978
  32. data/assets/themes/j1/adapter/js/algolia.js +13 -2
  33. data/assets/themes/j1/adapter/js/attic.js +35 -15
  34. data/assets/themes/j1/adapter/js/carousel.js +12 -2
  35. data/assets/themes/j1/adapter/js/clipboard.js +232 -0
  36. data/assets/themes/j1/adapter/js/cookie_consent.js +13 -4
  37. data/assets/themes/j1/adapter/js/framer.js +10 -2
  38. data/assets/themes/j1/adapter/js/gallery_customizer.js +11 -2
  39. data/assets/themes/j1/adapter/js/j1.js +300 -681
  40. data/assets/themes/j1/adapter/js/{justified_gallery.js → jf_gallery.js} +14 -5
  41. data/assets/themes/j1/adapter/js/lightbox.js +11 -2
  42. data/assets/themes/j1/adapter/js/logger.js +11 -2
  43. data/assets/themes/j1/adapter/js/mdb.js +167 -0
  44. data/assets/themes/j1/adapter/js/mmenu.js +13 -3
  45. data/assets/themes/j1/adapter/js/navigator.js +73 -74
  46. data/assets/themes/j1/adapter/js/searcher.js +12 -2
  47. data/assets/themes/j1/adapter/js/ssm.js +33 -9
  48. data/assets/themes/j1/adapter/js/themer.js +26 -51
  49. data/assets/themes/j1/adapter/js/toccer.js +19 -12
  50. data/assets/themes/j1/core/css/theme_extensions.css +85 -1241
  51. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  52. data/assets/themes/j1/core/css/uno.css +110 -1256
  53. data/assets/themes/j1/core/css/uno.min.css +1 -1
  54. data/assets/themes/j1/core/css/vendor.css +1 -55
  55. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  56. data/assets/themes/j1/core/js/template.js +12 -82
  57. data/assets/themes/j1/core/js/template.js.map +1 -1
  58. data/assets/themes/j1/core/js/template.min.js +1 -1
  59. data/assets/themes/j1/extensions/bsDatepicker/css/datepicker.css +203 -0
  60. data/assets/themes/j1/extensions/bsDatepicker/css/theme/uno.css +235 -0
  61. data/assets/themes/j1/extensions/bsDatepicker/js/datepicker.js +509 -0
  62. data/assets/themes/j1/extensions/bsDatepicker/less/datepicker.less +122 -0
  63. data/assets/themes/j1/extensions/bsThemeSwitcher/js/switcher.js +425 -0
  64. data/assets/themes/j1/extensions/bsThemeSwitcher/js/switcher.min.js +20 -0
  65. data/assets/themes/j1/extensions/clipboard/LICENSE +20 -0
  66. data/assets/themes/j1/extensions/clipboard/css/theme/uno.css +52 -0
  67. data/assets/themes/j1/extensions/clipboard/css/theme/uno.min.css +52 -0
  68. data/assets/themes/j1/extensions/clipboard/js/clipboard.js +975 -0
  69. data/assets/themes/j1/extensions/clipboard/js/clipboard.min.js +7 -0
  70. data/assets/themes/j1/extensions/{iconify → iconifyAPI}/js/iconify.min.js +0 -0
  71. data/assets/themes/j1/extensions/iframeResizer/LICENSE +21 -0
  72. data/assets/themes/j1/extensions/iframeResizer/examples/frame.absolute.html +127 -0
  73. data/assets/themes/j1/extensions/iframeResizer/examples/frame.content.html +157 -0
  74. data/assets/themes/j1/extensions/iframeResizer/examples/frame.hover.html +68 -0
  75. data/assets/themes/j1/extensions/iframeResizer/examples/frame.nested.html +100 -0
  76. data/assets/themes/j1/extensions/iframeResizer/examples/frame.textarea.html +45 -0
  77. data/assets/themes/j1/extensions/iframeResizer/examples/frame.tolerance.html +113 -0
  78. data/assets/themes/j1/extensions/iframeResizer/examples/index.html +83 -0
  79. data/assets/themes/j1/extensions/iframeResizer/examples/two.html +88 -0
  80. data/assets/themes/j1/extensions/iframeResizer/js/client/iframeResizer.contentWindow.js +1288 -0
  81. data/assets/themes/j1/extensions/iframeResizer/js/client/iframeResizer.contentWindow.map +1 -0
  82. data/assets/themes/j1/extensions/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -0
  83. data/assets/themes/j1/extensions/iframeResizer/js/iframeResizer.js +1390 -0
  84. data/assets/themes/j1/extensions/iframeResizer/js/iframeResizer.map +1 -0
  85. data/assets/themes/j1/extensions/iframeResizer/js/iframeResizer.min.js +9 -0
  86. data/assets/themes/j1/extensions/jqMouseWheel/README.md +76 -0
  87. data/assets/themes/j1/extensions/jqMouseWheel/js/jquery.mousewheel.js +221 -0
  88. data/assets/themes/j1/extensions/jqMouseWheel/js/jquery.mousewheel.min.js +9 -0
  89. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/LICENSE +0 -0
  90. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/README.md +0 -0
  91. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  92. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  93. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/css/theme/uno.css +0 -0
  94. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  95. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  96. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  97. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/less/.csslintrc +0 -0
  98. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  99. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  100. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  101. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/css/theme/uno.css +0 -0
  102. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  103. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  104. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/justifiedGallery.css +0 -0
  105. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/justifiedGallery.min.css +0 -0
  106. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/theme/uno.css +0 -0
  107. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/theme/uno.min.css +0 -0
  108. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/js/justifiedGallery.js +0 -0
  109. data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/js/justifiedGallery.min.js +0 -0
  110. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-fb-comment-box.css +0 -0
  111. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-fb-comment-box.min.css +0 -0
  112. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-transitions.css +0 -0
  113. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-transitions.min.css +0 -0
  114. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lightgallery.css +0 -0
  115. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lightgallery.min.css +0 -0
  116. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.eot +0 -0
  117. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.svg +0 -0
  118. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.ttf +0 -0
  119. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.woff +0 -0
  120. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/loading.gif +0 -0
  121. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/video-play.png +0 -0
  122. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/vimeo-play.png +0 -0
  123. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/youtube-play.png +0 -0
  124. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/animation-w.png +0 -0
  125. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/customize-w.png +0 -0
  126. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/dynamic-w.png +0 -0
  127. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/facebook-icon.svg +0 -0
  128. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/googleplus-icon.svg +0 -0
  129. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/html5-w.png +0 -0
  130. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/linked-in.png +0 -0
  131. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/module-w.png +0 -0
  132. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/play-button.png +0 -0
  133. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/responsive-w.png +0 -0
  134. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/thumb-w.png +0 -0
  135. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/touch-w.png +0 -0
  136. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/twitter-icon.svg +0 -0
  137. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/twitter.png +0 -0
  138. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/video1-w.png +0 -0
  139. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/zoom-w.png +0 -0
  140. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/zoom.png +0 -0
  141. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/uno.css +1 -1
  142. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/uno.min.css +1 -1
  143. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/core/lightgallery.js +0 -0
  144. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/core/lightgallery.min.js +0 -0
  145. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/j1/j1-video.js +0 -0
  146. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/j1/j1-video.min.js +0 -0
  147. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-autoplay.js +0 -0
  148. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-autoplay.min.js +0 -0
  149. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-fullscreen.js +0 -0
  150. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-fullscreen.min.js +0 -0
  151. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-hash.js +0 -0
  152. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-hash.min.js +0 -0
  153. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-pager.js +0 -0
  154. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-pager.min.js +0 -0
  155. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-share.js +0 -0
  156. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-share.min.js +0 -0
  157. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-thumbnail.js +0 -0
  158. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-thumbnail.min.js +0 -0
  159. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-video.js +0 -0
  160. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-video.min.js +0 -0
  161. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-zoom.js +0 -0
  162. data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-zoom.min.js +0 -0
  163. data/assets/themes/j1/extensions/lightbox/LICENSE +22 -0
  164. data/assets/themes/j1/extensions/lightbox/css/lightbox.css +224 -0
  165. data/assets/themes/j1/extensions/lightbox/css/lightbox.min.css +21 -0
  166. data/assets/themes/j1/extensions/lightbox/css/theme/uno.css +25 -0
  167. data/assets/themes/j1/extensions/lightbox/css/theme/uno.min.css +26 -0
  168. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/close.png +0 -0
  169. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/loading.gif +0 -0
  170. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/next.png +0 -0
  171. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/prev.png +0 -0
  172. data/assets/themes/j1/extensions/lightbox/js/lightbox.js +583 -0
  173. data/assets/themes/j1/extensions/lightbox/js/lightbox.min.js +35 -0
  174. data/assets/themes/j1/extensions/mmenuLight/css/mmenu.css +392 -0
  175. data/assets/themes/j1/extensions/mmenuLight/css/mmenu.min.css +393 -0
  176. data/assets/themes/j1/extensions/mmenuLight/css/theme/uno.css +170 -0
  177. data/assets/themes/j1/extensions/mmenuLight/css/theme/uno.min.css +169 -0
  178. data/assets/themes/j1/extensions/mmenuLight/js/mmenu.js +30 -0
  179. data/assets/themes/j1/extensions/noUISlider/LICENSE +13 -0
  180. data/assets/themes/j1/extensions/noUISlider/css/nouislider.css +260 -0
  181. data/assets/themes/j1/extensions/noUISlider/css/nouislider.min.css +1 -0
  182. data/assets/themes/j1/extensions/noUISlider/js/nouislider.js +2312 -0
  183. data/assets/themes/j1/extensions/noUISlider/js/nouislider.min.js +3 -0
  184. data/assets/themes/j1/extensions/twemoji/js/LICENSE +21 -0
  185. data/assets/themes/j1/extensions/twemoji/js/picker/LICENSE +21 -0
  186. data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.js +21 -0
  187. data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.min.js +21 -0
  188. data/assets/themes/j1/extensions/twemoji/js/twemoji.js +590 -0
  189. data/assets/themes/j1/extensions/twemoji/js/twemoji.min.js +25 -0
  190. data/lib/j1/version.rb +1 -1
  191. data/lib/starter_web/Gemfile +7 -1
  192. data/lib/starter_web/_config.yml +9 -8
  193. data/lib/starter_web/_data/_defaults/resources.yml +13 -13
  194. data/lib/starter_web/_data/blocks/banner.yml +21 -29
  195. data/lib/starter_web/_data/blocks/footer.yml +10 -3
  196. data/lib/starter_web/_data/blocks/panel.yml +13 -13
  197. data/lib/starter_web/_data/layouts/default.yml +10 -0
  198. data/lib/starter_web/_data/layouts/home.yml +7 -7
  199. data/lib/starter_web/_data/layouts/page.yml +15 -16
  200. data/lib/starter_web/_data/modules/advertising.yml +48 -0
  201. data/lib/starter_web/_data/modules/attics.yml +2 -38
  202. data/lib/starter_web/_data/modules/cookie_consent.yml +3 -95
  203. data/lib/starter_web/_data/modules/defaults/attics.yml +16 -15
  204. data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +75 -12
  205. data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +9 -9
  206. data/lib/starter_web/_data/modules/defaults/navigator.yml +54 -20
  207. data/lib/starter_web/_data/modules/jekyll_search.yml +1 -20
  208. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  209. data/lib/starter_web/_data/modules/themer.yml +2 -3
  210. data/lib/starter_web/_data/resources.yml +239 -111
  211. data/lib/starter_web/_data/template_settings.yml +87 -4
  212. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  213. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +2 -2
  214. data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +2 -2
  215. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +2 -2
  216. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +2 -2
  217. data/lib/starter_web/_plugins/minifyJS.rb +54 -0
  218. data/lib/starter_web/_plugins/minifyJSON.rb +47 -0
  219. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
  220. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
  221. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
  222. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
  223. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  224. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
  225. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
  226. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
  227. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
  228. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
  229. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
  230. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
  231. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
  232. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
  233. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
  234. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
  235. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
  236. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
  237. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
  238. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  239. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
  240. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
  241. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
  242. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
  243. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
  244. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  245. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
  246. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
  247. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
  248. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
  249. data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
  250. data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
  251. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  252. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  253. data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
  254. data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
  255. data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
  256. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  257. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
  258. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  259. data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
  260. data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
  261. data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
  262. data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
  263. data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
  264. data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
  265. data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
  266. data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
  267. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
  268. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
  269. data/lib/starter_web/index.html +9 -8
  270. data/lib/starter_web/package.json +1 -1
  271. data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +221 -0
  272. data/lib/starter_web/pages/public/learn/examples/floating_div.adoc +33 -1
  273. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  274. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  275. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -1
  276. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +35 -44
  277. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +39 -39
  278. data/lib/starter_web/pages/public/learn/whats_up.adoc +1 -0
  279. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +3 -5
  280. data/lib/starter_web/pages/public/previewer/iframer.adoc +15 -14
  281. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  282. data/lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc +2 -2
  283. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +2 -2
  284. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  285. data/lib/starter_web/utilsrv/package.json +1 -1
  286. metadata +143 -103
  287. data/assets/data/colors.json +0 -42
  288. data/assets/data/font_sizes.json +0 -42
  289. data/assets/data/messages.yml +0 -131
  290. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -86
  291. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -58
  292. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -51
  293. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -68
  294. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -46
  295. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -79
  296. data/assets/themes/j1/extensions/iframe_resizer/examples/index.html +0 -70
  297. data/assets/themes/j1/extensions/iframe_resizer/examples/two.html +0 -71
  298. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -1104
  299. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -1
  300. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -10
  301. data/assets/themes/j1/extensions/log4javascript/log4javascript.js +0 -5826
  302. data/assets/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -266
  303. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.png +0 -0
  304. data/lib/starter_web/assets/images/modules/attics/mae-mu-Vf9gbsLZyf0-unsplash.jpg +0 -0
  305. data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
  306. data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
@@ -102,12 +102,12 @@
102
102
  </div>
103
103
  </div>
104
104
  <!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ add search panel (hidden) ] -->
105
- <div class="row">
105
+ <div class="row no-gutters ml-3 mr-5">
106
106
  <!-- div class="card card-flat panel-search mr-5 mb-3 ml-5" id="jss-panel" style="display: none" -->
107
- <div class="panel-search mr-5 mb-3 col-lg-9" id="jss-panel" style="display: none">
107
+ <div class="panel-search mb-3" id="jss-panel" style="display: none">
108
108
  {% if search_heading_lead %}<div class="panel-heading lead">{{ search_heading_lead }}</div>{% endif %}
109
109
  {% if result_heading_lead %}<div class="panel-body"><p>{{ result_heading_lead }}</p></div>{% endif %}
110
- <div class="search-list-group mr-5 ml-2">
110
+ <div class="search-list-group">
111
111
  <ul id="jss-results"></ul>
112
112
  </div>
113
113
  </div>
@@ -1,4 +1,4 @@
1
- {% comment %}
1
+ {% comment %}
2
2
  # -----------------------------------------------------------------------------
3
3
  # ~/_includes/themes/j1/procedures/posts/collate_timeline.proc
4
4
  # Liquid PROCEDURE to collate posts along a timeline
@@ -146,8 +146,8 @@
146
146
  <div class="card-footer">
147
147
  <a href="{{post.url}}#readmore"
148
148
  class="btn btn-primary btn-raised mb-0">
149
- <i class="fa fa-eye fa-lg" style="color:#FFFFFF;">
150
- </i> Read More
149
+ <i class="fa fa-eye fa-lg mr-1" style="color:#FFFFFF;">
150
+ </i> Read · {{post.tagline}}
151
151
  </a>
152
152
  </div>
153
153
  </div>
@@ -167,8 +167,8 @@
167
167
  <div class="card-footer">
168
168
  <a href="{{post.url}}#readmore"
169
169
  class="btn btn-primary btn-raised mb-0">
170
- <i class="fa fa-eye fa-lg" style="color:#FFFFFF;">
171
- </i> Read More
170
+ <i class="fa fa-eye fa-lg mr-1" style="color:#FFFFFF;">
171
+ </i> Read · {{post.tagline}}
172
172
  </a>
173
173
  </div>
174
174
  </div>
@@ -185,8 +185,8 @@
185
185
  <div class="card-footer">
186
186
  <a href="{{post.url}}#readmore"
187
187
  class="btn btn-primary btn-raised mb-0">
188
- <i class="fa fa-eye fa-lg" style="color:#FFFFFF;">
189
- </i> Read More
188
+ <i class="fa fa-eye fa-lg mr-1" style="color:#FFFFFF;">
189
+ </i> Read · {{post.tagline}}
190
190
  </a>
191
191
  </div>
192
192
  </div>
@@ -1,5 +1,5 @@
1
1
  ---
2
- regenerate: false
2
+ regenerate: true
3
3
  ---
4
4
  {% capture cache %}
5
5
 
@@ -30,6 +30,7 @@ regenerate: false
30
30
 
31
31
  {% comment %} Set config files
32
32
  -------------------------------------------------------------------------------- {% endcomment %}
33
+ {% assign site_config = site %}
33
34
  {% assign template_config = site.data.template_settings %}
34
35
  {% assign blocks = site.data.blocks %}
35
36
  {% assign modules = site.data.modules %}
@@ -42,6 +43,7 @@ regenerate: false
42
43
 
43
44
  {% comment %} Set config data
44
45
  -------------------------------------------------------------------------------- {% endcomment %}
46
+ {% assign environment = site_config.environment %}
45
47
  {% assign nav_authclient_defaults = authentication_defaults.auth_client %}
46
48
  {% assign nav_authclient_settings = authentication_settings.auth_client %}
47
49
 
@@ -57,7 +59,12 @@ regenerate: false
57
59
  {% comment %} Liquid var initialization
58
60
  -------------------------------------------------------------------------------- {% endcomment %}
59
61
 
60
- {% comment %} Set auth_client properties
62
+ {% assign production = '' %}
63
+ {% if environment == 'prod' or environment == 'production' %}
64
+ {% assign production = true %}
65
+ {% endif %}
66
+
67
+ {% comment %} Set auth_client properties
61
68
  -------------------------------------------------------------------------------- {% endcomment %}
62
69
  {% assign icon_family = authclient_options.icon_family | downcase %}
63
70
  {% assign signin_icon = authclient_options.signin_icon %}
@@ -104,7 +111,7 @@ regenerate: false
104
111
  {% assign auth_twitter_enabled = false %}
105
112
  {% endif %}
106
113
 
107
- {% if providers contains 'patreon' %}
114
+ {% if providers contains 'patreon' %}
108
115
  {% assign auth_patreon_enabled = true %}
109
116
  {% assign auth_patreon_id = authclient_options.auth_patreon.id %}
110
117
  {% assign auth_patreon_title = authclient_options.auth_patreon.title | downcase %}
@@ -135,7 +142,7 @@ regenerate: false
135
142
  <!-- [INFO ] [j1.authclient.html ] [START: Modal signin|signup] -->
136
143
  <div class="modal fade" id="modalOmniSignIn" tabindex="-1" role="dialog" aria-labelledby="modalOmniSignIn" aria-hidden="true">
137
144
  <div class="modal-dialog modal-lg modal-notify modal-info" role="document">
138
-
145
+
139
146
  <!-- Content -->
140
147
  <div class="modal-content">
141
148
 
@@ -209,7 +216,7 @@ regenerate: false
209
216
 
210
217
  {% endfor %}
211
218
  </ul>
212
-
219
+
213
220
  <div class="tab-content tab-space">
214
221
  {% for provider in providers %}
215
222
 
@@ -265,7 +272,7 @@ regenerate: false
265
272
  <div class="modal-dialog modal-lg modal-notify modal-warning" role="document">
266
273
  <!-- Content -->
267
274
  <div class="modal-content">
268
-
275
+
269
276
  <!--Header-->
270
277
  <div class="modal-header">
271
278
  <p class="lead">
@@ -314,7 +321,7 @@ regenerate: false
314
321
  </a>
315
322
  </div>
316
323
 
317
- </div> <!-- END Content -->
324
+ </div> <!-- END Content -->
318
325
  </div>
319
326
  </div> <!-- Modal SignOut -->
320
327
 
@@ -369,5 +376,9 @@ regenerate: false
369
376
 
370
377
  {% endcapture %}
371
378
 
372
- {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
379
+ {% if production %}
380
+ {% 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 %}
381
+ {% else %}
382
+ {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
383
+ {% endif %}
373
384
  {% assign cache = nil %}
@@ -1,5 +1,5 @@
1
1
  ---
2
- regenerate: true
2
+ regenerate: true
3
3
  ---
4
4
  {% capture cache %}
5
5
 
@@ -32,8 +32,9 @@ regenerate: true
32
32
 
33
33
  {% comment %} Set global settings
34
34
  -------------------------------------------------------------------------------- {% endcomment %}
35
- {% assign environment = site.environment %}
36
- {% assign debug = false %}
35
+ {% assign site_config = site %}
36
+ {% assign environment = site_config.environment %}
37
+ {% assign debug = false %}
37
38
 
38
39
 
39
40
  {% comment %} Process YML config data
@@ -59,6 +60,10 @@ regenerate: true
59
60
  -------------------------------------------------------------------------------- {% endcomment %}
60
61
  {% capture banner_config_file_name %}~/_data/blocks/banner.yml{% endcapture %}
61
62
 
63
+ {% assign production = '' %}
64
+ {% if environment == 'prod' or environment == 'production' %}
65
+ {% assign production = true %}
66
+ {% endif %}
62
67
 
63
68
  {% comment %} Main
64
69
  ================================================================================ {% endcomment %}
@@ -187,32 +192,24 @@ regenerate: true
187
192
  {% if card_animate %} {% capture animate %}animated {{card_animate}}{% endcapture %} {% endif %}
188
193
  <!-- Heading -->
189
194
  <div class="row">
190
- <div class="col-lg-9">
191
- <div class="{{animate}}">
192
- <h1 class="g-font-weight-500 g-mb-0">{{card_title}}</h1>
193
- <p class="tagline">{{card_tagline}}</p>
194
- <div class="d-inline-block g-width-50 g-height-2 g-bg-primary g-mb-5"></div>
195
- </div>
195
+ <div class="{{animate}}">
196
+ <h1 class="g-font-weight-500 g-mb-0">{{card_title}}</h1>
197
+ <p class="tagline">{{card_tagline}}</p>
198
+ <div class="d-inline-block g-width-50 g-height-2 g-bg-primary g-mb-5"></div>
196
199
  </div>
197
200
  </div>
198
201
  <!-- End Heading -->
199
202
 
200
203
  <!-- Card -->
201
204
  <div class="row {{animate}}">
202
- <div class="col-lg-9">
203
-
204
- <!-- p class="lead">{{card_description|asciidocify}}</p -->
205
- <!-- p class="lead">{{card_description}}</p -->
206
- <p class="">{{card_description}}</p>
207
- <div class="row btn-row mt-4">
208
- <div class="col-md-{{card_width_md}} col-md-offset-1 col-sm-{{card_width_md}} col-sm-offset-1 col-xs-{{card_width_md | plus:2}}">
209
- {% for button_hash in card_buttons %}
210
- {% include {{create_bs_button}} button_data=button_hash button_type="link" %}
211
- {{bs_button_html}}
212
- {% endfor %}
213
- </div>
205
+ <p class="">{{card_description}}</p>
206
+ <div class="row btn-row mt-4">
207
+ <div class="col-md-{{card_width_md}} col-md-offset-1 col-sm-{{card_width_md}} col-sm-offset-1 col-xs-{{card_width_md | plus:2}}">
208
+ {% for button_hash in card_buttons %}
209
+ {% include {{create_bs_button}} button_data=button_hash button_type="link" %}
210
+ {{bs_button_html}}
211
+ {% endfor %}
214
212
  </div>
215
-
216
213
  </div>
217
214
  </div>
218
215
  <!-- End Card -->
@@ -428,5 +425,9 @@ regenerate: true
428
425
 
429
426
  {% endcapture %}
430
427
 
431
- {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
428
+ {% if production %}
429
+ {% 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 %}
430
+ {% else %}
431
+ {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
432
+ {% endif %}
432
433
  {% assign cache = nil %}
@@ -1,8 +1,8 @@
1
1
  ---
2
- regenerate: true
2
+ regenerate: true
3
3
  ---
4
4
 
5
- {% capture j1_cache %}
5
+ {% capture cache %}
6
6
 
7
7
  {% comment %}
8
8
  # -----------------------------------------------------------------------------
@@ -17,24 +17,22 @@ regenerate: true
17
17
  # J1 Template is licensed under the MIT License.
18
18
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
19
19
  # -----------------------------------------------------------------------------
20
+ # The Liquid template sliders.json is used by J1 Slider (Owl Carousel).
21
+ # This template is a helper that creates the carousel (JSON) data
22
+ # for all sliders configured (if enabled or NOT). It's used by
23
+ # the J1 Template Adapter to LOAD the carousel HTML markup portion
24
+ # via AJAX get.
20
25
  #
21
- # The Liquid template sliders.json is used by J1 Slider (Owl Carousel).
22
- # This template is a helper that creates the carousel (JSON) data
23
- # for all sliders configured (if enabled or NOT). It's used by
24
- # the J1 Template Adapter to LOAD the carousel HTML markup portion
25
- # via AJAX get.
26
- #
27
- # The Liquid template engine generates a JSON file as an object of
28
- # arrays that contains all image data used by several sliders. See
29
- # below the fields taken from the YAML data file:
30
- # ~/_data/apps/j1_carousel.yml.
31
- #
32
- # NOTE:
33
- # Be careful changing the Liquid code. If the code is changed, check
34
- # the integrity of the JSON data created. Corrupted JSON data makes
35
- # the Javascript of an Adapter to fail and no functionality will
36
- # be available for most UNCLEAR reasons.
37
- #
26
+ # The Liquid template engine generates a JSON file as an object of
27
+ # arrays that contains all image data used by several sliders. See
28
+ # below the fields taken from the YAML data file:
29
+ # ~/_data/apps/j1_carousel.yml.
30
+ # -----------------------------------------------------------------------------
31
+ # NOTE:
32
+ # Be careful changing the Liquid code. If the code is changed, check
33
+ # the integrity of the JSON data created. Corrupted JSON data makes
34
+ # the Javascript of an Adapter to fail and no functionality will
35
+ # be available for most UNCLEAR reasons.
38
36
  # -----------------------------------------------------------------------------
39
37
  # Test data:
40
38
  # {{ liquid_var | debug }}
@@ -46,10 +44,13 @@ regenerate: true
46
44
 
47
45
  {% comment %} Set config files
48
46
  -------------------------------------------------------------------------------- {% endcomment %}
47
+ {% assign site_config = site %}
49
48
  {% assign apps = site.data.apps %}
50
49
 
51
50
  {% comment %} Set config data
52
51
  -------------------------------------------------------------------------------- {% endcomment %}
52
+ {% assign environment = site_config.environment %}
53
+
53
54
  {% assign carousel_config_defaults = apps.defaults.carousel.defaults %}
54
55
  {% assign carousel_config_settings = apps.carousel.settings %}
55
56
 
@@ -57,6 +58,11 @@ regenerate: true
57
58
  -------------------------------------------------------------------------------- {% endcomment %}
58
59
  {% assign carousel_config = carousel_config_defaults | merge: carousel_config_settings %}
59
60
 
61
+ {% assign production = false %}
62
+ {% if environment == 'prod' or environment == 'production' %}
63
+ {% assign production = true %}
64
+ {% endif %}
65
+
60
66
  {
61
67
  {% for item in carousel_config.carousel %}
62
68
  "{{item.show.id}}" : [
@@ -105,5 +111,9 @@ regenerate: true
105
111
  }
106
112
 
107
113
  {% endcapture %}
108
- {{ j1_cache | strip_empty_lines }}
109
- {% assign j1_cache = nil %}
114
+ {% if production %}
115
+ {{ cache | minifyJSON }}
116
+ {% else %}
117
+ {{ cache | strip_empty_lines }}
118
+ {% endif %}
119
+ {% assign cache = nil %}
@@ -1,5 +1,5 @@
1
1
  ---
2
- regenerate: true
2
+ regenerate: true
3
3
  ---
4
4
 
5
5
  {% capture cache %}
@@ -31,7 +31,8 @@ regenerate: true
31
31
 
32
32
  {% comment %} Set global settings
33
33
  -------------------------------------------------------------------------------- {% endcomment %}
34
- {% assign environment = site.environment %}
34
+ {% assign site_config = site %}
35
+ {% assign environment = site_config.environment %}
35
36
 
36
37
 
37
38
  {% comment %} Process YML config data
@@ -46,6 +47,10 @@ regenerate: true
46
47
  -------------------------------------------------------------------------------- {% endcomment %}
47
48
  {% assign consent_options = consent_defaults | merge: consent_settings %}
48
49
 
50
+ {% assign production = '' %}
51
+ {% if environment == 'prod' or environment == 'production' %}
52
+ {% assign production = true %}
53
+ {% endif %}
49
54
 
50
55
  {% comment %} Main
51
56
  ================================================================================ {% endcomment %}
@@ -70,54 +75,6 @@ regenerate: true
70
75
  <div class="px-2">
71
76
  <p class="pt-1 pr-2">{{consent_options.policy_about}}</p>
72
77
  </div>
73
-
74
- <!-- Cookie categories -->
75
- {% if consent_options.categories.enabled %}
76
- <div class="px-2">
77
- <h6 class="card-subtitle text-muted mb-2">{{consent_options.categories.category_title}}</h6>
78
- <table class="tableblock frame-all grid-all stretch table-responsive mr-2">
79
- <colgroup>
80
- <col style="width: 10%;">
81
- <col style="width: 10%;">
82
- <col style="width: 10%;">
83
- <col style="width: 10%;">
84
- <col style="width: 60%;">
85
- </colgroup>
86
- <thead>
87
- <tr>
88
- <th class="tableblock halign-center valign-top">{{consent_options.categories.category_session}}</th>
89
- <th class="tableblock halign-center valign-top">{{consent_options.categories.category_persistent}}</th>
90
- <th class="tableblock halign-center valign-top">{{consent_options.categories.category_first_party}}</th>
91
- <th class="tableblock halign-center valign-top">{{consent_options.categories.category_second_party}}</th>
92
- <th class="tableblock halign-left valign-top">{{consent_options.categories.category_description}}</th>
93
- </tr>
94
- </thead>
95
- <tbody>
96
- <tr>
97
- <td class="tableblock halign-center valign-top">
98
- <p class="tableblock"><span class="icon red"><i class="fa md-green fa-check"></i></span></p>
99
- </td>
100
- <td class="tableblock halign-center valign-top">
101
- <p class="tableblock"><span class="icon green"><i class="fa md-green fa-check"></i></span></p>
102
- </td>
103
- <td class="tableblock halign-center valign-top">
104
- <p class="tableblock"><span class="icon green"><i class="fa md-green fa-check"></i></span></p>
105
- </td>
106
- <td class="tableblock halign-center valign-top">
107
- <p class="tableblock"><span class="icon green"><i class="fa md-red fa-times"></i></span></p>
108
- </td>
109
- <td class="tableblock halign-left valign-top">
110
- <div class="content">
111
- <div class="paragraph">
112
- <p>{{consent_options.categories.category_description_text}}</p>
113
- </div>
114
- </div>
115
- </td>
116
- </tr>
117
- </tbody>
118
- </table>
119
- </div>
120
- {% endif %}
121
78
  </div> <!-- END Body -->
122
79
 
123
80
  <!-- Footer -->
@@ -145,6 +102,73 @@ regenerate: true
145
102
  <div class="content">
146
103
  <h4 class="notoc card-title">{{consent_options.cookie_policy_title}}</h4>
147
104
  <h6 class="notoc category text-gray">{{consent_options.cookie_policy_tagline | asciidocify}}</h6>
105
+
106
+ <!-- Cookie categories -->
107
+ {% if consent_options.categories.enabled %}
108
+ <div class="px-2">
109
+ <h6 class="card-subtitle text-muted mb-2">{{consent_options.categories.category_title}}</h6>
110
+ <table class="tableblock frame-all grid-all stretch table-responsive-stacked-lg">
111
+ <colgroup>
112
+ <col style="width: 33.3333%;">
113
+ <col style="width: 16.6666%;">
114
+ <col style="width: 50.0001%;">
115
+ </colgroup>
116
+ <thead>
117
+ <tr>
118
+ <th class="tableblock halign-left valign-top">Cookie</th>
119
+ <th class="tableblock halign-left valign-top">Usage</th>
120
+ <th class="tableblock halign-left valign-top">Description</th>
121
+ </tr>
122
+ </thead>
123
+ <tbody>
124
+ <tr>
125
+ <td class="tableblock halign-left valign-top">
126
+ <p class="tableblock">{{consent_options.categories.category_session}}</p>
127
+ </td>
128
+ <td class="tableblock halign-left valign-top">
129
+ <div class="content"><i class="fa md-green fa-check"></i></div>
130
+ </td>
131
+ <td class="tableblock halign-left valign-top">
132
+ <p class="tableblock">{{consent_options.categories.category_description_text}}</p>
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <td class="tableblock halign-left valign-top">
137
+ <p class="tableblock">{{consent_options.categories.category_persistent}}</p>
138
+ </td>
139
+ <td class="tableblock halign-left valign-top">
140
+ <div class="content"><i class="fa md-green fa-check"></i></div>
141
+ </td>
142
+ <td class="tableblock halign-left valign-top">
143
+ <p class="tableblock">{{consent_options.categories.category_description_text}}</p>
144
+ </td>
145
+ </tr>
146
+ <tr>
147
+ <td class="tableblock halign-left valign-top">
148
+ <p class="tableblock">{{consent_options.categories.category_first_party}}</p>
149
+ </td>
150
+ <td class="tableblock halign-left valign-top">
151
+ <div class="content"><i class="fa md-green fa-check"></i></div>
152
+ </td>
153
+ <td class="tableblock halign-left valign-top">
154
+ <p class="tableblock">{{consent_options.categories.category_description_text}}</p>
155
+ </td>
156
+ </tr>
157
+ <tr>
158
+ <td class="tableblock halign-left valign-top">
159
+ <p class="tableblock">{{consent_options.categories.category_second_party}}</p>
160
+ </td>
161
+ <td class="tableblock halign-left valign-top">
162
+ <div class="content"><i class="fa md-green fa-check"></i></div>
163
+ </td>
164
+ <td class="tableblock halign-left valign-top">
165
+ <p class="tableblock">{{consent_options.categories.category_description_text}}</p>
166
+ </td>
167
+ </tr>
168
+ </tbody>
169
+ </table>
170
+ </div>
171
+ {% endif %}
148
172
  <div class="card-description">{{ consent_options.cookie_policy_text | asciidocify}}</div>
149
173
  </div>
150
174
  </div>
@@ -219,5 +243,10 @@ regenerate: true
219
243
  -------------------------------------------------------------------------------- {% endcomment %}
220
244
 
221
245
  {% endcapture %}
222
- {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
223
- {% assign cache = nil %}
246
+
247
+ {% if production %}
248
+ {% 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 %}
249
+ {% else %}
250
+ {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
251
+ {% endif %}
252
+ {% assign cache = nil %}