j1-template 2021.0.4 → 2021.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  3. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +1 -1
  4. data/_layouts/raw.html +1 -1
  5. data/assets/data/fam.html +1 -1
  6. data/assets/data/gallery_customizer.html +1 -1
  7. data/assets/data/mdi_icons.json +69582 -14640
  8. data/assets/data/mmenu_toc.html +1 -1
  9. data/assets/themes/j1/adapter/js/fam.js +2 -2
  10. data/assets/themes/j1/core/css/animate.min.css +1 -7
  11. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +3 -10
  12. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  13. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +12505 -4812
  14. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -1
  15. data/assets/themes/j1/core/css/icon-fonts/twemoji.min.css +1 -1
  16. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +79 -49
  17. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -6
  18. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +78 -48
  19. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -6
  20. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +102 -50
  21. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -8
  22. data/assets/themes/j1/core/css/vendor.css +2 -2
  23. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  24. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/eot/materialdesignicons-webfont.eot +0 -0
  25. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff +0 -0
  26. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff2 +0 -0
  27. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/svg/materialdesignicons-webfont.svg +0 -0
  28. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/ttf/materialdesignicons-webfont.ttf +0 -0
  29. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/eot/materialdesignicons-webfont.eot +0 -0
  30. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff +0 -0
  31. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff2 +0 -0
  32. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/preview.html +717 -0
  33. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/svg/materialdesignicons-webfont.svg +10188 -0
  34. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/ttf/materialdesignicons-webfont.ttf +0 -0
  35. data/assets/themes/j1/core/fonts/material_design_icons/fonts/eot/materialdesignicons-webfont.eot +0 -0
  36. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff +0 -0
  37. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff2 +0 -0
  38. data/assets/themes/j1/core/fonts/material_design_icons/fonts/svg/materialdesignicons-webfont.svg +10188 -0
  39. data/assets/themes/j1/core/fonts/material_design_icons/fonts/ttf/materialdesignicons-webfont.ttf +0 -0
  40. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.json +0 -0
  41. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.yml +0 -0
  42. data/assets/themes/j1/core/js/template.min.js +23 -1
  43. data/assets/themes/j1/modules/jquery/js/jquery-3.5.1.min.map +1 -0
  44. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +110 -0
  45. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +110 -0
  46. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.js +1245 -0
  47. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.min.js +8 -0
  48. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.min.zip +0 -0
  49. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.zip +0 -0
  50. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +110 -0
  51. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +110 -0
  52. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +11 -10
  53. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +3 -106
  54. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.js +147 -146
  55. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.min.js +3 -3
  56. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +1 -2
  57. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  58. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.min.js +1 -1
  59. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +20 -5
  60. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  61. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +115 -0
  62. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +15 -0
  63. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.new.js +111 -0
  64. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.old.js +103 -0
  65. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +2 -2
  66. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +3 -3
  67. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +4 -4
  68. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
  69. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +46 -45
  70. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  71. data/lib/j1/version.rb +1 -1
  72. data/lib/starter_web/Gemfile +18 -17
  73. data/lib/starter_web/_config.yml +3 -3
  74. data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
  75. data/lib/starter_web/_data/j1_config.yml +3 -3
  76. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +13 -4
  77. data/lib/starter_web/_data/modules/navigator_menu.yml +2 -64
  78. data/lib/starter_web/_data/resources.yml +3 -26
  79. data/lib/starter_web/_includes/attributes.asciidoc +276 -90
  80. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -1
  81. data/lib/starter_web/_includes/tables/template_variables.asciidoc +1 -1
  82. data/lib/starter_web/_plugins/lunr_index.rb +20 -1
  83. data/lib/starter_web/_plugins/minifyJS.rb +3 -0
  84. data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
  85. data/lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg +0 -0
  86. data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
  87. data/lib/starter_web/assets/images/modules/attics/responsive-text-1920x1280.jpg +0 -0
  88. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  89. data/lib/starter_web/assets/images/pages/panels/modules-apps-1920x800.jpg +0 -0
  90. data/lib/starter_web/assets/images/pages/panels/no-time-1920x800.jpg +0 -0
  91. data/lib/starter_web/assets/images/pages/panels/the-place-1920x800.jpg +0 -0
  92. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg +0 -0
  93. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon.jpg +0 -0
  94. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg +0 -0
  95. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input.jpg +0 -0
  96. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll-.jpg +0 -0
  97. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll.jpg +0 -0
  98. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +10 -13
  99. data/lib/starter_web/collections/posts/public/featured/_posts/{2018-05-01-confusion-about-base-url.adoc → 2020-04-01-confusion-about-base-url.adoc} +6 -4
  100. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-05-01-top-open-source-static-site-generators.adoc → 2020-05-01-top-open-source-static-site-generators.adoc} +15 -13
  101. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-06-01-about-cookies.adoc → 2020-06-01-about-cookies.adoc} +9 -23
  102. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +6 -17
  103. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +6 -16
  104. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +6 -16
  105. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +6 -16
  106. data/{assets/themes/j1/modules/mdiPreviewer/js → lib/starter_web/collections/posts/public/series/_posts/_includes/documents}/readme +0 -0
  107. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +5 -4
  108. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +13 -3
  109. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +13 -3
  110. data/lib/starter_web/favicon.ico +0 -0
  111. data/lib/starter_web/index.html +1 -1
  112. data/lib/starter_web/package.json +3 -3
  113. data/lib/starter_web/pages/public/about/about_site.adoc +1827 -9
  114. data/lib/starter_web/pages/public/about/become_a_patron.adoc +26 -1
  115. data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -0
  116. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -1
  117. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +2 -0
  118. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +2 -0
  119. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -0
  120. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +3 -3
  121. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +6 -2
  122. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -3
  123. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  124. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +5 -4
  125. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  126. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  127. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  128. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +39 -19
  129. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +417 -0
  130. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +2 -2
  131. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +3 -0
  132. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  133. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  134. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  135. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +1 -1
  136. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  137. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +1 -1
  138. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  139. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +16 -5
  140. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +5 -81
  141. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +119 -0
  142. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  143. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  144. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
  145. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  146. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  147. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +4 -4
  148. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  149. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  150. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  151. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  152. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  153. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +41 -0
  154. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +857 -0
  155. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  156. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  157. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  158. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  159. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  160. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +116 -78
  161. data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
  162. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  163. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +41 -108
  164. data/lib/starter_web/pages/public/previewer/rouge.adoc +38 -353
  165. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +2 -2
  166. data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
  167. data/lib/starter_web/utilsrv/package.json +3 -3
  168. metadata +58 -22
  169. data/lib/starter_web/_plugins/simple_search_filter.rb +0 -32
  170. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +0 -31
  171. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +0 -430
  172. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh +0 -28
  173. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +0 -335
