j1_template 2019.4.7 → 2019.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +24 -9
  3. data/_includes/themes/j1/layouts/content_generator_page.html +24 -9
  4. data/_includes/themes/j1/layouts/content_generator_post.html +27 -15
  5. data/_includes/themes/j1/layouts/layout_theme_generator.html +39 -19
  6. data/_includes/themes/j1/layouts/layout_theme_generator.new.html +118 -0
  7. data/_includes/themes/j1/layouts/layout_theme_generator.org.html +119 -0
  8. data/_includes/themes/j1/procedures/global/pager.proc +49 -51
  9. data/lib/j1/version.rb +1 -1
  10. data/lib/j1_app/j1_auth_manager/auth_manager.rb +27 -29
  11. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +12 -8
  12. data/lib/starter_web/Gemfile +1 -1
  13. data/lib/starter_web/_cc_test_data/_config.yml +1 -1
  14. data/lib/starter_web/_cc_test_data/_data/blocks/banner.yml +57 -0
  15. data/lib/starter_web/_cc_test_data/_data/blocks/defaults/banner.yml +55 -0
  16. data/lib/starter_web/_cc_test_data/_data/blocks/defaults/footer.yml +3 -3
  17. data/lib/starter_web/_cc_test_data/_data/blocks/defaults/panel.yml +30 -38
  18. data/lib/starter_web/_cc_test_data/_data/blocks/footer.yml +181 -110
  19. data/lib/starter_web/_cc_test_data/_data/modules/back2top.yml +1 -1
  20. data/lib/starter_web/_cc_test_data/_data/modules/defaults/smooth_scroll.yml +169 -0
  21. data/lib/starter_web/_cc_test_data/_data/modules/defaults/theme_switcher.yml +168 -0
  22. data/lib/starter_web/_cc_test_data/_data/modules/smooth_scroll.yml +169 -0
  23. data/lib/starter_web/_cc_test_data/_data/modules/theme_switcher.yml +168 -0
  24. data/lib/starter_web/_config.yml +74 -71
  25. data/lib/starter_web/_data/blocks/banner.yml +57 -0
  26. data/lib/starter_web/_data/blocks/defaults/banner.yml +55 -0
  27. data/lib/starter_web/_data/modules/{j1_navigator_menu.yml → _old_configs/j1_navigator_menu.yml} +0 -0
  28. data/lib/starter_web/_data/modules/{j1_parallax.yml → _old_configs/j1_parallax.yml} +0 -0
  29. data/lib/starter_web/_data/modules/{j1_smooth_scroll.yml → _old_configs/j1_smooth_scroll.yml} +0 -0
  30. data/lib/starter_web/_data/modules/{j1_stickybits.yml → _old_configs/j1_stickybits.yml} +0 -0
  31. data/lib/starter_web/_data/modules/{j1_theme_switcher.yml → _old_configs/j1_theme_switcher.yml} +0 -0
  32. data/lib/starter_web/_data/modules/{j1_toccer.yml → _old_configs/j1_toccer.yml} +0 -0
  33. data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +169 -0
  34. data/lib/starter_web/_data/modules/defaults/stickybits.yml +37 -0
  35. data/lib/starter_web/_data/modules/defaults/theme_switcher.yml +168 -0
  36. data/lib/starter_web/_data/modules/defaults/toccer.yml +172 -0
  37. data/lib/starter_web/_data/modules/navigator_menu.yml +306 -0
  38. data/lib/starter_web/_data/modules/smooth_scroll.yml +169 -0
  39. data/lib/starter_web/_data/modules/stickybits.yml +38 -0
  40. data/lib/starter_web/_data/modules/theme_switcher.yml +168 -0
  41. data/lib/starter_web/_data/modules/toccer.yml +172 -0
  42. data/lib/starter_web/_data/resources.yml +23 -24
  43. data/lib/starter_web/_data/template_settings.yml +2 -2
  44. data/lib/starter_web/assets/data/authclient.html +9 -9
  45. data/lib/starter_web/assets/data/banner.html +24 -19
  46. data/lib/starter_web/assets/data/cookie_consent.html +9 -9
  47. data/lib/starter_web/assets/data/footer.html +9 -10
  48. data/lib/starter_web/assets/data/menu.html +23 -16
  49. data/lib/starter_web/assets/data/panel.html +9 -10
  50. data/lib/starter_web/assets/data/sidebar.html +9 -10
  51. data/lib/starter_web/assets/data/webhook.html +8 -8
  52. data/lib/starter_web/assets/images/pages/roundtrip/package.json +1 -1
  53. data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +11 -9
  54. data/lib/starter_web/assets/themes/j1/adapter/js/cookie_consent.js +5 -5
  55. data/lib/starter_web/assets/themes/j1/adapter/js/logger.js +8 -18
  56. data/lib/starter_web/assets/themes/j1/adapter/js/master_header.js +48 -70
  57. data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +45 -27
  58. data/lib/starter_web/assets/themes/j1/adapter/js/octokit.app_only.js +433 -0
  59. data/lib/starter_web/assets/themes/j1/adapter/js/octokit.js +179 -192
  60. data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +29 -28
  61. data/lib/starter_web/assets/themes/j1/adapter/js/searcher.js +5 -5
  62. data/lib/starter_web/assets/themes/j1/adapter/js/stickybits.js +14 -13
  63. data/lib/starter_web/assets/themes/j1/adapter/js/switcher.js +56 -52
  64. data/lib/starter_web/assets/themes/j1/adapter/js/template.js +256 -213
  65. data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +24 -21
  66. data/lib/starter_web/assets/themes/j1/core/js/template.js +9 -9
  67. data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
  68. data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
  69. data/lib/starter_web/package.json +1 -1
  70. data/lib/starter_web/pages/public/start/downloads/quickstarter/100_linux_starter.adoc +1 -1
  71. data/lib/starter_web/pages/public/start/roundtrip/420_responsive_tables_extensions.adoc +5 -0
  72. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  73. data/lib/starter_web/utilsrv/package.json +1 -1
  74. metadata +38 -9
  75. data/lib/starter_web/_data/resources.new.yml +0 -876
