pandorga 1.6.2 → 1.6.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/_layouts/shell.html +7 -1
- data/lib/pandorga/version.rb +1 -1
- data/scripts/test/test-hero-summary.rb +8 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 107838b82bee49181ddb10435ed0ab5726579fda06fe0bc0e5399ce0f17f86ad
|
|
4
|
+
data.tar.gz: f8e893a43d87ed1b846a522cef98b2314c56efdfd304804354458d6c5ae9e0be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df29223d7d858b285e1b1e9cf991cd3362e192895fdbcbded93c3f2cc7991f7594779b45ee5a04d7c840ac7279cf26eb23bb704b25b55f17ab7b95d4a483743d
|
|
7
|
+
data.tar.gz: 1e1ac9acc5c296025106b85da0bc4535ca67a3bf72061932dbffc1273f027f66d69666dc17f265eb40d9298b37b99cdf23cef2476c510a9cd1e4862a5b965bd0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.6.3] — 2026-10-10
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- The Google Fonts stylesheet is linked with the ledger sheets again. In
|
|
8
|
+
1.6.2 it sat above the preload script, and that script cannot run until
|
|
9
|
+
earlier stylesheets finish, so first paint waited on fonts.googleapis.com.
|
|
10
|
+
The font hosts are still preconnected before that script. The static
|
|
11
|
+
summary and the serif fallback are unchanged.
|
|
12
|
+
|
|
13
|
+
No `pandorga:` config keys were added or renamed.
|
|
14
|
+
|
|
3
15
|
## [1.6.2] — 2026-10-10
|
|
4
16
|
|
|
5
17
|
### Fixed
|
data/_layouts/shell.html
CHANGED
|
@@ -58,9 +58,14 @@
|
|
|
58
58
|
<meta name="twitter:image" content="{{ og_image_url }}" />
|
|
59
59
|
<!-- Canonical URL -->
|
|
60
60
|
<link rel="canonical" href="{{ canonical_path | absolute_url }}" />
|
|
61
|
+
{%- comment -%}
|
|
62
|
+
Preconnect only. font-loader's stylesheet is render-blocking, and the
|
|
63
|
+
preload script below is parser-blocking. A stylesheet before that script
|
|
64
|
+
holds the parser until fonts.googleapis.com answers, so the ledger sheets
|
|
65
|
+
and the hero summary cannot paint. The face is linked with the other sheets.
|
|
66
|
+
{%- endcomment -%}
|
|
61
67
|
<link href="https://fonts.googleapis.com" rel="preconnect" />
|
|
62
68
|
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect" />
|
|
63
|
-
{% include theme/font-loader.html %}
|
|
64
69
|
{% include theme/critical-preload.html %}
|
|
65
70
|
<link rel="stylesheet" href="/assets/css/base.css" />
|
|
66
71
|
<link rel="stylesheet" href="/assets/css/global-link.css" />
|
|
@@ -110,6 +115,7 @@
|
|
|
110
115
|
{%- for _sheet in _ledger -%}
|
|
111
116
|
<link rel="stylesheet" href="/assets/css/ledger/{{ _sheet }}.css" />
|
|
112
117
|
{%- endfor -%}
|
|
118
|
+
{% include theme/font-loader.html %}
|
|
113
119
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap"
|
|
114
120
|
rel="stylesheet" />
|
|
115
121
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/css/flag-icons.min.css" />
|
data/lib/pandorga/version.rb
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
# Hero summary is HTML at build time. The empty box and the sans fallback
|
|
5
|
-
# were the home CLS.
|
|
5
|
+
# were the home CLS. The font stylesheet must not precede the preload
|
|
6
|
+
# script: that script is parser-blocking, so a sheet above it holds first
|
|
7
|
+
# paint on fonts.googleapis.com. PLT-AC-23.
|
|
6
8
|
|
|
7
9
|
require "pathname"
|
|
8
10
|
require "tmpdir"
|
|
@@ -55,10 +57,12 @@ fail!("font stylesheet dropped display=swap") unless fonts.include?("&display=sw
|
|
|
55
57
|
|
|
56
58
|
font_at = shell.index("theme/font-loader.html")
|
|
57
59
|
base_at = shell.index('href="/assets/css/base.css"')
|
|
60
|
+
script_at = shell.index("theme/critical-preload.html")
|
|
58
61
|
preconnect_at = shell.index("fonts.googleapis.com")
|
|
59
|
-
fail!("font loader missing") unless font_at
|
|
60
|
-
fail!("
|
|
61
|
-
fail!("font
|
|
62
|
+
fail!("font loader missing") unless font_at && script_at && base_at
|
|
63
|
+
fail!("font stylesheet precedes the preload script") unless script_at < font_at
|
|
64
|
+
fail!("font stylesheet precedes local CSS") unless base_at < font_at
|
|
65
|
+
fail!("font host is not preconnected before the preload script") unless preconnect_at && preconnect_at < script_at
|
|
62
66
|
fail!("body fallback is still a sans") unless shared.include?('body_fallback: "Georgia, serif"')
|
|
63
67
|
|
|
64
68
|
puts "PASS test-hero-summary"
|