@@ -1,14 +1,14 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
3
  # ~/assets/themes/j1/modules/mmenu_light/js/mmenu.js
4
- # Mobile Menu v3.0.5 implementation for J1 Template
4
+ # Mobile Menu v3.0.8 implementation for J1 Template
5
5
  #
6
6
  # Product/Info:
7
7
  # https://jekyll.one
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
10
  # Copyright (C) 2021 Juergen Adams
11
- # Copyright (C) 2015-2020 Fred Heusschen
11
+ # Copyright (C) 2015-2021 Fred Heusschen
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
14
14
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -19,7 +19,7 @@
19
19
 
20
20
  /*!
21
21
  * Mmenu Light
22
- * mmenujs.com/mmenu-light v3.0.5
22
+ * mmenujs.com/mmenu-light v3.0.8
23
23
  *
24
24
  * Copyright (c) Fred Heusschen
25
25
  * www.frebsite.nl
@@ -143,11 +143,11 @@ div.copied {
143
143
  left: 50%;
144
144
  width: 200px;
145
145
  text-align: center;
146
- color: $grey-50;
147
- background-color: $blue;
148
- // border: 1px solid $indigo;
146
+ color: #FAFAFA;
147
+ background-color: #2196F3;
148
+ border: 1px solid #0D47A1;
149
149
  padding: 10px 15px;
150
150
  border-radius: 4px;
151
151
  margin-left: -100px;
152
- // box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
152
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
153
153
  }
@@ -16,4 +16,4 @@
16
16
  # For details, https://github.com/xLs51/Twemoji-Picker
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
- ul.emoji-list *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.emoji-list li{font-size:36px;float:left;display:inline-block;padding:2px;margin:4px}img.emoji{cursor:pointer;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-wrap{position:relative}.twemoji-wrap img{margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-textarea{background-color:#FFF;border:1px solid #ccc;border-radius:3px;height:100%;padding:6px 30px 6px 12px;overflow-y:auto}.twemoji-textarea[contentEditable=true]:empty:before{content:attr(placeholder);color:#9e9e9e}.twemoji-picker{background-color:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.05);position:absolute;right:0;z-index:1}.twemoji-icon-picker{margin-top:.5rem;margin-bottom:.5rem}.twemoji-icon-picker img{//position:absolute;right:21px;top:6px}.twemoji-icon-picker img,.twemoji-picker img{cursor:pointer;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.twemoji-picker-category{background-color:#e7e7e7}.twemoji-picker-category img{padding:5px}.twemoji-picker-category .active,.twemoji-picker-category span:hover{border-bottom:2px solid #728691;line-height:22px}.twemoji-picker-category .close{cursor:pointer;float:right;font-size:25px;font-weight:700;line-height:1;margin-right:2px;opacity:.5}.twemoji-picker-category .close:hover{opacity:.3}.twemoji-list{//overflow-y:scroll;margin-top:1.5rem;margin-left:1.5rem;overflow-y:auto}.twemoji-list img{margin-top:2px;padding:5px}.twemoji-list img:hover{background-color:#e7e7e7}div.copied{position:fixed;top:100px;left:50%;width:200px;text-align:center;color:$grey-50;background-color:$blue;// border:1px solid $indigo;padding:10px 15px;border-radius:4px;margin-left:-100px;// box-shadow:0 0 10px rgba(0,0,0,0.2)}
19
+ ul.emoji-list *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.emoji-list li{font-size:36px;float:left;display:inline-block;padding:2px;margin:4px}img.emoji{cursor:pointer;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-wrap{position:relative}.twemoji-wrap img{margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-textarea{background-color:#FFF;border:1px solid #ccc;border-radius:3px;height:100%;padding:6px 30px 6px 12px;overflow-y:auto}.twemoji-textarea[contentEditable=true]:empty:before{content:attr(placeholder);color:#9e9e9e}.twemoji-picker{background-color:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.05);position:absolute;right:0;z-index:1}.twemoji-icon-picker{margin-top:.5rem;margin-bottom:.5rem}.twemoji-icon-picker img{//position:absolute;right:21px;top:6px}.twemoji-icon-picker img,.twemoji-picker img{cursor:pointer;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.twemoji-picker-category{background-color:#e7e7e7}.twemoji-picker-category img{padding:5px}.twemoji-picker-category .active,.twemoji-picker-category span:hover{border-bottom:2px solid #728691;line-height:22px}.twemoji-picker-category .close{cursor:pointer;float:right;font-size:25px;font-weight:700;line-height:1;margin-right:2px;opacity:.5}.twemoji-picker-category .close:hover{opacity:.3}.twemoji-list{//overflow-y:scroll;margin-top:1.5rem;margin-left:1.5rem;overflow-y:auto}.twemoji-list img{margin-top:2px;padding:5px}.twemoji-list img:hover{background-color:#e7e7e7}div.copied{position:fixed;top:100px;left:50%;width:200px;text-align:center;color:#fafafa;background-color:#2196f3;border:1px solid #0d47a1;padding:10px 15px;border-radius:4px;margin-left:-100px;box-shadow:0 0 10px rgba(0,0,0,0.2)}
@@ -16,18 +16,19 @@
16
16
  # For details, https://github.com/xLs51/Twemoji-Picker
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
- (function (e, c, g) {
19
+ (function ($, window, undefined) {
20
20
  var b = 150;
21
21
  var d = {};
22
- var a = "/assets/data/twa_v1.json";
23
- e.TwemojiPicker = function (j, i) {
22
+ var twa_database = "/assets/data/twa_v1.json";
23
+
24
+ $.TwemojiPicker = function (element, options) {
24
25
  var h = this;
25
- e.when(h._loadDatabase()).done(function (k) {
26
- h.$el = e(j);
27
- h._init(i)
26
+ $.when(this._loadDatabase()).done(function (e) {
27
+ h.$el = $(element);
28
+ h._init(options)
28
29
  })
29
30
  };
30
- e.TwemojiPicker.defaults = {
31
+ $.TwemojiPicker.defaults = {
31
32
  init: null,
32
33
  size: 25,
33
34
  icon: "grinning",
@@ -41,9 +42,9 @@
41
42
  pickerWidth: null,
42
43
  placeholder: "",
43
44
  };
44
- e.TwemojiPicker.prototype = {
45
+ $.TwemojiPicker.prototype = {
45
46
  _init: function (h) {
46
- this.options = e.extend(true, {}, e.TwemojiPicker.defaults, h);
47
+ this.options = $.extend(true, {}, $.TwemojiPicker.defaults, h);
47
48
  this._initPicker();
48
49
  this._initCategory();
49
50
  this._initTwemoji();
@@ -52,8 +53,8 @@
52
53
  this._initEvents()
53
54
  },
54
55
  _loadDatabase: function f() {
55
- return e.ajax({
56
- url: a,
56
+ return $.ajax({
57
+ url: twa_database,
57
58
  success: function (h) {
58
59
  if (typeof h == "string") {
59
60
  d = JSON.parse(h)
@@ -87,16 +88,16 @@
87
88
  this.categoryName = ["people", "nature", "object", "place", "symbol"];
88
89
  this.$picker.append('<div class="twemoji-picker-category"></div>');
89
90
  this.$pickerCategory = this.$picker.find(".twemoji-picker-category");
90
- e.each(this.categoryName, function (j, k) {
91
+ $.each(this.categoryName, function (j, k) {
91
92
  h.$pickerCategory.append('<span data-category="' + k + '">' + h.imageFromName(i[j]) + "</span>")
92
93
  });
93
94
  this.$pickerCategory.find("span:first").addClass("active")
94
95
  },
95
96
  _initTwemoji: function () {
96
97
  var h = this;
97
- e.each(this.categoryName, function (j, k) {
98
+ $.each(this.categoryName, function (j, k) {
98
99
  h.$picker.append('<div class="twemoji-list ' + k + '"></div>');
99
- e.each(d, function (i, l) {
100
+ $.each(d, function (i, l) {
100
101
  if (l.category === k) {
101
102
  h.$wrapper.find(".twemoji-picker ." + k).append('<span><img class="emoji" draggable="false" src="' + l.base64 + '" alt="' + l.value + '" title="' + l.name + '"></span>')
102
103
  }
@@ -146,27 +147,27 @@
146
147
  _initEvents: function () {
147
148
  var h = this;
148
149
  this.$textarea.on("keyup", function () {
149
- h.copyTextArea(e(this).html())
150
+ h.copyTextArea($(this).html())
150
151
  });
151
152
  this.$iconPicker.on("click", function () {
152
- var i = e(".twemoji-picker").height() + b;
153
- e("#picker").height(i);
154
- e(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");
153
+ var i = $(".twemoji-picker").height() + b;
154
+ $("#picker").height(i);
155
+ $(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");
155
156
  if (!h.openedPicker) {
156
157
  h.openPicker()
157
158
  } else {
158
159
  h.closePicker();
159
- e("#picker").height(h.$pickerHeigth)
160
+ $("#picker").height(h.$pickerHeigth)
160
161
  }
161
162
  });
162
163
  this.$clearTextarea.on("click", function () {
163
164
  h.copyTextArea("");
164
- e(h.$id).val("");
165
- e(".twemoji-textarea > .emoji-span").remove()
165
+ $(h.$id).val("");
166
+ $(".twemoji-textarea > .emoji-span").remove()
166
167
  });
167
168
  this.$pickerCategory.find("span").on("click", function () {
168
- var i = e(this).data("category");
169
- h.openCategory(e(this), i)
169
+ var i = $(this).data("category");
170
+ h.openCategory($(this), i)
170
171
  });
171
172
  this.$pickerCategory.find(".close").on("click", function () {
172
173
  if (h.openedPicker) {
@@ -174,24 +175,24 @@
174
175
  }
175
176
  });
176
177
  this.$twemojiList.find("img").on("click", function () {
177
- h.copyTwemoji(e(this))
178
+ h.copyTwemoji($(this))
178
179
  })
179
180
  },
180
- copyText: function (j) {
181
- var i = document.createElement("textarea");
182
- i.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px");
183
- i.value = j;
184
- document.body.appendChild(i);
185
- i.select();
186
- document.execCommand("copy");
187
- var h = document.createElement("div");
188
- h.setAttribute("class", "copied");
189
- h.appendChild(document.createTextNode("Copied to Clipboard"));
190
- document.body.appendChild(h);
191
- setTimeout(function () {
192
- document.body.removeChild(i);
193
- document.body.removeChild(h)
194
- }, 1500)
181
+ copyText: function (text) {
182
+ var copyFrom = document.createElement('textarea');
183
+ copyFrom.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px;");
184
+ copyFrom.value = text;
185
+ document.body.appendChild(copyFrom);
186
+ copyFrom.select();
187
+ document.execCommand('copy');
188
+ var copied = document.createElement('div');
189
+ copied.setAttribute('class', 'copied');
190
+ copied.appendChild(document.createTextNode('Copied to Clipboard'));
191
+ document.body.appendChild(copied);
192
+ setTimeout(function () {
193
+ document.body.removeChild(copyFrom);
194
+ document.body.removeChild(copied);
195
+ }, 1500);
195
196
  },
196
197
  openPicker: function () {
197
198
  this.$picker.show();
@@ -226,7 +227,7 @@
226
227
  this.$el.text(i)
227
228
  },
228
229
  imageFromName: function (i, j) {
229
- var h = e.grep(d, function (k) {
230
+ var h = $.grep(d, function (k) {
230
231
  return k.name == i
231
232
  });
232
233
  if (j) {
@@ -236,8 +237,8 @@
236
237
  },
237
238
  pasteAtCursor: function (m) {
238
239
  var l, h;
239
- if (c.getSelection) {
240
- l = c.getSelection();
240
+ if (window.getSelection) {
241
+ l = window.getSelection();
241
242
  if (l.getRangeAt && l.rangeCount) {
242
243
  h = l.getRangeAt(0);
243
244
  h.deleteContents();
@@ -264,10 +265,10 @@
264
265
  }
265
266
  }
266
267
  };
267
- e.fn.twemojiPicker = function (i) {
268
- var h = e.data(this, "twemojiPicker");
268
+ $.fn.twemojiPicker = function (i) {
269
+ var h = $.data(this, "twemojiPicker");
269
270
  this.each(function () {
270
- h ? h._init() : h = e.data(this, "twemojiPicker", new e.TwemojiPicker(this, i))
271
+ h ? h._init() : h = $.data(this, "twemojiPicker", new $.TwemojiPicker(this, i))
271
272
  });
272
273
  return h
273
274
  }
@@ -16,4 +16,4 @@
16
16
  # For details, https://github.com/xLs51/Twemoji-Picker
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
- (function(l,n,j){var h=150;var m={};var i="/assets/data/twa_v1.json";l.TwemojiPicker=function(a,b){var c=this;l.when(c._loadDatabase()).done(function(d){c.$el=l(a);c._init(b)})};l.TwemojiPicker.defaults={init:null,size:25,icon:"grinning",iconSize:25,height:100,width:null,category:["smile","cherry-blossom","video-game","oncoming-automobile","symbols"],categorySize:20,pickerPosition:null,pickerHeight:150,pickerWidth:null,placeholder:"",};l.TwemojiPicker.prototype={_init:function(a){this.options=l.extend(true,{},l.TwemojiPicker.defaults,a);this._initPicker();this._initCategory();this._initTwemoji();this._initText();this._initStyle();this._initEvents()},_loadDatabase:function k(){return l.ajax({url:i,success:function(a){if(typeof a=="string"){m=JSON.parse(a)}if(typeof a=="object"){m=a}}})},_initPicker:function(){var a=this;a.$id="#"+a.$el["0"].id;a.$pickerHeigth=a.options.height.replace("px","");a.$pickerHeigth=Number(a.$pickerHeigth);a.$wrapper=a.$el.wrap('<div class="twemoji-wrap"></div>').parent();a.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="'+a.options.placeholder+'"></div>');a.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');a.$wrapper.append('<div class="twemoji-icon-picker"> <span id="open-group" class="mr-2"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-info mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker </button></span><span id="clear-textarea"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-secondary"><i class="mdi mdi-sticker-emoji mdi-lg mr-1"></i> Clear </button></span></div>');a.$wrapper.append('<div class="twemoji-picker"></div>');a.$el.hide();a.$textarea=a.$wrapper.find(".twemoji-textarea");a.$textareaDuplicate=a.$wrapper.find(".twemoji-textarea-duplicate").hide();a.$iconPicker=a.$wrapper.find("#open-group");a.$clearTextarea=a.$wrapper.find("#clear-textarea");a.$picker=a.$wrapper.find(".twemoji-picker").hide()},_initCategory:function(){var b=this;var a=this.options.category;this.categoryName=["people","nature","object","place","symbol"];this.$picker.append('<div class="twemoji-picker-category"></div>');this.$pickerCategory=this.$picker.find(".twemoji-picker-category");l.each(this.categoryName,function(d,c){b.$pickerCategory.append('<span data-category="'+c+'">'+b.imageFromName(a[d])+"</span>")});this.$pickerCategory.find("span:first").addClass("active")},_initTwemoji:function(){var a=this;l.each(this.categoryName,function(c,b){a.$picker.append('<div class="twemoji-list '+b+'"></div>');l.each(m,function(e,d){if(d.category===b){a.$wrapper.find(".twemoji-picker ."+b).append('<span><img class="emoji" draggable="false" src="'+d.base64+'" alt="'+d.value+'" title="'+d.name+'"></span>')}})});this.$twemojiList=this.$picker.find(".twemoji-list");this.$twemojiList.not(":first").hide()},_initText:function(){if(this.options.init){var a=this.options.init;var b=/:([\w-]+):/g;var c;while(c==b.exec(a)){a=a.replace(c[0],this.imageFromName(c[1],true))}this.$textarea.html(a);this.copyTextArea(this.$textarea.html())}},_initStyle:function(){this.$wrapper.css({width:this.options.width?this.options.width:"100%",height:this.options.height?this.options.height:"",});this.$wrapper.find("img").css({width:this.options.size,height:this.options.size,});this.$iconPicker.css({width:this.options.iconSize,height:this.options.iconSize,});this.$pickerCategory.find("img").css({width:this.options.categorySize,height:this.options.categorySize,});this.$twemojiList.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",height:this.options.pickerHeight,});this.$picker.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",top:this.options.pickerPosition==="top"?"-"+this.$picker.outerHeight()+"px":"",})},_initEvents:function(){var a=this;this.$textarea.on("keyup",function(){a.copyTextArea(l(this).html())});this.$iconPicker.on("click",function(){var b=l(".twemoji-picker").height()+h;l("#picker").height(b);l(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");if(!a.openedPicker){a.openPicker()}else{a.closePicker();l("#picker").height(a.$pickerHeigth)}});this.$clearTextarea.on("click",function(){a.copyTextArea("");l(a.$id).val("");l(".twemoji-textarea > .emoji-span").remove()});this.$pickerCategory.find("span").on("click",function(){var b=l(this).data("category");a.openCategory(l(this),b)});this.$pickerCategory.find(".close").on("click",function(){if(a.openedPicker){a.closePicker()}});this.$twemojiList.find("img").on("click",function(){a.copyTwemoji(l(this))})},copyText:function(a){var b=document.createElement("textarea");b.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px");b.value=a;document.body.appendChild(b);b.select();document.execCommand("copy");var c=document.createElement("div");c.setAttribute("class","copied");c.appendChild(document.createTextNode("Copied to Clipboard"));document.body.appendChild(c);setTimeout(function(){document.body.removeChild(b);document.body.removeChild(c)},1500)},openPicker:function(){this.$picker.show();this.openedPicker=true},closePicker:function(){this.$picker.hide();this.openedPicker=false},openCategory:function(b,a){this.$pickerCategory.find("span").removeClass("active");b.addClass("active");this.$twemojiList.not(".twemoji-picker ."+a).hide();this.$twemojiList.filter(".twemoji-picker ."+a).show()},copyTwemoji:function(a){var d=a.attr("alt");var b=a.attr("src");var c=a.attr("title");var e="emoji:"+c+"[]";this.copyText(e);this.$textarea.focus();this.pasteAtCursor('<span class="emoji-span"><img class="emoji" src="'+b+'" title="'+c+'" alt="'+d+'" width="'+this.options.size+'" height="'+this.options.size+'"> '+e+"</span> ");this.copyTextArea(this.$textarea.html())},copyTextArea:function(a){var c=this.$textareaDuplicate.html(a);c.find("img").replaceWith(function(){return this.alt});var b=c.html();this.$el.text(b)},imageFromName:function(b,a){var c=l.grep(m,function(d){return d.name==b});if(a){return'<img class="emoji" src="'+c[0].base64+'" alt="'+c[0].value+'" width="'+this.options.size+'" height="'+this.options.size+'">'}return'<img class="emoji" draggable="false" src="'+c[0].base64+'" alt="'+b+'">'},pasteAtCursor:function(a){var b,f;if(n.getSelection){b=n.getSelection();if(b.getRangeAt&&b.rangeCount){f=b.getRangeAt(0);f.deleteContents();var e=document.createElement("div");e.innerHTML=a;var g=document.createDocumentFragment(),c,d;while((c=e.firstChild)){d=g.appendChild(c)}f.insertNode(g);if(d){f=f.cloneRange();f.setStartAfter(d);f.collapse(true);b.removeAllRanges();b.addRange(f)}}}else{if(document.selection&&document.selection.type!="Control"){document.selection.createRange().pasteHTML(a)}}}};l.fn.twemojiPicker=function(a){var b=l.data(this,"twemojiPicker");this.each(function(){b?b._init():b=l.data(this,"twemojiPicker",new l.TwemojiPicker(this,a))});return b}})(jQuery,window);
19
+ (function(i,g,k){var c=150;var j={};var e="/assets/data/twa_v1.json";i.TwemojiPicker=function(b,a){var d=this;i.when(this._loadDatabase()).done(function(f){d.$el=i(b);d._init(a)})};i.TwemojiPicker.defaults={init:null,size:25,icon:"grinning",iconSize:25,height:100,width:null,category:["smile","cherry-blossom","video-game","oncoming-automobile","symbols"],categorySize:20,pickerPosition:null,pickerHeight:150,pickerWidth:null,placeholder:"",};i.TwemojiPicker.prototype={_init:function(a){this.options=i.extend(true,{},i.TwemojiPicker.defaults,a);this._initPicker();this._initCategory();this._initTwemoji();this._initText();this._initStyle();this._initEvents()},_loadDatabase:function h(){return i.ajax({url:e,success:function(a){if(typeof a=="string"){j=JSON.parse(a)}if(typeof a=="object"){j=a}}})},_initPicker:function(){var a=this;a.$id="#"+a.$el["0"].id;a.$pickerHeigth=a.options.height.replace("px","");a.$pickerHeigth=Number(a.$pickerHeigth);a.$wrapper=a.$el.wrap('<div class="twemoji-wrap"></div>').parent();a.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="'+a.options.placeholder+'"></div>');a.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');a.$wrapper.append('<div class="twemoji-icon-picker"><span id="open-group" class="mr-2" style="width: 2rem; height: 2rem;"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-primary mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker <div class="ripple-container"></div></button></span><span id="clear-textarea" style="width: 2rem; height: 2rem;"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-primary"><i class="mdi mdi-close mdi-lg mr-1"></i> Clear </button></span></div>');a.$wrapper.append('<div class="twemoji-picker"></div>');a.$el.hide();a.$textarea=a.$wrapper.find(".twemoji-textarea");a.$textareaDuplicate=a.$wrapper.find(".twemoji-textarea-duplicate").hide();a.$iconPicker=a.$wrapper.find("#open-group");a.$clearTextarea=a.$wrapper.find("#clear-textarea");a.$picker=a.$wrapper.find(".twemoji-picker").hide()},_initCategory:function(){var b=this;var a=this.options.category;this.categoryName=["people","nature","object","place","symbol"];this.$picker.append('<div class="twemoji-picker-category"></div>');this.$pickerCategory=this.$picker.find(".twemoji-picker-category");i.each(this.categoryName,function(f,d){b.$pickerCategory.append('<span data-category="'+d+'">'+b.imageFromName(a[f])+"</span>")});this.$pickerCategory.find("span:first").addClass("active")},_initTwemoji:function(){var a=this;i.each(this.categoryName,function(d,b){a.$picker.append('<div class="twemoji-list '+b+'"></div>');i.each(j,function(m,f){if(f.category===b){a.$wrapper.find(".twemoji-picker ."+b).append('<span><img class="emoji" draggable="false" src="'+f.base64+'" alt="'+f.value+'" title="'+f.name+'"></span>')}})});this.$twemojiList=this.$picker.find(".twemoji-list");this.$twemojiList.not(":first").hide()},_initText:function(){if(this.options.init){var a=this.options.init;var b=/:([\w-]+):/g;var d;while(d==b.exec(a)){a=a.replace(d[0],this.imageFromName(d[1],true))}this.$textarea.html(a);this.copyTextArea(this.$textarea.html())}},_initStyle:function(){this.$wrapper.css({width:this.options.width?this.options.width:"100%",height:this.options.height?this.options.height:"",});this.$wrapper.find("img").css({width:this.options.size,height:this.options.size,});this.$iconPicker.css({width:this.options.iconSize,height:this.options.iconSize,});this.$pickerCategory.find("img").css({width:this.options.categorySize,height:this.options.categorySize,});this.$twemojiList.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",height:this.options.pickerHeight,});this.$picker.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",top:this.options.pickerPosition==="top"?"-"+this.$picker.outerHeight()+"px":"",})},_initEvents:function(){var a=this;this.$textarea.on("keyup",function(){a.copyTextArea(i(this).html())});this.$iconPicker.on("click",function(){var b=i(".twemoji-picker").height()+c;i("#picker").height(b);i(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");if(!a.openedPicker){a.openPicker()}else{a.closePicker();i("#picker").height(a.$pickerHeigth)}});this.$clearTextarea.on("click",function(){a.copyTextArea("");i(a.$id).val("");i(".twemoji-textarea > .emoji-span").remove()});this.$pickerCategory.find("span").on("click",function(){var b=i(this).data("category");a.openCategory(i(this),b)});this.$pickerCategory.find(".close").on("click",function(){if(a.openedPicker){a.closePicker()}});this.$twemojiList.find("img").on("click",function(){a.copyTwemoji(i(this))})},copyText:function(d){var b=document.createElement("textarea");b.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");b.value=d;document.body.appendChild(b);b.select();document.execCommand("copy");var a=document.createElement("div");a.setAttribute("class","copied");a.appendChild(document.createTextNode("Copied to Clipboard"));document.body.appendChild(a);setTimeout(function(){document.body.removeChild(b);document.body.removeChild(a)},1500)},openPicker:function(){this.$picker.show();this.openedPicker=true},closePicker:function(){this.$picker.hide();this.openedPicker=false},openCategory:function(b,a){this.$pickerCategory.find("span").removeClass("active");b.addClass("active");this.$twemojiList.not(".twemoji-picker ."+a).hide();this.$twemojiList.filter(".twemoji-picker ."+a).show()},copyTwemoji:function(a){var f=a.attr("alt");var b=a.attr("src");var d=a.attr("title");var m="emoji:"+d+"[]";this.copyText(m);this.$textarea.focus();this.pasteAtCursor('<span class="emoji-span"><img class="emoji" src="'+b+'" title="'+d+'" alt="'+f+'" width="'+this.options.size+'" height="'+this.options.size+'"> '+m+"</span> ");this.copyTextArea(this.$textarea.html())},copyTextArea:function(a){var d=this.$textareaDuplicate.html(a);d.find("img").replaceWith(function(){return this.alt});var b=d.html();this.$el.text(b)},imageFromName:function(b,a){var d=i.grep(j,function(f){return f.name==b});if(a){return'<img class="emoji" src="'+d[0].base64+'" alt="'+d[0].value+'" width="'+this.options.size+'" height="'+this.options.size+'">'}return'<img class="emoji" draggable="false" src="'+d[0].base64+'" alt="'+b+'">'},pasteAtCursor:function(a){var b,p;if(g.getSelection){b=g.getSelection();if(b.getRangeAt&&b.rangeCount){p=b.getRangeAt(0);p.deleteContents();var o=document.createElement("div");o.innerHTML=a;var q=document.createDocumentFragment(),d,f;while((d=o.firstChild)){f=q.appendChild(d)}p.insertNode(q);if(f){p=p.cloneRange();p.setStartAfter(f);p.collapse(true);b.removeAllRanges();b.addRange(p)}}}else{if(document.selection&&document.selection.type!="Control"){document.selection.createRange().pasteHTML(a)}}}};i.fn.twemojiPicker=function(a){var b=i.data(this,"twemojiPicker");this.each(function(){b?b._init():b=i.data(this,"twemojiPicker",new i.TwemojiPicker(this,a))});return b}})(jQuery,window);
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2021.0.4'
2
+ VERSION = '2021.0.5'
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # ------------------------------------------------------------------------------
2
- # ~/Gemfile (runtime)
2
+ # ~/Gemfile (run-time)
3
3
  # Provides package information to bundle all Ruby gem needed
4
4
  # for Jekyll and J1 template (managed by Ruby Gem Bundler)
5
5
  #
@@ -52,9 +52,9 @@ ruby RUBY_VERSION
52
52
  #
53
53
  gem 'jekyll', '~> 4.2'
54
54
 
55
- # Theme Rubies, default: J1 Template (NOT used for the development system)
55
+ # Theme Rubies, default: J1 Template
56
56
  #
57
- gem 'j1-template', '= 2021.0.4'
57
+ gem 'j1-template', '~> 2021.0.5'
58
58
 
59
59
  # ------------------------------------------------------------------------------
60
60
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -106,19 +106,22 @@ gem 'wdm', '>= 0.1.1' if Gem.win_platform?
106
106
  # ------------------------------------------------------------------------------
107
107
  # Jekyll Plugins
108
108
  # If any (additional) plugins are used, they goes here:
109
+ # ------------------------------------------------------------------------------
110
+ # NOTE: asciidoctor v2.x (automatically loaded via ???) creates corrupted
111
+ # asciidoctor-rouge output. Currently, older/latest version v1.x is used
109
112
  #
110
113
  group :jekyll_plugins do
111
- gem 'asciidoctor', '= 1.5.8'
112
- # gem 'asciidoctor-pdf', '>= 1.5.0.alpha.16'
113
- gem 'asciidoctor-rouge', '>= 0.3'
114
- gem 'jekyll-asciidoc', '>= 2.1.0'
115
- # gem 'jekyll-algolia', '~> 1.0'
116
- # gem 'jekyll-feed', ">= 0.9"
117
- # gem 'jekyll-gist', '>= 1.5.0'
114
+ gem 'asciidoctor', '= 1.5.8' # See notes!!!
115
+ # gem 'asciidoctor-pdf', '>= 1.5.4' # Needed ???
116
+ gem 'asciidoctor-rouge', '>= 0.4.0'
117
+ gem 'jekyll-asciidoc', '>= 3.0.0'
118
+ # gem 'jekyll-algolia', '~> 1.6' # Needed ??? Supported ???
119
+ # gem 'jekyll-feed', ">= 0.15.1"
120
+ # gem 'jekyll-gist', '>= 1.5.0' # Needed ???, Gist supported asciidoc-extention
118
121
  # gem 'jekyll-sitemap', '>= 1.2.0'
119
- # gem 'jekyll-redirect-from', '>= 0.13.0'
122
+ # gem 'jekyll-redirect-from', '>= 0.16.0' # Needed ???
123
+ # gem 'jekyll-sass-converter', '>= 2.1.0' # Needed ??? Supported ???
120
124
  gem 'j1-paginator', '>= 2020.0.2'
121
- gem 'jekyll-sass-converter', '>= 1.5.1'
122
125
  end
123
126
 
124
127
  # ------------------------------------------------------------------------------
@@ -166,7 +169,6 @@ end
166
169
  # gem 'passenger', '>= 5.3'
167
170
  gem "puma", '>= 4.3.1'
168
171
 
169
-
170
172
  # ------------------------------------------------------------------------------
171
173
  # If J1 is transformed into a (Rack and Sinatra based) Web
172
174
  # application, the site can be secured using user authentication
@@ -179,18 +181,17 @@ gem 'rack-protection', '~> 2.0'
179
181
  gem 'rack-ssl-enforcer', '~> 0.2'
180
182
  gem 'rest-client', '~> 2.0'
181
183
 
182
- gem 'omniauth', '>= 1.3'
183
- gem 'omniauth-oauth2', '~> 1.4'
184
+ gem 'omniauth', '>= 2.0'
185
+ gem 'omniauth-oauth2', '~> 1.7'
184
186
 
185
187
  gem 'sinatra', '~> 2.0'
186
- # gem 'sinatra-cross_origin', '~> 0.3.1'
188
+ gem 'sinatra-cross_origin', '~> 0.3.1'
187
189
 
188
190
  gem 'warden', '~> 1.2'
189
191
 
190
192
  # ------------------------------------------------------------------------------
191
193
  # Gem needed for J1 logger based on log4r (middleware)
192
194
  #
193
- #gem 'log4r', '~> 1.1.10'
194
195
  gem 'log4r', '~> 1.1', '>= 1.1.10'
195
196
  gem 'uuid', '~> 2.3', '>= 2.3.8'
196
197
  gem 'date', '~> 2.0'
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------
2
2
  # ~/_config.yml
3
- # Global Jekyll site configuration
3
+ # Global Jekyll site configuration (runtime)
4
4
  #
5
5
  # Product/Info:
6
6
  # https://jekyll.one
@@ -45,7 +45,7 @@
45
45
  # Sets the build environment of the website
46
46
  #
47
47
  # values: development|production
48
- # default: development
48
+ # default: production
49
49
  #
50
50
  environment: production
51
51
 
@@ -53,7 +53,7 @@ environment: production
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2021.0.4
56
+ version: 2021.0.5
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -49,7 +49,7 @@ settings:
49
49
  # PAGER plugin
50
50
  #
51
51
  pager:
52
- enabled: false
52
+ enabled: true
53
53
 
54
54
  # ----------------------------------------------------------------------------
55
55
  # SHARE plugin
@@ -294,8 +294,8 @@ rouge:
294
294
  # /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff2,
295
295
  # /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff,
296
296
  # /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff2,
297
- # /assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.woff,
298
- # /assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.woff2
297
+ # /assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff,
298
+ # /assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff2
299
299
  # ]
300
300
  preload:
301
301
 
@@ -305,7 +305,7 @@ preload:
305
305
  fonts: []
306
306
  # fonts: [
307
307
  # /assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff,
308
- # /assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.woff
308
+ # /assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff
309
309
  # ]
310
310
  css:
311
311
  preload: true
@@ -49,11 +49,15 @@ defaults:
49
49
  placement: navbar
50
50
  target: _blank
51
51
 
52
- excludes: [ /assets/*, /apps/*, /log/* , /node_modules/*, '/*\.htm*/' ]
52
+ excludes: [
53
+ /assets/*, /apps/*, /log/* ,
54
+ /node_modules/*, '/*\.htm*/'
55
+ ]
56
+
53
57
  stopwords: /assets/themes/j1/modules/lunrSearch/stopwords/en.txt
