j1-template 2023.8.1 → 2023.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79888bc0042a22c9c26ccfb3a2d7cfd44dabd67fc84502d5af7f921fd04c7166
4
- data.tar.gz: 23dd526101f3e4de8e20236d4166fbdc06f2bcc680526508aad4970db858f4bc
3
+ metadata.gz: 4e9864d6b9162db37a539ae05167771c4ea83165f727eb49f2e060adc0ad46a0
4
+ data.tar.gz: 45a61bd87529b270f0214960bc2485e8ac00b0f328175ba2c2a054152a168539
5
5
  SHA512:
6
- metadata.gz: 1c0396ff6a83b50246201374f1961546c76a8d4a426fe6fc9d61e9642ed539076acba994465a21a9a919c7683263a4a2f426867e42dd75d9fa1c2bb3cb64cf2a
7
- data.tar.gz: 95197fb2e47eb0630b982129178fb4f9df0f088776c34d308d565acf9e8962f838cc04a834591ad4fbd42e54397cfb4b4a7c156003e5116e958ae7ddf78a4602
6
+ metadata.gz: '0695f4b1aa1d386a7b1925c4c23bb908941434c3406c524a7590aa6df4b0679ebb9fcf4e575ccafbed744c502deb1bc8ddc1ec379447c33f920526c9f3d98589'
7
+ data.tar.gz: fccf2d3647dfb68f25582e289932f8ffe247c01b8a7def78dbed9597ec64a03bbff4b7583c189ea84563e6d507ac3c9f2058c1c8f49d1e5e1fa41526e1a31eec
@@ -520,10 +520,11 @@ var j1 = (function (options) {
520
520
  if (panels_exists) {j1.initPanel(settings)};
521
521
  if (footer_exists) {j1.initFooter(settings);}
522
522
 
523
+ // process pages having banners or panels
524
+ //
523
525
  if (banner_blocks || panel_blocks) {
524
- // pages having banners or panels
525
-
526
526
  var dependencies_met_blocks_ready = setInterval (function (settings) {
527
+ // check the footer if HTML portion is loaded successfully
527
528
  if (footer_exists) {
528
529
  footer_state = j1.getXhrDataState('#{{footer_id}}');
529
530
  } else {
@@ -531,7 +532,7 @@ var j1 = (function (options) {
531
532
  footer_state = 'success';
532
533
  }
533
534
 
534
- // check bannern if HTML content loaded successfully
535
+ // check bannern if HTML content is loaded successfully
535
536
  //
536
537
  if (banners_exits) {
537
538
  Object.entries(j1.xhrDataState).forEach(entry => {
@@ -545,7 +546,7 @@ var j1 = (function (options) {
545
546
  banner_state = 'success';
546
547
  }
547
548
 
548
- // check panels if HTML content loaded successfully
549
+ // check panels if HTML content is loaded successfully
549
550
  //
550
551
  if (panels_exists) {
551
552
  Object.entries(j1.xhrDataState).forEach(entry => {
@@ -559,23 +560,40 @@ var j1 = (function (options) {
559
560
  panel_state = 'success';
560
561
  }
561
562
 
562
- // show the content section for 'block content' to optimze CLS
563
+ // show the content section if block content is available (CLS optimization)
563
564
  //
564
- // if (banner_state == 'success' && panel_state == 'success' && footer_state == 'success') {
565
- if (banner_state == 'success' && panel_state == 'success') {
565
+ if (banner_state == 'success' && panel_state == 'success' && footer_state == 'success') {
566
566
  // show the content|footer
567
567
  //
568
568
  $('#content').show();
569
569
  $('.{{footer}}').show();
570
570
 
571
- // clearInterval(dependencies_met_page_ready);
572
571
  clearInterval(dependencies_met_blocks_ready);
573
572
  }
574
573
  }, 10);
575
574
  } else {
576
- // pages w/o banners or panels
577
- $('#content').show();
578
- $('.{{footer}}').show();
575
+ // process pages w/o banners or panels
576
+ //
577
+ var dependencies_met_footer_block_ready = setInterval (function (settings) {
578
+ // check the footer if HTML portion is loaded successfully
579
+ if (footer_exists) {
580
+ footer_state = j1.getXhrDataState('#{{footer_id}}');
581
+ } else {
582
+ // pages w/o footer
583
+ footer_state = 'success';
584
+ }
585
+
586
+ // show the content section if footer is available (CLS optimization)
587
+ //
588
+ if (footer_state == 'success') {
589
+ // show the content|footer
590
+ //
591
+ $('#content').show();
592
+ $('.{{footer}}').show();
593
+
594
+ clearInterval(dependencies_met_footer_block_ready);
595
+ }
596
+ }, 10);
579
597
  }
580
598
  }
581
599
  }, 10);
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2023.8.1'
2
+ VERSION = '2023.8.2'
3
3
  end
@@ -379,7 +379,7 @@ This command creates a **initial** project in folder **my-starter**.
379
379
  2023-02-28 18:12:12 - GENERATE: Resolving dependencies...
380
380
  2023-02-28 18:12:12 - GENERATE: Using bundler 2.3.7
381
381
  ...
382
- 2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.8.1
382
+ 2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.8.2
383
383
  2023-02-28 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
384
384
  2023-02-28 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
385
385
  2023-02-28 18:12:12 - GENERATE: C:/Users/xxx/.gem/ruby/3.1.0;C:/DevTools/Ruby31-x64/lib/ruby/gems/3.1.0;
@@ -415,7 +415,7 @@ commands are available as well.
415
415
  2023-02-28 18:17:48 - SETUP: Initialize the project ...
416
416
  2023-02-28 18:17:48 - SETUP: Be patient, this will take a while ...
417
417
  2023-02-28 18:17:49 - SETUP:
418
- 2023-02-28 18:17:49 - SETUP: > j1@2023.8.1 setup C:\Users\xxx\j1-projects\my-starter
418
+ 2023-02-28 18:17:49 - SETUP: > j1@2023.8.2 setup C:\Users\xxx\j1-projects\my-starter
419
419
  2023-02-28 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
420
420
  2023-02-28 18:17:49 - SETUP:
421
421
  2023-02-28 18:17:50 - SETUP: Setup project for first use ..
@@ -460,7 +460,7 @@ browser. Let's start the journey ...
460
460
  Check setup state of the J1 project ...
461
461
  2023-02-28 18:26:18 - SITE: Starting up your site ...
462
462
  2023-02-28 18:26:18 - SITE:
463
- 2023-02-28 18:26:18 - SITE: > j1@2023.8.1 j1-site C:\Users\jadams\j1-projects\my-starter
463
+ 2023-02-28 18:26:18 - SITE: > j1@2023.8.2 j1-site C:\Users\jadams\j1-projects\my-starter
464
464
  2023-02-28 18:26:18 - SITE: > run-p -s j1-site:*
465
465
  2023-02-28 18:26:18 - SITE:
466
466
  2023-02-28 18:26:20 - SITE: Startup UTILSRV ..
@@ -499,7 +499,7 @@ Check setup state of the J1 project ...
499
499
  REBUILD: Rebuild the projects website ...
500
500
  REBUILD: Be patient, this will take a while ...
501
501
  2023-02-28 18:45:09 - REBUILD:
502
- 2023-02-28 18:45:09 - REBUILD: > j1@2023.8.1 rebuild C:\Users\xxx\j1-projects\my-starter
502
+ 2023-02-28 18:45:09 - REBUILD: > j1@2023.8.2 rebuild C:\Users\xxx\j1-projects\my-starter
503
503
  2023-02-28 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
504
504
  2023-02-28 18:45:09 - REBUILD:
505
505
  2023-02-28 18:45:10 - REBUILD: Rebuild site incremental ..
@@ -547,7 +547,7 @@ using Lerna for all packages:
547
547
  2023-02-28 18:29:07 - RESET: Reset the project to factory state ...
548
548
  2023-02-28 18:29:07 - RESET: Be patient, this will take a while ...
549
549
  2023-02-28 18:29:08 - RESET:
550
- 2023-02-28 18:29:08 - RESET: > j1@2023.8.1 reset C:\Users\xxx\j1-projects\my-starter
550
+ 2023-02-28 18:29:08 - RESET: > j1@2023.8.2 reset C:\Users\xxx\j1-projects\my-starter
551
551
  2023-02-28 18:29:08 - RESET: > run-s -s reset:*
552
552
  2023-02-28 18:29:08 - RESET:
553
553
  2023-02-28 18:29:08 - RESET: Reset project to factory state ..
@@ -53,7 +53,7 @@ environment: development
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of the site
55
55
  #
56
- version: 2023.8.1
56
+ version: 2023.8.2
57
57
 
58
58
  # copyright
59
59
  # ------------------------------------------------------------------------------
@@ -57,7 +57,7 @@
57
57
  <id>{{ page.url | absolute_url | xml_escape }}</id>
58
58
  <post_limited>{{ limit_posts }}</post_limited>
59
59
  <template_name>J1 Theme</template_name>
60
- <template_version>2023.8.1</template_version>
60
+ <template_version>2023.8.2</template_version>
61
61
 
62
62
  {% assign title = site.title | default: site.name %}
63
63
  {% if page.collection != "posts" %}
@@ -391,6 +391,6 @@ end
391
391
 
392
392
  module Jekyll
393
393
  module J1LunrSearch
394
- VERSION = '2023.8.1'
394
+ VERSION = '2023.8.2'
395
395
  end
396
396
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1",
4
- "version": "2023.8.1",
4
+ "version": "2023.8.2",
5
5
  "description": "J1 Theme Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2023.8.1",
4
+ "version": "2023.8.2",
5
5
  "description": "J1 Theme 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": "2023.8.1",
4
+ "version": "2023.8.2",
5
5
  "description": "J1 Theme 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: 2023.8.1
4
+ version: 2023.8.2
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: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2023-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll