j1-template 2022.6.0 → 2022.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +1 -13
  3. data/_includes/themes/j1/modules/searcher/generator.html +61 -0
  4. data/_includes/themes/j1/modules/{navigator → searcher}/procedures/topsearch.proc +61 -40
  5. data/assets/data/banner.html +2 -2
  6. data/assets/data/top_search_modal.0.html +142 -0
  7. data/assets/data/top_search_modal.html +121 -0
  8. data/assets/themes/j1/adapter/js/lunr.js +34 -1
  9. data/assets/themes/j1/adapter/js/navigator.js +8 -60
  10. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +28 -59
  11. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -3
  12. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +76 -70
  13. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  14. data/assets/themes/j1/core/js/template.js +1 -41
  15. data/assets/themes/j1/core/js/template.min.js +1 -1
  16. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  17. data/lib/j1/version.rb +1 -1
  18. data/lib/starter_web/README.md +5 -5
  19. data/lib/starter_web/_config.yml +1 -1
  20. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  21. data/lib/starter_web/_data/j1_config.yml +2 -2
  22. data/lib/starter_web/_data/layouts/default.yml +16 -35
  23. data/lib/starter_web/_data/modules/defaults/lunr.yml +21 -0
  24. data/lib/starter_web/_data/modules/defaults/navigator.yml +16 -17
  25. data/lib/starter_web/_data/modules/lunr.yml +7 -0
  26. data/lib/starter_web/_data/resources.yml +3 -3
  27. data/lib/starter_web/_data/templates/feed.xml +1 -1
  28. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  29. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
  30. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +1 -1
  31. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
  32. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
  33. data/lib/starter_web/index.html +1 -1
  34. data/lib/starter_web/package.json +1 -1
  35. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
  36. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
  37. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1 -9
  38. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  39. data/lib/starter_web/utilsrv/package.json +1 -1
  40. metadata +6 -3
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2022.6.0'
2
+ VERSION = '2022.6.1'
3
3
  end
@@ -380,7 +380,7 @@ This command creates a **initial** project in folder **my-starter**.
380
380
  2022-07-30 18:12:12 - GENERATE: Resolving dependencies...
381
381
  2022-07-30 18:12:12 - GENERATE: Using bundler 2.3.7
382
382
  ...
383
- 2022-07-30 18:12:12 - GENERATE: Using j1-template 2022.6.0.rc2
383
+ 2022-07-30 18:12:12 - GENERATE: Using j1-template 2022.6.1
384
384
  2022-07-30 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
385
385
  2022-07-30 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
386
386
  2022-07-30 18:12:12 - GENERATE: C:/Users/xxx/.gem/ruby/3.1.0;C:/DevTools/Ruby31-x64/lib/ruby/gems/3.1.0;
@@ -416,7 +416,7 @@ commands are available as well.
416
416
  2022-07-30 18:17:48 - SETUP: Initialize the project ...
417
417
  2022-07-30 18:17:48 - SETUP: Be patient, this will take a while ...
418
418
  2022-07-30 18:17:49 - SETUP:
419
- 2022-07-30 18:17:49 - SETUP: > j1@2022.6.0 setup C:\Users\xxx\j1-projects\my-starter
419
+ 2022-07-30 18:17:49 - SETUP: > j1@2022.6.1 setup C:\Users\xxx\j1-projects\my-starter
420
420
  2022-07-30 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
421
421
  2022-07-30 18:17:49 - SETUP:
422
422
  2022-07-30 18:17:50 - SETUP: Setup project for first use ..
@@ -461,7 +461,7 @@ browser. Let's start the journey ...
461
461
  Check setup state of the J1 project ...
462
462
  2022-07-30 18:26:18 - SITE: Starting up your site ...
463
463
  2022-07-30 18:26:18 - SITE:
464
- 2022-07-30 18:26:18 - SITE: > j1@2022.6.0 j1-site C:\Users\jadams\j1-projects\my-starter
464
+ 2022-07-30 18:26:18 - SITE: > j1@2022.6.1 j1-site C:\Users\jadams\j1-projects\my-starter
465
465
  2022-07-30 18:26:18 - SITE: > run-p -s j1-site:*