54
58
  stopwords_locale: en
55
59
  strip_index_html: false
56
- strip_categories: [ pages, posts, public, featured ]
60
+ strip_categories: [ pages, posts, public, featured, wikipedia ]
57
61
  min_length: 3
58
62
  date_format: mmm dd, yyyy
59
63
 
@@ -65,8 +69,13 @@ defaults:
65
69
  search_input: '#search-query' # '#jss-input'
66
70
  results: '#search-results' # selector for containing search results element
67
71
  template: '#search-results-template' # selector for Mustache.js template
68
- titleMsg: # '<h1>Search results<h1>' message attached in front of results (can be empty)
69
- emptyMsg: # '<p>Nothing found.</p>' # shown message if search returns no results
72
+
73
+ # message attached in front of results (can be empty)
74
+ #
75
+ titleMsg: # '<h3 class="ml-5 mb-2">Search results<h3>'
76
+ # message shown, if search returns no results (can be empty)
77
+ #
78
+ emptyMsg: # '<p style="margin-left: 3.5rem">No matches.</p>'
70
79
 
71
80
 
72
81
  # ------------------------------------------------------------------------------
@@ -55,65 +55,13 @@
55
55
  - title: BS themes
56
56
  href: /pages/public/learn/roundtrip/themes/
57
57
  icon: theme-light-dark
