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.
- checksums.yaml +4 -4
- data/_layouts/compress.html +12 -4
- data/assets/data/private.json +49 -0
- data/assets/themes/j1/adapter/js/{j1scroll.js → scroller.js} +285 -304
- data/assets/themes/j1/core/js/template.js +4098 -223
- data/assets/themes/j1/core/js/template.min.js +9 -8
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/{j1Deepl/js/j1deepl.js → deeplAPI/js/deeplAPI.js} +36 -11
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +18 -0
- data/assets/themes/j1/modules/{j1Scroll → scroller}/css/theme/uno.css +2 -2
- data/assets/themes/j1/modules/{j1Scroll → scroller}/css/theme/uno.min.css +0 -0
- data/assets/themes/j1/modules/scroller/js/scroller.js +346 -0
- data/assets/themes/j1/modules/scroller/js/scroller.min.js +15 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +6 -2
- data/lib/starter_web/_data/modules/{j1scroll.yml → scroller.yml} +30 -5
- data/lib/starter_web/_data/private.default.yml +8 -1
- data/lib/starter_web/_data/private.yml +8 -1
- data/lib/starter_web/_data/resources.yml +14 -35
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/index.html +2 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +743 -743
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +11 -12
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +0 -18
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +0 -280
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +0 -15
- data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +0 -73
- 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
|
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
|
-
#
|
1250
|
+
# scroller, JS API to implement infinite scroll
|
1251
1251
|
#
|
1252
|
-
- name:
|
1252
|
+
- name: scroller
|
1253
1253
|
resource:
|
1254
|
-
id:
|
1254
|
+
id: scroller
|
1255
1255
|
enabled: true
|
1256
|
-
comment:
|
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/
|
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
|
-
#
|
1271
|
+
# deeplAPI, JS Wrapper for the DeepL API
|
1293
1272
|
#
|
1294
|
-
- name:
|
1273
|
+
- name: deeplAPI
|
1295
1274
|
resource:
|
1296
|
-
id:
|
1275
|
+
id: deeplAPI
|
1297
1276
|
enabled: true
|
1298
|
-
comment:
|
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/
|
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.
|
436
|
+
:j1--version: 2021.3.0
|
437
437
|
:j1--site-name: Jekyll One
|
438
438
|
end::products[]
|
439
439
|
|
data/lib/starter_web/index.html
CHANGED
@@ -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,
|
35
|
+
resources: [ animate, scroller ]
|
35
36
|
resource_options:
|
36
37
|
- attic:
|
37
38
|
padding_top: 400
|