j1-template 2023.0.13 → 2023.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +2 -2
  3. data/assets/themes/j1/adapter/js/advertising.js +21 -8
  4. data/assets/themes/j1/adapter/js/analytics.js +24 -8
  5. data/assets/themes/j1/adapter/js/carousel.js +10 -13
  6. data/assets/themes/j1/adapter/js/clipboard.js +8 -1
  7. data/assets/themes/j1/adapter/js/comments.js +193 -198
  8. data/assets/themes/j1/adapter/js/cookieConsent.js +27 -20
  9. data/assets/themes/j1/adapter/js/dropdowns.js +7 -10
  10. data/assets/themes/j1/adapter/js/fab.js +10 -17
  11. data/assets/themes/j1/adapter/js/framer.js +27 -31
  12. data/assets/themes/j1/adapter/js/j1.js +2 -0
  13. data/assets/themes/j1/adapter/js/justifiedGallery.js +15 -15
  14. data/assets/themes/j1/adapter/js/lightbox.js +25 -16
  15. data/assets/themes/j1/adapter/js/logger.js +13 -7
  16. data/assets/themes/j1/adapter/js/lunr.js +9 -11
  17. data/assets/themes/j1/adapter/js/masonry.js +9 -11
  18. data/assets/themes/j1/adapter/js/masterslider.js +28 -25
  19. data/assets/themes/j1/adapter/js/nbinteract.js +20 -15
  20. data/assets/themes/j1/adapter/js/particles.js +9 -7
  21. data/assets/themes/j1/adapter/js/rangeSlider.js +11 -13
  22. data/assets/themes/j1/adapter/js/rouge.js +1 -0
  23. data/assets/themes/j1/adapter/js/rtable.js +11 -13
  24. data/assets/themes/j1/adapter/js/scroller.js +18 -2
  25. data/assets/themes/j1/adapter/js/themer.js +23 -16
  26. data/assets/themes/j1/adapter/js/toccer.js +16 -20
  27. data/assets/themes/j1/adapter/js/translator.js +28 -30
  28. data/assets/themes/j1/adapter/js/waves.js +9 -7
  29. data/lib/j1/version.rb +1 -1
  30. data/lib/starter_web/Gemfile +1 -1
  31. data/lib/starter_web/README.md +5 -5
  32. data/lib/starter_web/_config.yml +2 -2
  33. data/lib/starter_web/_data/j1_config.yml +432 -432
  34. data/lib/starter_web/_data/modules/analytics.yml +2 -65
  35. data/lib/starter_web/_data/modules/comments.yml +11 -1
  36. data/lib/starter_web/_data/modules/defaults/analytics.yml +3 -3
  37. data/lib/starter_web/_data/modules/defaults/comments.yml +0 -25
  38. data/lib/starter_web/_data/modules/scroller.yml +1 -1
  39. data/lib/starter_web/_data/resources.yml +1 -1
  40. data/lib/starter_web/_data/templates/feed.xml +1 -1
  41. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  42. data/lib/starter_web/package.json +1 -1
  43. data/lib/starter_web/pages/public/about/site.adoc +76 -76
  44. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +2 -2
  45. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  46. data/lib/starter_web/utilsrv/package.json +1 -1
  47. metadata +2 -2