58
- - title: Lunr search
59
- href: /pages/public/learn/roundtrip/lunr/
58
+ - title: QuickSearch
59
+ href: /pages/public/learn/roundtrip/quicksearch/
60
60
  icon: magnify
61
61
  - title: FAM buttons
62
62
  href: /pages/public/learn/roundtrip/fam/
63
63
  icon: alpha-a-circle-outline
64
64
 
65
- - title: Web in a Day
66
- icon: rocket
67
- dropdown:
68
- - title: Meet & Greet Jekyll
69
- href: /pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
70
- icon: flag-checkered
71
- - title: Getting prepared
72
- href: "#" # /pages/public/learn/kickstarter/web_in_a_day/preparations/
73
- icon: cart
74
- - title: A first awesome Web
75
- href: "#" # /pages/public/learn/kickstarter/web_in_a_day/first_awesome_web/
76
- icon: creation
77
- - title: Writing Articles
78
- href: "#"
79
- icon: file-document-box-outline
80
- - title: Creating Blog Posts
81
- href: "#"
82
- icon: file-document-box-multiple-outline
83
- - title: Design your Site
84
- href: "#"
85
- icon: wrench
86
- - title: Using Git
87
- href: "#"
88
- icon: git
89
- - title: Deploy a Web
90
- href: /pages/public/learn/kickstarter/web_in_a_day/document/deploy_aw_eb/
91
- icon: web
92
- - title: Wrapping up
93
- href: "#"
94
- icon: backup-restore
95
-
96
- # ------------------------------------------------------------------------------
97
- # Menu TOOLS
98
- #
99
- - item: Tools
100
- sublevel:
101
- - title: Gallery Previewer
102
- href: /pages/public/previewer/justified_gallery/
103
- icon: view-dashboard
104
- - title: MDI Icon Previewer
105
- href: /pages/public/previewer/mdi_font/
106
- icon: incognito
107
- - title: Twitter Emoji Previewer
108
- href: /pages/public/previewer/twitter_emoji/
109
- icon: sticker-emoji
110
- - title: Rouge Theme Previewer
111
- href: /pages/public/previewer/rouge/
112
- icon: code-tags
113
- - title: Automagic iFrame
114
- href: /pages/public/iframer/
115
- icon: image-filter-none
116
-
117
65
  # ------------------------------------------------------------------------------
118
66
  # Menu BLOG
119
67
  #
@@ -270,16 +218,6 @@
270
218
  - title: This site
271
219
  icon: home-outline
272
220
  href: /pages/public/about/site
273
- icon: home-variant
274
- - title: Privacy
275
- icon: heart
276
- href: /pages/public/legal/en/privacy/
277
- - title: Impress
278
- icon: gavel
279
- href: /pages/public/legal/en/impress/
280
- - title: Become a Patron
281
- icon: patreon
282
- href: /pages/public/about/become_a_patron/
283
221
 
284
222
  # ------------------------------------------------------------------------------
285
223
  # END config