466
466
  2022-07-30 18:26:18 - SITE:
467
467
  2022-07-30 18:26:20 - SITE: Startup UTILSRV ..
@@ -500,7 +500,7 @@ Check setup state of the J1 project ...
500
500
  REBUILD: Rebuild the projects website ...
501
501
  REBUILD: Be patient, this will take a while ...
502
502
  2022-07-30 18:45:09 - REBUILD:
503
- 2022-07-30 18:45:09 - REBUILD: > j1@2022.6.0 rebuild C:\Users\xxx\j1-projects\my-starter
503
+ 2022-07-30 18:45:09 - REBUILD: > j1@2022.6.1 rebuild C:\Users\xxx\j1-projects\my-starter
504
504
  2022-07-30 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
505
505
  2022-07-30 18:45:09 - REBUILD:
506
506
  2022-07-30 18:45:10 - REBUILD: Rebuild site incremental ..
@@ -548,7 +548,7 @@ using Lerna for all packages:
548
548
  2022-07-30 18:29:07 - RESET: Reset the project to factory state ...
549
549
  2022-07-30 18:29:07 - RESET: Be patient, this will take a while ...
550
550
  2022-07-30 18:29:08 - RESET:
551
- 2022-07-30 18:29:08 - RESET: > j1@2022.6.0 reset C:\Users\xxx\j1-projects\my-starter
551
+ 2022-07-30 18:29:08 - RESET: > j1@2022.6.1 reset C:\Users\xxx\j1-projects\my-starter
552
552
  2022-07-30 18:29:08 - RESET: > run-s -s reset:*
553
553
  2022-07-30 18:29:08 - RESET:
554
554
  2022-07-30 18:29:08 - RESET: Reset project to factory state ..
@@ -53,7 +53,7 @@ environment: development
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2022.6.0
56
+ version: 2022.6.1
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -129,7 +129,7 @@ settings:
129
129
  # id: new-version
130
130
  # image: /assets/images/sticker/600x600/sticker-new-version.png
131
131
  # size: 200
132
- # title: Get new version 2022.6.0
132
+ # title: Get new version 2022.6.1
133
133
  # style: "width: 140px; height: 120px;"
134
134
  # href: "https://rubygems.org/gems/j1-template"
135
135
  # target: blank
@@ -200,10 +200,10 @@ posts:
200
200
  # NOT used for J1 to be displayed in preview boxes or J1 Posts Navigator
201
201
  # views.
202
202
  #
203
- # Default: [ posts, public, private, protected ]
203
+ # Default: [ posts, public, private, protected, featured, series ]
204
204
  #
205
205
  # ----------------------------------------------------------------------------
206
- category_blacklist: [ posts, public, private, protected ]
206
+ category_blacklist: [ posts, public, private, protected, featured, series ]
207
207
 
208
208
 
209
209
  # ==============================================================================
@@ -110,17 +110,7 @@ lanes:
110
110
  # Jekyll configuration (_config.yml) or for modules by the resources
111
111
  # configuration (resources.yml).
112
112
  #
113
- # NOTE:
114
- # Do NOT add any HTML CONTENT here (directly).
115
- # For the J1 Template GEM (J1 run-time version), ONLY the building
116
- # blocks already prepared can be used to generate the contents of
117
- # a page. To change the content for a 'lane', find the configuration
118
- # for 'metadata' and 'resources' with:
119
- #
120
- # metadata: ~/_config.yml (Jekyll configuration for the site)
121
- # resources: ~/_data/resources.yml (all modules used for the site)
122
- #
123
- # ----------------------------------------------------------------------------
113
+ # ============================================================================
124
114
 
125
115
  # METADATA loader
126
116
  #
@@ -143,22 +133,16 @@ lanes:
143
133
  path: layouts
144
134
  file: layout_resource_generator.html
145
135
 
136
+
146
137
  # ----------------------------------------------------------------------------