@@ -1,876 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/resources/resources.yml
3
- # Configuration data to specify ALL the resources used by a site|layout
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2019 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
12
- # ------------------------------------------------------------------------------
13
- # NOTE:
14
- # By J1 template, "Liquid Procedures" are being used intensively. To load
15
- # HTML data for a layout, the loader procedure places the data based this
16
- # YAML data file into the REGION specified with a LANE.
17
- # ------------------------------------------------------------------------------
18
-
19
- # ------------------------------------------------------------------------------
20
- # RESOURCE configuration settings for SYNCHRONOUS (sync) and
21
- # ASYNCHRONOUS (async|defer) LOAD for all LAYOUTS and (content) PAGES
22
-
23
- # ------------------------------------------------------------------------------
24
- # GLOBALS
25
- # ------------------------------------------------------------------------------
26
- #
27
- # THE GLOBALS sequence (array) contains general parameters used for
28
- # ALL resource definitions
29
- #
30
- # base_url
31
- # ------------------------------------------------------------------------------
32
- # For J1 template, all CSS and JS resources are stored as ASSETS
33
- # under ~/assets/themes/j1. To shorten the filenames to be configured,
34
- # base_url points to the (base) asset path.
35
- #
36
- # type: string
37
- # default: /assets/themes/j1
38
- #
39
- # extensions
40
- # ------------------------------------------------------------------------------
41
- # For CSS and JS resources, >>NO<< extention (.css|.js) are given
42
- # for CSS and JS files configured with a RESOURCE. EXTENSIONS for
43
- # CSS|JS resources are calculated AUTOMATICALLY based on the MODE
44
- # (development|production) detected for a BUILD.
45
- #
46
- # defaults
47
- # ------------------------------------------------------------------------------
48
- # css_dev: css
49
- # css_prod: min.css
50
- # js_dev: js
51
- # js_prod: min.js
52
- #
53
- # location
54
- # ------------------------------------------------------------------------------
55
- # For J1 template, resources can be loaded from LOCAL assets folder
56
- # (~/assets/themes/j1) OR from REMOTE using e.g. a CDN. Resources
57
- # are written as LOCATORS, simple JSON objects consists in two
58
- # key|value pairs. The keys are "local" or "remote" to indicate
59
- # from which SOURCE a resource should be loaded from. The value
60
- # each key specifies the respective source.
61
- #
62
- # The PARAMETER location specifies the PREFERRED method to load a
63
- # resource. If the location is set to (preferred) REMOTE but NO
64
- # key|value pair is given for REMOTE, the VALUE from key LOCAL is
65
- # taken as a FALLBACK. If NO key LOCAL is available, loading the
66
- # resource will FAIL.
67
- #
68
- # Example:
69
- #
70
- # [
71
- # { local: "framework/jquery/base/jquery-3.2.1",
72
- # remote: "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery"
73
- # },
74
- # { local: "framework/jquery/cookie/js/cookie-1.4.1",
75
- # remote: "https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie"
76
- # },
77
- # ...
78
- # ]
79
- #
80
- #
81
- # NOTE:
82
- # The key|value pair for LOCAL should ALWAYS specified, respectively
83
- # ALL resources should be available locally at least. This allows to
84
- # run a website from local with NO internet access e.g for home or privat
85
- # use.
86
- #
87
- # NOTE:
88
- # To load resources from REMOTE, access to the INTERNET is needed.
89
- #
90
- # type: string (local|remote)
91
- # default: local
92
- #
93
- # ------------------------------------------------------------------------------
94
- # RESOURCES
95
- # ------------------------------------------------------------------------------
96
- #
97
- # THE RESOURCES sequence (array) contains collections of configuration
98
- # parameters EACH resource for a specific LAYOUT and|or PAGE.
99
- #
100
- # resource
101
- # ------------------------------------------------------------------------------
102
- # The resource collection (data group) contains multiple sequences
103
- # (arrays) and mappings (hashes) that DEFINES a SET of HTML
104
- # components to be loaded.
105
- #
106
- # enabled
107
- # ------------------------------------------------------------------------------
108
- # Enables|Disables the use of a resource
109
- #
110
- # type: boolean
111
- # values: true|false
112
- # default: true
113
- #
114
- # id
115
- # ------------------------------------------------------------------------------
116
- # Specifies the ID of a ressoure.
117
- #
118
- # type: string
119
- # default: ""
120
- #
121
- # comment
122
- # ------------------------------------------------------------------------------
123
- # Specifies a comment TEXT displayed with the browser console
124
- # if a resource has been loaded. ADDITIONALY the comment is
125
- # used for commenting the generated HTML markup for easier
126
- # (post mortem) code analysis.
127
- #
128
- # type: string
129
- # default: ""
130
- #
131
- # region
132
- # ------------------------------------------------------------------------------
133
- # Specifies the REGION the resources is being loaded
134
- #
135
- # For LOAD optimization (or suppport of older BROWSERS that
136
- # does NOT support async|defer load strategies) MODULES
137
- # (resources that defines css AND js|initializer) can be
138
- # loaded at the END of the BODY section (REGION body-footer).
139
- #
140
- # For resources loaded DEFER, placing that code with the
141
- # REGION "body-footer" might be an option for load OPTIMIZATION.
142
- #
143
- # By default, ALL resources are loaded with the HEAD section
144
- # (REGION head) assuming modern browsers managing script
145
- # loading strategies for SYNC and DEFER.
146
- #
147
- # type: string
148
- # values: head|body-footer
149
- # default: head
150
- #
151
- # layout
152
- # ------------------------------------------------------------------------------
153
- # Specifies the LAYOUT the resources is loaded
154
- #
155
- # type: sequence (array)
156
- # values: home|page|post|app|all
157
- # default: []
158
- #
159
- # required
160
- # ------------------------------------------------------------------------------
161
- # Specifies if a resource is REQUIRED (loaded) for EVERY page
162
- # (always) or loaded on ondemand only (ondemand). If a resource is
163
- # configured to be loaded on ondemand, the resource (load) needs
164
- # to be ENABLED with the FRONTMATTER of the (content) PAGE by
165
- # setting the resource ID with RESOURCES sequence (array):
166
- #
167
- # ---
168
- # ...
169
- # resources: [ ID, .. ,ID ]
170
- # ...
171
- # ---
172
- #
173
- # NOTE:
174
- # Resources like MODULES (e.g lightboxes, galleries) are NOT
175
- # needed for each and every (content) page. To reduce the amount
176
- # of data (CSS|JS files) loaded by a page, MODULES should loaded
177
- # (and initialized) on ondemand.
178
- #
179
- # type: string
180
- # values: always|ondemand
181
- # default: always
182
- #
183
- # script_load
184
- # ------------------------------------------------------------------------------
185
- # Specifies HOW a js resource (script) is loaded by the
186
- # BROWSER
187
- #
188
- # type: string
189
- # values: sync|async|defer
190
- # default: sync
191
- #
192
- # NOTE:
193
- # Modern web browsers support the ASYNC and DEFER attributes
194
- # on JS|SCRIPTS. These attributes instructs the browser it
195
- # is safe to CONTINUE parsing (the HTML code) while the scripts
196
- # are being DOWNLOADED.
197
- #
198
- # Scripts with the ASYNC attribute are executed ASYCHRONOUSLY.
199
- # This means the script is EXECUTED as soon as it is DOWNLOADED
200
- # without BLOCKING the browser for processing in meantime.
201
- #
202
- # Scripts with the DEFER attribute are EXECUTED in ORDER (i.e.
203
- # first script 1, then script 2). This also does no BLOCKING
204
- # the browser. Unlike ASYNC scripts, DEFER scripts are only
205
- # executed AFTER the ENTIRE document has been loaded.
206
- #
207
- # pass_init_data
208
- # ------------------------------------------------------------------------------
209
- # For default, init parameters are passed to J1 Adapters. This
210
- # may cause issues for some resources NOT using an J1 Adapter.
211
- # Set to false, if the (native) initializer of a resource should
212
- # NOT get any template specific parameters at startup.
213
- #
214
- # type: boolean
215
- # values: true|false
216
- # default: true
217
- #
218
- # data
219
- # ------------------------------------------------------------------------------
220
- # Specifies FONT, CSS or JS resource files to be loaded
221
- #
222
- # NOTE:
223
- # >>NO<< .css or .js extention should be given with DATA for
224
- # CSS and JS files as they are calculated automatically based
225
- # on the mode (development|production) detected for a BUILD.
226
- # It is recommended to load Javascript and CSS files using data
227
- # type js and css if possible.
228
- #
229
- # files
230
- # ----------------------------------------------------------------------------
231
- # Specifies general file resources the module depends on.
232
- #
233
- # Ressources for fonts js and css shoud be loaded as FILES
234
- # if NO extension is avaiable (e.g. fonts) or ONLY minified
235
- # versions (e.g. js files from commercial products) are
236
- # available.
237
- #
238
- # type: sequence (array)
239
- # values: JSON object for local|remote resources
240
- # default: []
241
- #
242
- # css
243
- # ----------------------------------------------------------------------------
244
- # Specifies CSS resources (NO .css extention) the module
245
- # depends on.
246
- #
247
- # type: sequence (array)
248
- # values: JSON object for local|remote CSS resources
249
- # default: []
250
- #
251
- # js
252
- # ----------------------------------------------------------------------------
253
- # Specifies JAVASCRIPT resources (NO .js extention) the
254
- # module depends on.
255
- #
256
- # type: sequence (array)
257
- # values: JSON object for local|remote JS resources
258
- # default: []
259
- #
260
- # init_function
261
- # ----------------------------------------------------------------------------
262
- # Specifies the name of the (J1|Module) initializer
263
- # function to be started on document-ready (event).
264
- #
265
- # type: string
266
- # values: name
267
- # default: ""
268
- #
269
- # ------------------------------------------------------------------------------
270
- # Resource SKELETON
271
- # ------------------------------------------------------------------------------
272
- #
273
- # # ---------------------------------------------------------------------------
274
- # # RESOURCE description
275
- # - resource:
276
- # enabled: true|false
277
- # id: resource_id
278
- # comment: Resources for YOUR_RESOURCE_NAME
279
- # region: head|body-footer
280
- # layout: [ layout_name(s)|all ]
281
- # required: always|ondemand
282
- # script_load: sync|defer|async
283
- # pass_init_data: true|false
284
- # data:
285
- #
286
- # css: [
287
- # { local: "path/to/1/css_file",
288
- # remote: "URL 1st css_file"
289
- # },
290
- # { local: "path/to/2/css_file",
291
- # remote: "URL 2nd css_file"
292
- # },
293
- # ...
294
- # ]
295
- # files: [
296
- # "path/to/1/file.ext",
297
- # "path/to/2/file.ext",
298
- # ...
299
- # ]
300
- # js: [
301
- # { local: "path/to/1/js_file",
302
- # remote: "URL 1st js_file"
303
- # },
304
- # { local: "path/to/2/js_file",
305
- # remote: "URL 2nd js_file"
306
- # },
307
- # ...
308
- # ]
309
- # init_function: [
310
- # INITIALIZER_NAME.INIT_METHOD_NAME,
311
- # INITIALIZER_NAME.INIT_METHOD_NAME,
312
- # ...
313
- # ]
314
- #
315
- # ------------------------------------------------------------------------------
316
-
317
- # ------------------------------------------------------------------------------
318
- # GLOBAL configuration settings
319
- #
320
- globals:
321
- base_path: /assets/themes/j1
322
- location: local
323
- extensions:
324
- css_dev: css
325
- css_prod: min.css
326
- js_dev: js
327
- js_prod: min.js
328
-
329
-
330
- # ------------------------------------------------------------------------------
331
- # RESOURCE configuration settings
332
- #
333
- resources:
334
-
335
- # ==============================================================================
336
- # J1 Core Resources loaded SYCHRONOUSLY
337
- # ------------------------------------------------------------------------------
338
-
339
- # ----------------------------------------------------------------------------
340
- # J1 Template Core, integrated JS Resources
341
- #
342
- # no ressource id module_name@version
343
- # --------------------------------------------------------------------------
344
- # 1 n/a jquery@3.2.1
345
- # 2 n/a popper@1.12.9
346
- # 3 n/a jquery-mousewheel@3.1.13
347
- # 4 n/a nouislider@10.0.0
348
- # 5 n/a js-cookie@2.2.0
349
- # 6 n/a moment@2.19.2
350
- # 7 log4javascript log4javascript@1.4.15
351
- # 8 clipboard clipboard@1.7.1
352
- # 9 smoothscroll smoothscroll-for-websites@1.4.6
353
- # 10 bs_material_design bootstrap-material-design@4.0.0-beta.4
354
- # 11 j1_template_4 j1_template_4@0.0.1
355
- # 12 tocbot tocbot@3.0.2
356
- # 13 jekyll_search simple_jekyll_search@1.1.5
357
- # 14 back2top back2top@1.1
358
- # 15 bs_theme_switcher bs_theme_switcher@1.1.5
359
- # 16 backstretch backstretch@2.1.16
360
- # 17 cookiebar cookiebar@2015-07-24
361
- # 18 bootstrap_datepicker datepicker@1.7.1
362
- # 19 bs_gallery bs_gallery@2017-12-27
363
- #
364
- # ----------------------------------------------------------------------------
365
- # J1 Template Core, integrated CSS Resources
366
- # See: _sass/readme.txt
367
- # ----------------------------------------------------------------------------
368
-
369
- # ----------------------------------------------------------------------------
370
- # J1 Core
371
- #
372
- - name: J1 Template Core
373
- resource:
374
- id: core
375
- enabled: true
376
- comment: Core Resources used by J1 Template
377
- region: head
378
- layout: [ all ]
379
- required: always
380
- script_load: sync
381
- pass_init_data: true
382
- data:
383
- css: [ core/css/vendor ]
384
- files: [ adapter/js/template.js ]
385
- js: [ core/js/template ]
386
- init_function: [ j1.init ]
387
-
388
- # ----------------------------------------------------------------------------
389
- # J1 Logger
390
- #
391
- - name: J1 Logger
392
- resource:
393
- id: logger
394
- enabled: true
395
- comment: Resources used by J1 Logger
396
- region: head
397
- layout: [ all ]
398
- required: always
399
- script_load: sync
400
- pass_init_data: false
401
- data:
402
- css: []
403
- files: [ adapter/js/logger.js ]
404
- js: []
405
- # init_function: [ j1.adapter.logger.init ]
406
-
407
- # ----------------------------------------------------------------------------
408
- # Master Header
409
- #
410
- - name: J1 Master Header
411
- resource:
412
- id: masthead
413
- enabled: true
414
- comment: Resources used by Master Header
415
- region: head
416
- layout: [ all ]
417
- required: always
418
- script_load: sync
419
- pass_init_data: true
420
- data:
421
- css: []
422
- files: [ adapter/js/master_header.js ]
423
- js: []
424
- # init_function: [ j1.adapter.master_header.init ]
425
-
426
- # ----------------------------------------------------------------------------
427
- # Navigator
428
- #
429
- - name: J1 Navigator
430
- resource:
431
- id: navigator
432
- enabled: true
433
- comment: Resources used by Navigator
434
- region: head
435
- layout: [ all ]
436
- required: always
437
- script_load: sync
438
- pass_init_data: false
439
- data:
440
- css: []
441
- files: [ adapter/js/navigator.js ]
442
- js: []
443
- # init_function: [ j1.adapter.navigator.init ]
444
-
445
- # ----------------------------------------------------------------------------
446
- # Toccer
447
- #
448
- - name: J1 Toccer
449
- resource:
450
- id: toccer
451
- enabled: true
452
- comment: Resources used by Toccer
453
- layout: [ page, post, collection, blog_archive ]
454
- region: head
455
- required: always
456
- script_load: defer
457
- pass_init_data: true
458
- data:
459
- css: []
460
- files: [ adapter/js/toccer.js ]
461
- js: []
462
- init_function: [ j1.adapter.toccer.init ]
463
-
464
- # ----------------------------------------------------------------------------
465
- # Back2Top
466
- #
467
- - name: J1 Back2Top
468
- resource:
469
- id: back2top
470
- enabled: true
471
- comment: Resources used by Back2Top
472
- region: head
473
- layout: [ all ]
474
- required: always
475
- script_load: defer
476
- pass_init_data: false
477
- data:
478
- css: []
479
- files: [ adapter/js/back2top.js ]
480
- js: []
481
- init_function: [ j1.adapter.back2top.init ]
482
-
483
- # ----------------------------------------------------------------------------
484
- # Scroller
485
- #
486
- - name: J1 Scroller
487
- resource:
488
- id: scroller
489
- enabled: true
490
- comment: Resources used by J1 Smooth Scroll
491
- region: head
492
- layout: [ all ]
493
- required: always
494
- script_load: defer
495
- pass_init_data: false
496
- data:
497
- css: []
498
- files: [ adapter/js/scroller.js ]
499
- js: []
500
- init_function: [ j1.adapter.scroller.init ]
501
-
502
- # ----------------------------------------------------------------------------
503
- # Searcher
504
- #
505
- - name: J1 Searcher
506
- resource:
507
- id: searcher
508
- enabled: true
509
- comment: Resources used by J1 Quick Search
510
- region: head
511
- layout: [ all ]
512
- required: always
513
- script_load: defer
514
- pass_init_data: false
515
- data:
516
- css: []
517
- files: [ adapter/js/searcher.js ]
518
- js: []
519
- init_function: [ j1.adapter.searcher.init ]
520
-
521
- # ----------------------------------------------------------------------------
522
- # Switcher
523
- #
524
- - name: J1 Switcher
525
- resource:
526
- id: switcher
527
- enabled: true
528
- comment: Resources used by J1 Theme Switcher
529
- region: head
530
- layout: [ all ]
531
- required: always
532
- script_load: defer
533
- pass_init_data: false
534
- data:
535
- css: []
536
- files: [ adapter/js/switcher.js ]
537
- js: []
538
- init_function: [ j1.adapter.switcher.init ]
539
-
540
- # ----------------------------------------------------------------------------
541
- # Cookie Consent
542
- #
543
- - name: J1 Cookie Consent
544
- resource:
545
- id: switcher
546
- enabled: true
547
- comment: Resources used by J1 Cookie Consent
548
- region: head
549
- layout: [ all ]
550
- required: always
551
- script_load: defer
552
- pass_init_data: false
553
- data:
554
- css: []
555
- files: [ adapter/js/cookie_consent.js ]
556
- js: []
557
- init_function: [ j1.adapter.cookie_consent.init ]
558
-
559
- # ----------------------------------------------------------------------------
560
- # WebHook
561
- #
562
- - name: J1 WebHook
563
- resource:
564
- id: webhook
565
- enabled: true
566
- comment: Resources used by J1 WebHook
567
- region: head
568
- layout: [ all ]
569
- required: always
570
- script_load: defer
571
- pass_init_data: false
572
- data:
573
- css: []
574
- files: [ adapter/js/octokit.js ]
575
- js: []
576
- init_function: [ j1.adapter.octokit.init ]
577
-
578
-
579
- # ==============================================================================
580
- # J1 Core MODULES initialized 'ondemand' for a layout
581
- # ------------------------------------------------------------------------------
582
-
583
- # ----------------------------------------------------------------------------
584
- # iFrame Resizer
585
- #
586
- - name: J1 Framer
587
- resource:
588
- id: framer
589
- enabled: true
590
- comment: Resources used by iFrameResizer
591
- layout: [ page, post, app ]
592
- region: head
593
- required: ondemand
594
- script_load: defer
595
- pass_init_data: true
596
- data:
597
- css: []
598
- files: [ adapter/js/framer.js ]
599
- js: []
600
- init_function: [ j1.adapter.framer.init ]
601
-
602
- # ----------------------------------------------------------------------------
603
- # Bootstrap Gallery
604
- #
605
- - name: J1 Bootstrap Gallery
606
- resource:
607
- id: bs_gallery
608
- enabled: true
609
- comment: Resources used by Bootstrap Gallery
610
- layout: [ page, post, app ]
611
- region: head
612
- required: ondemand
613
- script_load: defer
614
- pass_init_data: true
615
- data:
616
- css: []
617
- files: [ adapter/js/bootstrap_gallery.js ]
618
- js: []
619
- init_function: [ j1.adapter.bs_gallery.init ]
620
-
621
- # ----------------------------------------------------------------------------
622
- # Lightbox V2
623
- #
624
- - name: J1 Lightbox
625
- resource:
626
- id: lightbox
627
- enabled: true
628
- comment: Resources used by Lightbox V2
629
- layout: [ page, post, app ]
630
- region: head
631
- required: ondemand
632
- script_load: defer
633
- pass_init_data: true
634
- data:
635
- css: []
636
- files: [ adapter/js/lightbox.js ]
637
- js: []
638
- init_function: [ j1.adapter.lightbox.init ]
639
-
640
-
641
- # ==============================================================================
642
- # Additional Apps and Modules - loaded SYCHRONOUSLY (sync)
643
- # ------------------------------------------------------------------------------
644
-
645
- # ----------------------------------------------------------------------------
646
- # Rouge
647
- #
648
- - name: Rouge Highlighter
649
- resource:
650
- id: rouge
651
- enabled: true
652
- comment: Theme CSS resources used by Rouge
653
- region: head
654
- layout: [ all ]
655
- required: always
656
- script_load: sync
657
- pass_init_data: false
658
- data:
659
- css: []
660
- files: [ extensions/rouge/css/base16/theme.css ]
661
- js: []
662
- init_function: []
663
-
664
- # ----------------------------------------------------------------------------
665
- # Alogolia
666
- #
667
- - name: Algolia Instantsearch
668
- resource:
669
- id: algolia
670
- enabled: true
671
- comment: Resources used by Algolia Instantsearch
672
- region: head
673
- layout: [ page, post, app ]
674
- required: ondemand
675
- script_load: sync
676
- pass_init_data: false
677
- data:
678
- css: []
679
- files: [
680
- adapter/js/algolia.js,
681
- "https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch-theme-algolia.min.css",
682
- "https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch.min.css",
683
- "https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch.min.js"
684
- ]
685
- js: []
686
- init_function: [ j1.core.algolia.init ]
687
-
688
- # ----------------------------------------------------------------------------
689
- # Livereload
690
- #
691
- - name: Livereload (JS Client)
692
- resource:
693
- id: livereload
694
- enabled: false
695
- comment: JS Client for livereload
696
- region: head
697
- layout: [ all ]
698
- required: always
699
- script_load: sync
700
- pass_init_data: false
701
- data:
702
- css: []
703
- files: [ extensions/livereload/js/livereload.js ]
704
- js: []
705
- init_function: []
706
-
707
- # ==============================================================================
708
- # Additional Apps and Modules - loaded ASYCHRONOUSLY (defer)
709
- # ------------------------------------------------------------------------------
710
-
711
- # ----------------------------------------------------------------------------
712
- # LightGallery
713
- #
714
- - name: LightGallery
715
- resource:
716
- id: light_gallery
717
- enabled: true
718
- comment: Resources used by LightGallery
719
- region: head
720
- layout: [ all ]
721
- required: ondemand
722
- script_load: defer
723
- pass_init_data: false
724
- data:
725
- css: []
726
- files: [
727
- extensions/light_gallery/css/lightgallery.css,
728
- extensions/light_gallery/css/theme/uno.css,
729
- extensions/light_gallery/css/lg-transitions.css,
730
- extensions/light_gallery/css/lg-fb-comment-box.css,
731
- extensions/light_gallery/js/lightgallery.js,
732
- extensions/light_gallery/js/lg-autoplay.js,
733
- extensions/light_gallery/js/lg-fullscreen.js,
734
- extensions/light_gallery/js/lg-hash.js,
735
- extensions/light_gallery/js/lg-pager.js,
736
- extensions/light_gallery/js/lg-share.js,
737
- extensions/light_gallery/js/lg-thumbnail.js,
738
- extensions/light_gallery/js/lg-video.js,
739
- extensions/light_gallery/js/lg-zoom.js,
740
- extensions/videojs/js/video.4.12.15.min.js,
741
- extensions/videojs/css/video-js.4.12.15.min.css,
742
- extensions/vimeo_player/js/froogaloop2.min.js
743
- ]
744
- js: []
745
- init_function: []
746
-
747
- # ----------------------------------------------------------------------------
748
- # Carousel
749
- #
750
- - name: Carousel
751
- resource:
752
- id: carousel
753
- enabled: true
754
- comment: Resources used by J1 Carousel (Owl Carousel)
755
- region: head
756
- layout: [ home, page, post, collection ]
757
- required: ondemand
758
- script_load: defer
759
- pass_init_data: true
760
- data:
761
- css: []
762
- files: [
763
- extensions/carousel/css/carousel.css,
764
- extensions/carousel/css/carousel_transitions.css,
765
- extensions/carousel/css/theme/uno.css,
766
- extensions/carousel/js/carousel.js,
767
- adapter/js/carousel.js
768
- ]
769
- js: []
770
- init_function: [ j1.adapter.carousel.init ]
771
-
772
- # ----------------------------------------------------------------------------
773
- # Justified Gallery
774
- #
775
- - name: J1 Justified Gallery
776
- resource:
777
- id: justified_gallery
778
- enabled: true
779
- comment: Resources used by Justified Gallery
780
- region: head
781
- layout: [ home, page, post, raw, collection ]
782
- required: ondemand
783
- script_load: defer
784
- pass_init_data: true
785
- data:
786
- css: []
787
- files: [
788
- extensions/justified_gallery/css/justifiedGallery.css,
789
- extensions/justified_gallery/css/theme/uno.css,
790
- extensions/justified_gallery/js/justifiedGallery.js,
791
- adapter/js/justified_gallery.js
792
- ]
793
- js: []
794
- init_function: [ j1.adapter.jf_gallery.init ]
795
-
796
- # ----------------------------------------------------------------------------
797
- # DataTables
798
- #
799
- - name: DataTables
800
- resource:
801
- id: data_tables
802
- enabled: true
803
- comment: Resources used by DataTables
804
- layout: [ page, post, collections ]
805
- region: head
806
- required: ondemand
807
- script_load: defer
808
- pass_init_data: false
809
- data:
810
- css: [ extensions/datatables/css/datatables ]
811
- files: [ extensions/datatables/css/theme/uno.css ]
812
- js: [ extensions/datatables/js/datatables ]
813
- init_function: []
814
-
815
- # ----------------------------------------------------------------------------
816
- # Cookiebar
817
- #
818
- - name: J1 Cookiebar
819
- resource:
820
- enabled: false
821
- id: cookiebar
822
- comment: Resources used by Cookiebar
823
- region: head
824
- layout: [ home, page, post, collection ]
825
- required: always
826
- script_load: sync
827
- pass_init_data: false
828
- data:
829
- css: []
830
- files: [ adapter/js/cookie_bar.js ]
831
- js: [ extensions/cookiebar/js/cookiebar]
832
- init_function: [ j1.adapter.cookie_bar.init ]
833
-
834
-
835
- # ----------------------------------------------------------------------------
836
- # Stickybits (JS Polyfill for CSS position: sticky)
837
- #
838
- - name: J1 Stickybits
839
- resource:
840
- enabled: false
841
- id: stickybits
842
- comment: Resources used by Stickybits
843
- region: head
844
- layout: [ all ]
845
- required: always
846
- script_load: sync
847
- pass_init_data: false
848
- data:
849
- css: []
850
- files: [ adapter/js/stickybits.js ]
851
- js: []
852
- init_function: [ j1.adapter.stickybits.init ]
853
-
854
-
855
- # ----------------------------------------------------------------------------
856
- # Stickyfill (JS Polyfill for CSS position: sticky)
857
- #
858
- - name: Stickyfill
859
- resource:
860
- id: stickyfill
861
- enabled: false
862
- comment: Resources used by Stickyfill
863
- region: head
864
- layout: [ all ]
865
- required: always
866
- script_load: sync
867
- pass_init_data: false
868
- data:
869
- css: []
870
- files: [ adapter/js/stickyfill.js ]
871
- js: [ extensions/stickyfill/js/stickyfill ]
872
- init_function: [ j1.adapter.stickyfill.init ]
873
-
874
-
875
- # END config
876
- # ------------------------------------------------------------------------------