@@ -1,432 +1,432 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/j1_config.yml
3
- # J1 Theme settings
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2023 Juergen Adams
9
- #
10
- # J1 Theme is licensed under the MIT License.
11
- # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
- # ------------------------------------------------------------------------------
13
-
14
- # ==============================================================================
15
- # THEME configuration
16
- #
17
- # ------------------------------------------------------------------------------
18
- # Sets the default theme used for J1 Theme for default
19
- #
20
- # Note: Themes from Bootswatch cannot used currently as default theme
21
- #
22
- # ------------------------------------------------------------------------------
23
- # theme.name
24
- #
25
- # values Uno light|Uno dark
26
- # default: Uno light
27
- # ------------------------------------------------------------------------------
28
- # theme.author
29
- #
30
- # values <string>
31
- # default: J1 Team
32
- # ------------------------------------------------------------------------------
33
- # theme.url
34
- #
35
- # values <url>
36
- # default: https://jekyll.one/
37
- # ------------------------------------------------------------------------------
38
- theme:
39
- name: UnoLight
40
- author: J1 Team
41
- author_url: https://jekyll.one/
42
-
43
- # ------------------------------------------------------------------------------
44
- # CSS and SASS settings
45
- #
46
- css:
47
- custom_scss: false
48
- custom_css: false
49
-
50
- # ------------------------------------------------------------------------------
51
- # Typography settings
52
- #
53
- typography:
54
- rtext: true
55
- rtext_size: 300
56
-
57
-
58
- # ==============================================================================
59
- # URL configuration
60
- #
61
- # ------------------------------------------------------------------------------
62
- #
63
- # All links will be name-spaced by base_path if defined.
64
- # Links in your website should always be prefixed with {{base_path}}
65
- # however this value will be dynamically changed depending on your
66
- # deployment situation.
67
- #
68
- # CNAME (http://yourcustomdomain.com)
69
- # DO NOT SET base_path
70
- # (url's will be prefixed with "/" and work relatively)
71
- #
72
- # GitHub Pages (http://username.github.io)
73
- # DO NOT SET base_path
74
- # (url's will be prefixed with "/" and work relatively)
75
- #
76
- # GitHub Project Pages (http://username.github.io/project-name)
77
- #
78
- # A GitHub Project site exists in the `gh-pages` branch of one of
79
- # your repositories.
80
- # REQUIRED! Set base_path to: http://username.github.io/project-name
81
- #
82
- # CAUTION:
83
- # - When in localhost, your site will run from root "/" regardless
84
- # of base_path
85
- # - Only the following values are falsy: ["", null, false]
86
- # - When setting base_path it must be a valid url.
87
- # This means always setting the protocol (http|https) or
88
- # prefixing with "/"
89
- #
90
- #base_path:
91
-
92
- # By default, the asset_path is automatically defined relative to
93
- # base_path plus the enabled theme, e.g
94
- #
95
- # [base_path]/assets/themes/[THEME-NAME]
96
- #
97
- # e.g. /assets/themes/bootstrap
98
- #
99
- # Override this by defining an absolute path to assets here.
100
- # ex:
101
- # http://s3.amazonaws.com/yoursite/themes/watermelon/assets
102
- #
103
- asset_path: /assets/themes/j1
104
- app_path: /assets/apps
105
- image_path: /assets/images
106
-
107
- # These paths are to the main pages J1 ships with.
108
- # Some template helpers refer to these paths
109
- #
110
- #pages_path: /builder/pages
111
- archive_path: /builder/posts/timeline
112
- categories_path: /builder/categories
113
- tags_path: /builder/tags
114
- #atom_path: /atom.xml
115
- #rss_path: /rss.xml
116
-
117
- # ------------------------------------------------------------------------------
118
- # Common site URLs
119
- #
120
- about-site-url: /pages/public/about/site/
121
- user_info_url: /pages/public/legal/en/privacy/
122
- theme_author_url: https://jekyll.one
123
-
124
-
125
- # ==============================================================================
126
- # DATA path configuration settings
127
- #
128
- # ------------------------------------------------------------------------------
129
- runtime_data_path: /assets/data/runtime-data.yml
130
- message_catalog_data_path: /assets/data/messages.yml
131
- colors_data_path: /assets/data/colors.json
132
- font_size_data_path: /assets/data/font_sizes.json
133
- country_data_path: /assets/data/countries.json
134
-
135
-
136
- # ==============================================================================
137
- # COOKIE configuration settings
138
- #
139
- # ------------------------------------------------------------------------------
140
- cookies:
141
- app_session: j1.app.session
142
- user_session: j1.user.session
143
- user_state: j1.user.state
144
- user_consent: j1.user.consent
145
- user_translate: j1.user.translate
146
-
147
-
148
- # ==============================================================================
149
- # CONTENT configuration settings
150
- #
151
- # ------------------------------------------------------------------------------
152
-
153
- # ------------------------------------------------------------------------------
154
- # HTML PrettyPrint
155
- #
156
- prettify: true
157
-
158
-
159
- # ==============================================================================
160
- # PAGE global configuration settings
161
- #
162
- # NOTE: Set global settings for the Jekyll builder-engine to control
163
- # the HTML outputs generated by J1
164
- #
165
- # ------------------------------------------------------------------------------
166
- pages:
167
-
168
- # ------------------------------------------------------------------------------
169
- # SmoothScroll settings
170
- #
171
- # ------------------------------------------------------------------------------
172
- # flicker_timeout
173
- # ----------------------------------------------------------------------------
174
- # Number of milliseconds (ms) the current page is hidden (display: none)
175
- # to prevent "DOM flicker" (aka "FOUC": Flash of unstyled content)
176
- #
177
- # TODO: To be checked if needed
178
- #
179
- # prettify
180
- # ----------------------------------------------------------------------------
181
- # If set to true, all generated HTML pages (by Liquid|Jekyll) get
182
- # formatted "pretty" by layout "default".
183
- #
184
- # NOTE: Used for developent mode ONLY
185
- # NOTE: See ~/packages/300_theme_src/_layouts/default.html
186
- # ------------------------------------------------------------------------------
187
- #
188
- # page_on_load_timeout
189
- # ----------------------------------------------------------------------------
190
- # Delays the scrolling of ??????????.
191
- #
192
- # values: (unsigned) int
193
- # default: 1000
194
- #
195
- # timeoutScrollDynamicPages
196
- # ----------------------------------------------------------------------------
197
- # Delays the scrolling of DYNAMIC pages if an anchor is given in URL.
198
- # The content of dynamic pages growth by loading HTML data at runtime.
199
- # To scroll precisely to a headline (anchor) given in URL, the page needs
200
- # to be fully rendered (loaded) BEFORE the headline is scrolled to by the
201
- # browser.
202
- #
203
- # values: (unsigned) int
204
- # default: 2000
205
- #
206
- # scrollDynamicPagesTopOnChange
207
- # ----------------------------------------------------------------------------
208
- # Enables|Disables scrolling a dynamic page to the top positon of the
209
- # browser window if content of DYNAMIC pages has changed.
210
- # The content of dynamic pages growth by loading HTML data at runtime.
211
- # While loadig the content, the page is scrolled to the top position of
212
- # the browser window when the content growth. This may help to reduce
213
- # 'flicker' when content growth.
214
- #
215
- # values: boolean (true|false)
216
- # default: false
217
- #
218
- # NOTE: If scrolling to the top position is wanted for specific pages,
219
- # the property 'scrollDynamicPagesTopOnChange' can be set in the
220
- # FRONTMATTER of a page to true.
221
- #
222
- # ------------------------------------------------------------------------------
223
- #
224
- # flicker_timeout: 250 # NOT used anymore
225
- page_on_load_timeout: 1000 # some modules needs a timeout to be loaded correctly (e.g wave, )
226
- timeoutScrollDynamicPages: 2000 # 2000
227
- scrollDynamicPagesTopOnChange: false
228
-
229
- # ------------------------------------------------------------------------------
230
- # Body style settings
231
- #
232
- body:
233
- scrollbar: false
234
- background-color: md_gray_50
235
- font-color: md_gray_900
236
- font-size: 1em
237
- font-weight: 400
238
- line-height: 1.5
239
-
240
- # ----------------------------------------------------------------------------
241
- # animation on page load
242
- # See: https://www.geeksforgeeks.org/how-to-create-fade-in-effect-on-page-load-using-css/
243
- #
244
- animation: true
245
- animation_type: fadeIn # currently, only fadeIn supported
246
- animation_duration: 2
247
-
248
-
249
- # ==============================================================================
250
- # POST global configuration settings
251
- #
252
- # NOTE: Set global settings for the Jekyll builder-engine to control
253
- # the HTML outputs generated by J1
254
- #
255
- # ------------------------------------------------------------------------------
256
- posts:
257
- # ----------------------------------------------------------------------------
258
- # category_blacklist
259
- # --------------------------------------------------------------------------
260
- # List of categories (automatically) generated by Jekyll to be SKIPPED.
261
- # (Additional) Categories are generated by Jekyl from folder names but
262
- # NOT used for J1 to be displayed in preview boxes or J1 Posts Navigator
263
- # views.
264
- #
265
- # ----------------------------------------------------------------------------
266
- category_blacklist: [ posts, public, private, protected, featured, series ]
267
-
268
-
269
- # ==============================================================================
270
- # USER configuration settings
271
- #
272
- # ------------------------------------------------------------------------------
273
-
274
- # ------------------------------------------------------------------------------
275
- # Default
276
- #
277
- user:
278
- provider: j1
279
- provider_site_url: https://jekyll.one
280
- provider_home_url: https://jekyll.one
281
- provider_blog_url: /pages/public/blog/navigator/
282
- provider_member_url: /pages/public/learn/whats_up/
283
- provider_privacy_url: /pages/public/legal/en/privacy/
284
- user_name: guest
285
- status: active
286
- provider_membership: guest
287
- provider_permissions: [ 'public' ]
288
-
289
-
290
- # ==============================================================================
291
- # FRAMEWORK configuration settings
292
- #
293
- # ------------------------------------------------------------------------------
294
-
295
- # ------------------------------------------------------------------------------
296
- # cards.card-deck (responsive card decks)
297
- #
298
- # Bootstrap card decks are NOT responsive by default. Additional breakpoint
299
- # classes for J1 Theme introduce support on card decks for responsiveness.
300
- # With the values for `break_on_XX`, the number of cards can be specified
301
- # to be shown on a deck per *row*.
302
- #
303
- # default: no defaults
304
- # values: integer (num of cards)
305
- #
306
- # ------------------------------------------------------------------------------
307
- # ------------------------------------------------------------------------------
308
- # popovers.trigger (tooltips.trigger)
309
- #
310
- # How a popover is triggered. You may pass multiple triggers.
311
- # Separate them with a space. Trigger `manual` cannot be combined
312
- # with any other trigger. 'manual' indicates that the popover will
313
- # be triggered programmatically via the .popover('show'), .popover('hide')
314
- # and .popover('toggle') methods.
315
- #
316
- # default: hover
317
- # values: click | hover | focus | manual
318
- #
319
- # ------------------------------------------------------------------------------
320
-
321
- # ------------------------------------------------------------------------------
322
- # BOOTSTRAP framework settings
323
- #
324
- bootstrap:
325
- default_theme: bootstrap
326
-
327
- cards:
328
- card_deck:
329
- break_on_sm: 1
330
- break_on_md: 2
331
- break_on_lg: 3
332
- break_on_xl: 3
333
-
334
-
335
- tooltips:
336
- enabled: true
337
- trigger: hover
338
-
339
- popovers:
340
- enabled: true
341
- trigger: hover
342
-
343
- # ------------------------------------------------------------------------------
344
- # HIGHLIGHTER settings (Rouge)
345
- #
346
- rouge:
347
-
348
- theme_light: uno.light
349
- theme_dark: uno.dark
350
-
351
- # ------------------------------------------------------------------------------
352
- # SEO settings (optimization)
353
- #
354
-
355
- # ------------------------------------------------------------------------------
356
- # PRELOAD settings
357
- # ------------------------------------------------------------------------------
358
- # NOTE:
359
- # Specify resources that your page will need very soon, which you want
360
- # to start loading early in the page lifecycle, before browsers' main
361
- # rendering machinery starts. This may improve the performace for the RENDER
362
- # phase to improve the FCP (First Contentful Paint). FCP marks the time
363
- # at which the first text or image is shown to the user.
364
- # ------------------------------------------------------------------------------
365
- # NOTE:
366
- # Preloading fonts,the crossorigin attribute is needed to handle
367
- # CORS issues.
368
- # ------------------------------------------------------------------------------
369
- # NOTE:
370
- # Preloading applies ONLY if the requested resource is NOT cached (304).
371
- # If a resource is already cached (by the browser OR the web server), some
372
- # browser (e.g. Chrome) issue WARNINGS, but can be ignored.
373
- # ------------------------------------------------------------------------------
374
- # INFO:
375
- # https://stackoverflow.com/questions/1330825/preloading-font-face-fonts
376
- # https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content
377
- # https://github.com/GoogleChromeLabs/critters/issues/18 (crossorigin)
378
- # ------------------------------------------------------------------------------
379
- preload:
380
-
381
- font:
382
- preload: false
383
- cors: crossorigin
384
- fonts: []
385
-
386
- css:
387
- preload: true
388
- css: [
389
- /assets/themes/j1/core/css/themes/unolight/bootstrap,
390
- /assets/themes/j1/core/css/vendor
391
- ]
392
- files: []
393
-
394
- js:
395
- preload: true
396
- js: [
397
- /assets/themes/j1/modules/bmd/js/bmd,
398
- /assets/themes/j1/modules/backstretch/js/backstretch,
399
- /assets/themes/j1/core/js/template
400
- ]
401
- files: [
402
- /assets/themes/j1/adapter/js/attic.js,
403
- /assets/themes/j1/adapter/js/logger.js,
404
- /assets/themes/j1/adapter/js/bmd.js,
405
- /assets/themes/j1/adapter/js/navigator.js
406
- ]
407
- image:
408
- preload: false
409
- files: [ /assets/images/modules/icons/j1/j1-512x512.png ]
410
-
411
- # ------------------------------------------------------------------------------
412
- # PRECONNECT settings
413
- # ------------------------------------------------------------------------------
414
- # NOTE:
415
- # Improve page load speed with preconnect|dns-prefetch for 3rd party
416
- # origins. Establishing connections often involves significant time in
417
- # slow networks (e.g. mobile 2|3G), particularly when it comes to secure
418
- # connections (HTTPS), as it may involve DNS lookups, redirects, and
419
- # several round trips to the final server that handles the user's request.
420
- # ------------------------------------------------------------------------------
421
- preconnect:
422
- enabled: true
423
- urls: [ "https://bootswatch.com" ]
424
-
425
- # ------------------------------------------------------------------------------
426
- # Font AweSome settings
427
- #
428
- fa:
429
- color: default
430
-
431
- # ------------------------------------------------------------------------------
432
- # END config
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/j1_config.yml
3
+ # J1 Theme settings
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023 Juergen Adams
9
+ #
10
+ # J1 Theme is licensed under the MIT License.
11
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ==============================================================================
15
+ # THEME configuration
16
+ #
17
+ # ------------------------------------------------------------------------------
18
+ # Sets the default theme used for J1 Theme for default
19
+ #
20
+ # Note: Themes from Bootswatch cannot used currently as default theme
21
+ #
22
+ # ------------------------------------------------------------------------------
23
+ # theme.name
24
+ #
25
+ # values Uno light|Uno dark
26
+ # default: Uno light
27
+ # ------------------------------------------------------------------------------
28
+ # theme.author
29
+ #
30
+ # values <string>
31
+ # default: J1 Team
32
+ # ------------------------------------------------------------------------------
33
+ # theme.url
34
+ #
35
+ # values <url>
36
+ # default: https://jekyll.one/
37
+ # ------------------------------------------------------------------------------
38
+ theme:
39
+ name: UnoLight
40
+ author: J1 Team
41
+ author_url: https://jekyll.one/
42
+
43
+ # ------------------------------------------------------------------------------
44
+ # CSS and SASS settings
45
+ #
46
+ css:
47
+ custom_scss: false
48
+ custom_css: false
49
+
50
+ # ------------------------------------------------------------------------------
51
+ # Typography settings
52
+ #
53
+ typography:
54
+ rtext: true
55
+ rtext_size: 300
56
+
57
+
58
+ # ==============================================================================
59
+ # URL configuration
60
+ #
61
+ # ------------------------------------------------------------------------------
62
+ #
63
+ # All links will be name-spaced by base_path if defined.
64
+ # Links in your website should always be prefixed with {{base_path}}
65
+ # however this value will be dynamically changed depending on your
66
+ # deployment situation.
67
+ #
68
+ # CNAME (http://yourcustomdomain.com)
69
+ # DO NOT SET base_path
70
+ # (url's will be prefixed with "/" and work relatively)
71
+ #
72
+ # GitHub Pages (http://username.github.io)
73
+ # DO NOT SET base_path
74
+ # (url's will be prefixed with "/" and work relatively)
75
+ #
76
+ # GitHub Project Pages (http://username.github.io/project-name)
77
+ #
78
+ # A GitHub Project site exists in the `gh-pages` branch of one of
79
+ # your repositories.
80
+ # REQUIRED! Set base_path to: http://username.github.io/project-name
81
+ #
82
+ # CAUTION:
83
+ # - When in localhost, your site will run from root "/" regardless
84
+ # of base_path
85
+ # - Only the following values are falsy: ["", null, false]
86
+ # - When setting base_path it must be a valid url.
87
+ # This means always setting the protocol (http|https) or
88
+ # prefixing with "/"
89
+ #
90
+ #base_path:
91
+
92
+ # By default, the asset_path is automatically defined relative to
93
+ # base_path plus the enabled theme, e.g
94
+ #
95
+ # [base_path]/assets/themes/[THEME-NAME]
96
+ #
97
+ # e.g. /assets/themes/bootstrap
98
+ #
99
+ # Override this by defining an absolute path to assets here.
100
+ # ex:
101
+ # http://s3.amazonaws.com/yoursite/themes/watermelon/assets
102
+ #
103
+ asset_path: /assets/themes/j1
104
+ app_path: /assets/apps
105
+ image_path: /assets/images
106
+
107
+ # These paths are to the main pages J1 ships with.
108
+ # Some template helpers refer to these paths
109
+ #
110
+ #pages_path: /builder/pages
111
+ archive_path: /builder/posts/timeline
112
+ categories_path: /builder/categories
113
+ tags_path: /builder/tags
114
+ #atom_path: /atom.xml
115
+ #rss_path: /rss.xml
116
+
117
+ # ------------------------------------------------------------------------------
118
+ # Common site URLs
119
+ #
120
+ about-site-url: /pages/public/about/site/
121
+ user_info_url: /pages/public/legal/en/privacy/
122
+ theme_author_url: https://jekyll.one
123
+
124
+
125
+ # ==============================================================================
126
+ # DATA path configuration settings
127
+ #
128
+ # ------------------------------------------------------------------------------
129
+ runtime_data_path: /assets/data/runtime-data.yml
130
+ message_catalog_data_path: /assets/data/messages.yml
131
+ colors_data_path: /assets/data/colors.json
132
+ font_size_data_path: /assets/data/font_sizes.json
133
+ country_data_path: /assets/data/countries.json
134
+
135
+
136
+ # ==============================================================================
137
+ # COOKIE configuration settings
138
+ #
139
+ # ------------------------------------------------------------------------------
140
+ cookies:
141
+ app_session: j1.app.session
142
+ user_session: j1.user.session
143
+ user_state: j1.user.state
144
+ user_consent: j1.user.consent
145
+ user_translate: j1.user.translate
146
+
147
+
148
+ # ==============================================================================
149
+ # CONTENT configuration settings
150
+ #
151
+ # ------------------------------------------------------------------------------
152
+
153
+ # ------------------------------------------------------------------------------
154
+ # HTML PrettyPrint
155
+ #
156
+ prettify: true
157
+
158
+
159
+ # ==============================================================================
160
+ # PAGE global configuration settings
161
+ #
162
+ # NOTE: Set global settings for the Jekyll builder-engine to control
163
+ # the HTML outputs generated by J1
164
+ #
165
+ # ------------------------------------------------------------------------------
166
+ pages:
167
+
168
+ # ------------------------------------------------------------------------------
169
+ # SmoothScroll settings
170
+ #
171
+ # ------------------------------------------------------------------------------
172
+ # flicker_timeout
173
+ # ----------------------------------------------------------------------------
174
+ # Number of milliseconds (ms) the current page is hidden (display: none)
175
+ # to prevent "DOM flicker" (aka "FOUC": Flash of unstyled content)
176
+ #
177
+ # TODO: To be checked if needed
178
+ #
179
+ # prettify
180
+ # ----------------------------------------------------------------------------
181
+ # If set to true, all generated HTML pages (by Liquid|Jekyll) get
182
+ # formatted "pretty" by layout "default".
183
+ #
184
+ # NOTE: Used for developent mode ONLY
185
+ # NOTE: See ~/packages/300_theme_src/_layouts/default.html
186
+ # ------------------------------------------------------------------------------
187
+ #
188
+ # page_on_load_timeout
189
+ # ----------------------------------------------------------------------------
190
+ # Delays the scrolling of ??????????.
191
+ #
192
+ # values: (unsigned) int
193
+ # default: 1000
194
+ #
195
+ # timeoutScrollDynamicPages
196
+ # ----------------------------------------------------------------------------
197
+ # Delays the scrolling of DYNAMIC pages if an anchor is given in URL.
198
+ # The content of dynamic pages growth by loading HTML data at runtime.
199
+ # To scroll precisely to a headline (anchor) given in URL, the page needs
200
+ # to be fully rendered (loaded) BEFORE the headline is scrolled to by the
201
+ # browser.
202
+ #
203
+ # values: (unsigned) int
204
+ # default: 2000
205
+ #
206
+ # scrollDynamicPagesTopOnChange
207
+ # ----------------------------------------------------------------------------
208
+ # Enables|Disables scrolling a dynamic page to the top positon of the
209
+ # browser window if content of DYNAMIC pages has changed.
210
+ # The content of dynamic pages growth by loading HTML data at runtime.
211
+ # While loadig the content, the page is scrolled to the top position of
212
+ # the browser window when the content growth. This may help to reduce
213
+ # 'flicker' when content growth.
214
+ #
215
+ # values: boolean (true|false)
216
+ # default: false
217
+ #
218
+ # NOTE: If scrolling to the top position is wanted for specific pages,
219
+ # the property 'scrollDynamicPagesTopOnChange' can be set in the
220
+ # FRONTMATTER of a page to true.
221
+ #
222
+ # ------------------------------------------------------------------------------
223
+ #
224
+ # flicker_timeout: 250 # NOT used anymore
225
+ page_on_load_timeout: 1000 # some modules needs a timeout to be loaded correctly (e.g wave, )
226
+ timeoutScrollDynamicPages: 2000 # 2000
227
+ scrollDynamicPagesTopOnChange: false
228
+
229
+ # ------------------------------------------------------------------------------
230
+ # Body style settings
231
+ #
232
+ body:
233
+ scrollbar: false
234
+ background-color: md_gray_50
235
+ font-color: md_gray_900
236
+ font-size: 1em
237
+ font-weight: 400
238
+ line-height: 1.5
239
+
240
+ # ----------------------------------------------------------------------------
241
+ # animation on page load
242
+ # See: https://www.geeksforgeeks.org/how-to-create-fade-in-effect-on-page-load-using-css/
243
+ #
244
+ animation: true
245
+ animation_type: fadeIn # currently, only fadeIn supported
246
+ animation_duration: 2
247
+
248
+
249
+ # ==============================================================================
250
+ # POST global configuration settings
251
+ #
252
+ # NOTE: Set global settings for the Jekyll builder-engine to control
253
+ # the HTML outputs generated by J1
254
+ #
255
+ # ------------------------------------------------------------------------------
256
+ posts:
257
+ # ----------------------------------------------------------------------------
258
+ # category_blacklist
259
+ # --------------------------------------------------------------------------
260
+ # List of categories (automatically) generated by Jekyll to be SKIPPED.
261
+ # (Additional) Categories are generated by Jekyl from folder names but
262
+ # NOT used for J1 to be displayed in preview boxes or J1 Posts Navigator
263
+ # views.
264
+ #
265
+ # ----------------------------------------------------------------------------
266
+ category_blacklist: [ posts, public, private, protected, featured, series ]
267
+
268
+
269
+ # ==============================================================================
270
+ # USER configuration settings
271
+ #
272
+ # ------------------------------------------------------------------------------
273
+
274
+ # ------------------------------------------------------------------------------
275
+ # Default
276
+ #
277
+ user:
278
+ provider: j1
279
+ provider_site_url: https://jekyll.one
280
+ provider_home_url: https://jekyll.one
281
+ provider_blog_url: /pages/public/blog/navigator/
282
+ provider_member_url: /pages/public/learn/whats_up/
283
+ provider_privacy_url: /pages/public/legal/en/privacy/
284
+ user_name: guest
285
+ status: active
286
+ provider_membership: guest
287
+ provider_permissions: [ 'public' ]
288
+
289
+
290
+ # ==============================================================================
291
+ # FRAMEWORK configuration settings
292
+ #
293
+ # ------------------------------------------------------------------------------
294
+
295
+ # ------------------------------------------------------------------------------
296
+ # cards.card-deck (responsive card decks)
297
+ #
298
+ # Bootstrap card decks are NOT responsive by default. Additional breakpoint
299
+ # classes for J1 Theme introduce support on card decks for responsiveness.
300
+ # With the values for `break_on_XX`, the number of cards can be specified
301
+ # to be shown on a deck per *row*.
302
+ #
303
+ # default: no defaults
304
+ # values: integer (num of cards)
305
+ #
306
+ # ------------------------------------------------------------------------------
307
+ # ------------------------------------------------------------------------------
308
+ # popovers.trigger (tooltips.trigger)
309
+ #
310
+ # How a popover is triggered. You may pass multiple triggers.
311
+ # Separate them with a space. Trigger `manual` cannot be combined
312
+ # with any other trigger. 'manual' indicates that the popover will
313
+ # be triggered programmatically via the .popover('show'), .popover('hide')
314
+ # and .popover('toggle') methods.
315
+ #
316
+ # default: hover
317
+ # values: click | hover | focus | manual
318
+ #
319
+ # ------------------------------------------------------------------------------
320
+
321
+ # ------------------------------------------------------------------------------
322
+ # BOOTSTRAP framework settings
323
+ #
324
+ bootstrap:
325
+ default_theme: bootstrap
326
+
327
+ cards:
328
+ card_deck:
329
+ break_on_sm: 1
330
+ break_on_md: 2
331
+ break_on_lg: 3
332
+ break_on_xl: 3
333
+
334
+
335
+ tooltips:
336
+ enabled: true
337
+ trigger: hover
338
+
339
+ popovers:
340
+ enabled: true
341
+ trigger: hover
342
+
343
+ # ------------------------------------------------------------------------------
344
+ # HIGHLIGHTER settings (Rouge)
345
+ #
346
+ rouge:
347
+
348
+ theme_light: uno.light
349
+ theme_dark: uno.dark
350
+
351
+ # ------------------------------------------------------------------------------
352
+ # SEO settings (optimization)
353
+ #
354
+
355
+ # ------------------------------------------------------------------------------
356
+ # PRELOAD settings
357
+ # ------------------------------------------------------------------------------
358
+ # NOTE:
359
+ # Specify resources that your page will need very soon, which you want
360
+ # to start loading early in the page lifecycle, before browsers' main
361
+ # rendering machinery starts. This may improve the performace for the RENDER
362
+ # phase to improve the FCP (First Contentful Paint). FCP marks the time
363
+ # at which the first text or image is shown to the user.
364
+ # ------------------------------------------------------------------------------
365
+ # NOTE:
366
+ # Preloading fonts,the crossorigin attribute is needed to handle
367
+ # CORS issues.
368
+ # ------------------------------------------------------------------------------
369
+ # NOTE:
370
+ # Preloading applies ONLY if the requested resource is NOT cached (304).
371
+ # If a resource is already cached (by the browser OR the web server), some
372
+ # browser (e.g. Chrome) issue WARNINGS, but can be ignored.
373
+ # ------------------------------------------------------------------------------
374
+ # INFO:
375
+ # https://stackoverflow.com/questions/1330825/preloading-font-face-fonts
376
+ # https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content
377
+ # https://github.com/GoogleChromeLabs/critters/issues/18 (crossorigin)
378
+ # ------------------------------------------------------------------------------
379
+ preload:
380
+
381
+ font:
382
+ preload: false
383
+ cors: crossorigin
384
+ fonts: []
385
+
386
+ css:
387
+ preload: true
388
+ css: [
389
+ /assets/themes/j1/core/css/themes/unolight/bootstrap,
390
+ /assets/themes/j1/core/css/vendor
391
+ ]
392
+ files: []
393
+
394
+ js:
395
+ preload: true
396
+ js: [
397
+ /assets/themes/j1/modules/bmd/js/bmd,
398
+ /assets/themes/j1/modules/backstretch/js/backstretch,
399
+ /assets/themes/j1/core/js/template
400
+ ]
401
+ files: [
402
+ /assets/themes/j1/adapter/js/attic.js,
403
+ /assets/themes/j1/adapter/js/logger.js,
404
+ /assets/themes/j1/adapter/js/bmd.js,
405
+ /assets/themes/j1/adapter/js/navigator.js
406
+ ]
407
+ image:
408
+ preload: false
409
+ files: [ /assets/images/modules/icons/j1/j1-512x512.png ]
410
+
411
+ # ------------------------------------------------------------------------------
412
+ # PRECONNECT settings
413
+ # ------------------------------------------------------------------------------
414
+ # NOTE:
415
+ # Improve page load speed with preconnect|dns-prefetch for 3rd party
416
+ # origins. Establishing connections often involves significant time in
417
+ # slow networks (e.g. mobile 2|3G), particularly when it comes to secure
418
+ # connections (HTTPS), as it may involve DNS lookups, redirects, and
419
+ # several round trips to the final server that handles the user's request.
420
+ # ------------------------------------------------------------------------------
421
+ preconnect:
422
+ enabled: true
423
+ urls: [ "https://bootswatch.com" ]
424
+
425
+ # ------------------------------------------------------------------------------
426
+ # Font AweSome settings
427
+ #
428
+ fa:
429
+ color: default
430
+
431
+ # ------------------------------------------------------------------------------
432
+ # END config