147
138
  # NAVIGATION region (body-navigation)
148
139
  # The navigation region contains the NAV module that generates e.g., the
149
140
  # menu bar or the quick links section.
150
141
  #
151
- # NOTE:
152
- # Do NOT add any HTML CONTENT here (directly).
153
- # For the J1 Template GEM (J1 run-time version), ONLY the building
154
- # blocks already prepared can be used to generate the contents of
155
- # a page. To change the content for a 'lane', find the configuration
156
- # for 'metadata' and 'resources' with:
157
- #
158
- # general settings: ~/_data/modules/navigator.yml
159
- # menu bar: ~/_data/modules/navigator_menu.yml
160
- #
142
+ # ============================================================================
143
+
161
144
  # ----------------------------------------------------------------------------
145
+ # NAV Module loader
162
146
  #
163
147
  - lane:
164
148
  enabled: true
@@ -174,21 +158,18 @@ lanes:
174
158
  # The footer region contains visible data (the page footer) and NOT
175
159
  # visible data to place all initializers for the JS componets specified.
176
160
  #
177
- # NOTE:
178
- # Do NOT add any HTML CONTENT here (directly).
179
- # For the J1 Template GEM (J1 run-time version), ONLY the building
180
- # blocks already prepared can be used to generate the contents of
181
- # a page. To change the content for a 'lane', find the configuration
182
- # for the 'page footer' and 'resources' with:
183
- #
184
- # page footer: ~/_data/blocks/footer.yml
185
- # resources: ~/_data/resources.yml
186
- #
187
- # NOTE:
188
- # The exception container is a placeholder (above the page footer)
189
- # for displaying error messages in case something went wrong.
190
- #
161
+ # ============================================================================
162
+
191
163
  # ----------------------------------------------------------------------------
164
+ # SEARCH Module loader
165
+ #
166
+ - lane:
167
+ enabled: true
168
+ region: body-navigation
169
+ type: sync
170
+ base: _includes/themes/j1
171
+ path: modules/searcher
172
+ file: generator.html
192
173
 
193
174
  # ----------------------------------------------------------------------------
194
175
  # EXCEPTION container
@@ -52,5 +52,26 @@ defaults:
52
52
  #
53
53
  emptyMsg: # '<p style="margin-left: 3.5rem">No matches.</p>'
54
54
 
55
+
56
+ # ----------------------------------------------------------------------------
57
+ # TopSearch
58
+ #
59
+ topsearch:
60
+ enabled: false
61
+
62
+ container_id: search_modal
63
+ type: quicksearch # quicksearch | elasticsearch
64
+ icon_family: MDI
65
+ icon_color: "#FFFFFF" # md-white
66
+ icon_size: mdi-2x
67
+ search_icon: magnify
68
+ close_icon: close
69
+ clear_icon: format-clear
70
+ input_color: rgba(0, 0, 0, 0.7) # rgba-darken-700
71
+ background_color: transparent # md-grey-50
72
+ placeholder: Your search expression
73
+ search_heading_lead: ""
74
+ result_heading_lead: ""
75
+
55
76
  # ------------------------------------------------------------------------------
56
77
  # END config
@@ -227,23 +227,22 @@ defaults:
227
227
  # ----------------------------------------------------------------------------
228
228
  # NavTopsearch
229
229
  #
230
- nav_topsearch:
231
- enabled: false
232
-
233
- container_id: navigator_nav_topsearch
234
-
235
- type: quicksearch
236
- icon_family: MDI
237
- icon_color: "#FFFFFF" # md-white
238
- icon_size: mdi-2x
239
- search_icon: magnify
240
- close_icon: close
241
- clear_icon: format-clear
242
- input_color: rgba(0, 0, 0, 0.7) # rgba-darken-700
243
- background_color: transparent # md-grey-50
244
- placeholder: Your search expression
245
- search_heading_lead: ""
246
- result_heading_lead: ""
230
+ # nav_topsearch:
231
+ # enabled: false
232
+ #
233
+ # container_id: search_modal
234
+ # type: quicksearch # quicksearch | elasticsearch
235
+ # icon_family: MDI
236
+ # icon_color: "#FFFFFF" # md-white
237
+ # icon_size: mdi-2x
238
+ # search_icon: magnify
239
+ # close_icon: close
240
+ # clear_icon: format-clear
241
+ # input_color: rgba(0, 0, 0, 0.7) # rgba-darken-700
242
+ # background_color: transparent # md-grey-50
243
+ # placeholder: Your search expression
244
+ # search_heading_lead: ""
245
+ # result_heading_lead: ""
247
246
 
