j1-template 2021.2.12 → 2021.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/compress.html +12 -4
  3. data/assets/data/private.json +49 -0
  4. data/assets/themes/j1/adapter/js/{j1scroll.js → scroller.js} +285 -304
  5. data/assets/themes/j1/core/js/template.js +4098 -223
  6. data/assets/themes/j1/core/js/template.min.js +9 -8
  7. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  8. data/assets/themes/j1/modules/{j1Deepl/js/j1deepl.js → deeplAPI/js/deeplAPI.js} +36 -11
  9. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +18 -0
  10. data/assets/themes/j1/modules/{j1Scroll → scroller}/css/theme/uno.css +2 -2
  11. data/assets/themes/j1/modules/{j1Scroll → scroller}/css/theme/uno.min.css +0 -0
  12. data/assets/themes/j1/modules/scroller/js/scroller.js +346 -0
  13. data/assets/themes/j1/modules/scroller/js/scroller.min.js +15 -0
  14. data/lib/j1/version.rb +1 -1
  15. data/lib/starter_web/Gemfile +1 -1
  16. data/lib/starter_web/_config.yml +6 -2
  17. data/lib/starter_web/_data/modules/{j1scroll.yml → scroller.yml} +30 -5
  18. data/lib/starter_web/_data/private.default.yml +8 -1
  19. data/lib/starter_web/_data/private.yml +8 -1
  20. data/lib/starter_web/_data/resources.yml +14 -35
  21. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  22. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  23. data/lib/starter_web/index.html +2 -1
  24. data/lib/starter_web/package.json +1 -1
  25. data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
  26. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +743 -743
  27. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  28. data/lib/starter_web/utilsrv/package.json +1 -1
  29. metadata +11 -12
  30. data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +0 -18
  31. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +0 -280
  32. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +0 -15
  33. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +0 -73
  34. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +0 -15
@@ -23,9 +23,16 @@
23
23
  # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24
24
  global:
25
25
 
26
- # used by J1 to encrypt cookies
26
+ # used by J1 for encryption
27
27
  session_secret: <your-secret-string>
28
28
 
29
+ # ==============================================================================
30
+ # Translator settings
31
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32
+ translators:
33
+
34
+ deepl:
35
+ auth_key: 1c360075-1a30-28c7-e4eb-2c0c0164ce4b
29
36
 
30
37
  # ==============================================================================
31
38
  # MODULE settings
@@ -1247,13 +1247,13 @@ resources:
1247
1247
  init_function: [ j1.adapter.rtextResizer.init ]
1248
1248
 
1249
1249
  # ----------------------------------------------------------------------------
1250
- # showOnScroll, JS API to animate container elements
1250
+ # scroller, JS API to implement infinite scroll
1251
1251
  #
1252
- - name: showOnScroll
1252
+ - name: scroller
1253
1253
  resource:
1254
- id: showonscroll
1254
+ id: scroller
1255
1255
  enabled: true
1256
- comment: J1 showOnScroll
1256
+ comment: scroller
1257
1257
  region: head
1258
1258
  layout: [ home, page, post, collection, blog_archive ]
1259
1259
  required: ondemand # always | ondemand
@@ -1262,40 +1262,19 @@ resources:
1262
1262
  dependencies: false
1263
1263
  pass_init_data: false
1264
1264
  data:
1265
- css: []
1266
- files: []
1267
- js: [ modules/showOnScroll/js/showOnScroll ]
1268
- init_function: []
1269
-
1270
- # ----------------------------------------------------------------------------
1271
- # j1Scroll, JS API to implement smooth scrolling pages
1272
- #
1273
- - name: j1Scroll
1274
- resource:
1275
- id: j1scroll
1276
- enabled: true
1277
- comment: j1Scroll
1278
- region: head
1279
- layout: [ home, page, post, collection, blog_archive ]
1280
- required: ondemand # always | ondemand
1281
- preload: false # property currently unused
1282
- script_load: defer
1283
- dependencies: false
1284
- pass_init_data: false
1285
- data:
1286
- css: [ modules/j1Scroll/css/theme/uno ]
1287
- files: [ adapter/js/j1scroll.js ]
1288
- js: [ modules/j1Scroll/js/j1scroll ]
1289
- init_function: [ j1.adapter.j1Scroll.init ]
1265
+ css: [ modules/scroller/css/theme/uno ]
1266
+ files: [ adapter/js/scroller.js ]
1267
+ js: [ modules/scroller/js/scroller ]
1268
+ init_function: [ j1.adapter.scroller.init ]
1290
1269
 
1291
1270
  # ----------------------------------------------------------------------------
1292
- # j1Deepl, JS Wrapper for the Deepl API
1271
+ # deeplAPI, JS Wrapper for the DeepL API
1293
1272
  #
1294
- - name: j1Deepl
1273
+ - name: deeplAPI
1295
1274
  resource:
1296
- id: j1deepl
1275
+ id: deeplAPI
1297
1276
  enabled: true
1298
- comment: j1Deepl
1277
+ comment: deeplAPI
1299
1278
  region: head
1300
1279
  layout: [ home, page, post, collection, blog_archive ]
1301
1280
  required: ondemand
@@ -1306,11 +1285,11 @@ resources:
1306
1285
  data:
1307
1286
  css: []
1308
1287
  files: []
1309
- js: [ modules/j1Deepl/js/j1deepl ]
1288
+ js: [ modules/deeplAPI/js/deeplAPI ]
1310
1289
  init_function: []
1311
1290
 
1312
1291
  # ----------------------------------------------------------------------------
1313
- # msDropdown, JS API to create themeable HTML <select> elements
1292
+ # msDropdown, JS API to create themeable HTML <select> elements (dropdowns)
1314
1293
  #
1315
1294
  - name: msDropdown
1316
1295
  resource:
@@ -433,7 +433,7 @@ end::tables[]
433
433
  // -----------------------------------------------------------------------------
434
434
  tag::products[]
435
435
  :j1--license: MIT License
436
- :j1--version: 2021.2.12
436
+ :j1--version: 2021.3.0
437
437
  :j1--site-name: Jekyll One
438
438
  end::products[]
439
439
 
@@ -364,6 +364,6 @@ end
364
364
 
365
365
  module Jekyll
366
366
  module J1LunrSearch
367
- VERSION = '2021.2.12'
367
+ VERSION = '2021.3.0'
368
368
  end
369
369
  end
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  layout: home
3
+ compress: true
3
4
 
4
5
  title: Jekyll One
5
6
  tagline: starter web
@@ -31,7 +32,7 @@ toc: false
31
32
 
32
33
  regenerate: true
33
34
 
34
- resources: [ animate, j1scroll, showonscroll ]
35
+ resources: [ animate, scroller ]
35
36
  resource_options:
36
37
  - attic:
37
38
  padding_top: 400
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1_starter",
4
- "version": "2021.2.12",
4
+ "version": "2021.3.0",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -23,7 +23,7 @@ comments: false
23
23
 
24
24
  regenerate: true # needed to update pagination pages
25
25
 
26
- resources: [ animate, j1scroll ]
26
+ resources: [ animate, scroller ]
27
27
  resource_options:
28
28
  - attic:
29
29
  padding_top: 400