248
247
  # ------------------------------------------------------------------------------
249
248
  # END config
@@ -34,5 +34,12 @@ settings:
34
34
  stopwords_locale: en
35
35
  min_length: 3
36
36
 
37
+
38
+ # ----------------------------------------------------------------------------
39
+ # TopSearch
40
+ #
41
+ topsearch:
42
+ enabled: true
43
+
37
44
  # ------------------------------------------------------------------------------
38
45
  # END config
@@ -1893,7 +1893,7 @@ resources:
1893
1893
  init_function: []
1894
1894
 
1895
1895
  # ----------------------------------------------------------------------------
1896
- # Waves, JS implementation to provide ...
1896
+ # Waves
1897
1897
  #
1898
1898
  - name: Waves
1899
1899
  resource:
@@ -1902,8 +1902,8 @@ resources:
1902
1902
  id: waves
1903
1903
  comment: Module Waves
1904
1904
  region: head
1905
- layout: [ home ]
1906
- required: ondemand
1905
+ layout: [ all ]
1906
+ required: always
1907
1907
  preload: false
1908
1908
  script_load: sync
1909
1909
  dependencies: false
@@ -55,7 +55,7 @@
55
55
  <id>{{ page.url | absolute_url | xml_escape }}</id>
56
56
  <post_limited>{{ limit_posts }}</post_limited>
57
57
  <template_name>J1 Template</template_name>
58
- <template_version>2022.6.0</template_version>
58
+ <template_version>2022.6.1</template_version>
59
59
 
60
60
  {% assign title = site.title | default: site.name %}
61
61
  {% if page.collection != "posts" %}
@@ -372,6 +372,6 @@ end
372
372
 
373
373
  module Jekyll
374
374
  module J1LunrSearch
375
- VERSION = '2022.6.0'
375
+ VERSION = '2022.6.1'
376
376
  end
377
377
  end
@@ -3,7 +3,7 @@ title: Site Generators
3
3
  tagline: Top Open Source
4
4
 
5
5
  categories: [ Jekyll ]
6
- tags: [ J1, Template ]
6
+ tags: [ Template ]
7
7
 
8
8
  image:
9
9
  path: /assets/images/modules/attics/machine-generator-1920x1280.jpg
@@ -3,7 +3,7 @@ title: J1 Template
3
3
  tagline: First Version Is Out
4
4
 
5
5
  categories: [ Jekyll ]
6
- tags: [ J1, Template ]
6
+ tags: [ Template ]
7
7
 
8
8
  image:
9
9
  path: /assets/images/modules/attics/1920x1280/alexander-redl.jpg
@@ -3,7 +3,7 @@ title: Minneapolis
3
3
  tagline: Largest City Of Minnesota
4
4
 
5
5
  categories: [ Wikipedia ]
6
- tags: [ USA, Cities, Minneapolis ]
6
+ tags: [ USA, Cities ]
7
7
 
8
8
  series: wiki-series
9
9
 
@@ -3,7 +3,7 @@ title: Narcisse Snake Dens
3
3
  tagline: Largest Snake Population
4
4
 
5
5
  categories: [ Wikipedia ]
6
- tags: [ Canada, Cities, Narcisse ]
6
+ tags: [ Canada, Cities ]
7
7
 
8
8
  series: wiki-series
9
9
 
@@ -82,7 +82,7 @@ accordion:
82
82
  noting that just about any HTML can go within the <code>.accordion-body</code>, though the
83
83
  transition does limit overflow.
84
84
 
85
- resources: [ animate, iconify, scroller, waves ]
85
+ resources: [ animate, iconify, scroller ]
86
86
  resource_options:
87
87
  - attic:
88
88
  circuit: true
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1",
4
- "version": "2022.6.0",
4
+ "version": "2022.6.1",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -280,7 +280,7 @@ site_category_word_list: {{site_category_word_list | debug}}
280
280
  </p>
281
281
 
282
282
  </div>
283
- <a class="card-link text-lowercase"
283
+ <a class="card-link md-grey-900 text-lowercase"
284
284
  href="{{post.url}}#readmore">
285
285
  {{readmore_text}} · {{post.tagline}}
286
286
  </a>
@@ -290,7 +290,7 @@ site_category_word_list: {{site_category_word_list | debug}}
290
290
  </p>
291
291
 
292
292
  </div>
293
- <a class="card-link text-lowercase"
293
+ <a class="card-link md-grey-900 text-lowercase"
294
294
  href="{{post.url}}#readmore">
295
295
  {{readmore_text}} · {{post.tagline}}
296
296
  </a>
@@ -2489,7 +2489,7 @@ mdi:bootstrap[18px, mdi-md-deep-purple-400]
2489
2489
  link:{url-bs-docs--components-modal}[Bootstrap Docs {char-middot} Modal, {browser-window--new}]
2490
2490
 
2491
2491
  .Modal types
2492
- [cols="2a,8a,2a", options="header", width="100%", role="rtable"]
2492
+ [cols="3a,7a,2a", options="header", width="100%", role="rtable"]
2493
2493
  |===
2494
2494
  |Type |Description |Launch Example
2495
2495
 
@@ -2873,10 +2873,6 @@ Popovers and Tooltips rely on the 3rd party library __Popper.js__ for positionin
2873
2873
  To make them properly positioned, the Javascript library `popper.min.js` has to
2874
2874
  be included before `bootstrap.js` in order to make popovers and tooltips to work.
2875
2875
 
2876
- ==== Tooltips
2877
-
2878
- Bla bla blu.
2879
-
2880
2876
  mdi:bootstrap[18px, mdi-md-deep-purple-400]
2881
2877
  link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {browser-window--new}]
2882
2878
 
@@ -2918,10 +2914,6 @@ link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {
2918
2914
  </button>
2919
2915
  ----
2920
2916
 
2921
- ==== Popovers
2922
-
2923
- Bla bla blu.
2924
-
2925
2917
  mdi:bootstrap[18px, mdi-md-deep-purple-400]
2926
2918
  link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {browser-window--new}]
2927
2919
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2022.6.0",
4
+ "version": "2022.6.1",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2022.6.0",
4
+ "version": "2022.6.1",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: j1-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2022.6.0
4
+ version: 2022.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - juergen_jekyll_one
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-16 00:00:00.000000000 Z
11
+ date: 2022-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -255,7 +255,8 @@ files:
255
255
  - _includes/themes/j1/modules/ads/google_ad_top_home.html
256
256
  - _includes/themes/j1/modules/attics/generator.html
257
257
  - _includes/themes/j1/modules/navigator/generator.html
258
- - _includes/themes/j1/modules/navigator/procedures/topsearch.proc
258
+ - _includes/themes/j1/modules/searcher/generator.html
259
+ - _includes/themes/j1/modules/searcher/procedures/topsearch.proc
259
260
  - _includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc
260
261
  - _includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc
261
262
  - _includes/themes/j1/procedures/blocks/footer/boxes/issue.proc
@@ -338,6 +339,8 @@ files:
338
339
  - assets/data/rtext_resizer.html
339
340
  - assets/data/themes.bootswatch.json
340
341
  - assets/data/themes.json
342
+ - assets/data/top_search_modal.0.html
343
+ - assets/data/top_search_modal.html
341
344
  - assets/data/translator.html
342
345
  - assets/error_pages/HTTP204.html
343
346
  - assets/error_pages/HTTP400.html