Skip to content

Commit f3a8892

Browse files
kastnerpclaude
andcommitted
Fix logo alt text, exclude upstream test harness, record overrides
Three follow-ups from verifying the v1.1 build: - `_includes/header.liquid`: the logo `alt` chained `site.title | default: ... | append: site.middle_name | append: site.last_name`, so with a non-blank `site.title` it appended the name parts anyway and rendered "Sustainable Urban Systems Lab Urban Systems Lab". Now it picks one branch or the other. This bug predates the migration; fixing it here since the file was being rewritten. - `_config.yml`: exclude `test/`. v1.1 ships a Playwright/integration harness in the starter but does not exclude it, so the specs and shell scripts were being published to the live site. - `.al-folio-overrides.yml`: records the 8 intentional overrides with the upstream checksums they were reviewed against, so `al-folio upgrade overrides audit` can flag drift on future gem bumps. Verified in Docker (ruby 3.3.12): jekyll build clean, `al-folio upgrade audit` reports 0 blocking findings, and the resolved gems include al_img_tools 1.0.3, al_math 1.0.2 and al_folio_distill 1.0.3 — the three carrying the v1.1 security fixes. Swiper resolves to 12.1.2 with matching SRI hashes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent aeaf0eb commit f3a8892

4 files changed

Lines changed: 72 additions & 5 deletions

File tree

‎.al-folio-overrides.yml‎

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
version: 1
3+
overrides:
4+
_includes/figure.liquid:
5+
owner: al_folio_core
6+
gem_version: 1.0.12
7+
upstream_path: _includes/figure.liquid
8+
upstream_sha256: d094ba62f74e50ec9a3a7aca01d41f3d499f7fb3bc3507ca8aecd946347132bb
9+
local_sha256: 54902b218d44582081573b9d469e395e24e8cf3323e148e32f7b08a0207b3ac7
10+
acknowledged_at: '2026-07-30'
11+
_includes/footer.liquid:
12+
owner: al_folio_core
13+
gem_version: 1.0.12
14+
upstream_path: _includes/footer.liquid
15+
upstream_sha256: 65219faad5445eb4456649d77921acd07845875bbcad4fb8f33b12b3d52d96d2
16+
local_sha256: f2d392f9dd6d468a73615d829b381e05ded1c31e77d316050b2d0f60d6121c28
17+
acknowledged_at: '2026-07-30'
18+
_includes/header.liquid:
19+
owner: al_folio_core
20+
gem_version: 1.0.12
21+
upstream_path: _includes/header.liquid
22+
upstream_sha256: c8663513baded68d9fa5fbe4d6363a976535bbe201efe5138243d0ff03101058
23+
local_sha256: aaaacc7589d2a3a8758fcde44efed858b6fff7ebda6b8af18616d5a2b3168a7b
24+
acknowledged_at: '2026-07-30'
25+
_includes/repository/repo.liquid:
26+
owner: al_folio_core
27+
gem_version: 1.0.12
28+
upstream_path: _includes/repository/repo.liquid
29+
upstream_sha256: ce87ac70cb6a8e2b1ed708b0418c638ebc4e59c4198de68bff0fc39cd5a01087
30+
local_sha256: 204440d391995038c509dbefe05c05ab199a7198c71cb6aaaf9e4ebf26195a96
31+
acknowledged_at: '2026-07-30'
32+
_layouts/about.liquid:
33+
owner: al_folio_core
34+
gem_version: 1.0.12
35+
upstream_path: _layouts/about.liquid
36+
upstream_sha256: 2c28eb83b71fe65f252202c11f0b4a19a9b6f1faccdc870b4f91c4ea51d0c6f1
37+
local_sha256: 3f621e36c62f6521f57602e5e711f0b7e1a1d54c02c74cfddff2ceec2fc524b8
38+
acknowledged_at: '2026-07-30'
39+
_layouts/bib.liquid:
40+
owner: al_folio_core
41+
gem_version: 1.0.12
42+
upstream_path: _layouts/bib.liquid
43+
upstream_sha256: 430311d9b94adf6fb1c2fab7609f6e726efc98e2b50e7b1c4cde0ad654c04506
44+
local_sha256: 7119a1649bfc5822a4d111e6b2cdc5c21ec1cc2d4cb84627f3aae78a96f81b88
45+
acknowledged_at: '2026-07-30'
46+
_layouts/page.liquid:
47+
owner: al_folio_core
48+
gem_version: 1.0.12
49+
upstream_path: _layouts/page.liquid
50+
upstream_sha256: eb392ada31cdbe8d1a0f5dbd7229700b5fa7cdf6f4788cbb65d6b746ac3b1231
51+
local_sha256: 6088ab8a58b2f3ae7d42068980747e333471800e6493fd9fa0e7e34a1ccc5c1a
52+
acknowledged_at: '2026-07-30'
53+
assets/css/main.scss:
54+
owner: al_folio_core
55+
gem_version: 1.0.12
56+
upstream_path: assets/css/main.scss
57+
upstream_sha256: 437c6c911c596391413e435dc0ea7095e682e85c572c1fd3fff69f9597455b3e
58+
local_sha256: 961c4d03034dd7d13dee2c34f2a533110706aaea8931c262ece0cd2f4045546f
59+
acknowledged_at: '2026-07-30'

‎Gemfile.lock‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ GEM
218218
jekyll-paginate-v2 (3.0.0)
219219
jekyll (>= 3.0, < 5.0)
220220
jekyll-regex-replace (1.1.0)
221+
jekyll-remote-include (1.0.2)
221222
jekyll-sass-converter (3.1.0)
222223
sass-embedded (~> 1.75)
223224
jekyll-scholar (7.3.0)
@@ -376,6 +377,7 @@ DEPENDENCIES
376377
jekyll-minifier
377378
jekyll-paginate-v2
378379
jekyll-regex-replace
380+
jekyll-remote-include
379381
jekyll-scholar
380382
jekyll-sitemap
381383
jekyll-socials
@@ -466,6 +468,7 @@ CHECKSUMS
466468
jekyll-minifier (0.2.2) sha256=f0a182b98b369492b9d93f1dd064223cf04a10ba31c49e1535f28fe35764ee19
467469
jekyll-paginate-v2 (3.0.0) sha256=001be6c1963caa41fed9c2f43b0d47201defa0395381eb8830487c1c2fc4f4e3
468470
jekyll-regex-replace (1.1.0) sha256=3738e6a0aa07dd3f9b7369e6e38e5d245c623bbd70c31b21e7838c654377a00c
471+
jekyll-remote-include (1.0.2) sha256=dbf8f2213244a4de2225f92f74206d71085b6b23e4611733f614587e01d88295
469472
jekyll-sass-converter (3.1.0) sha256=83925d84f1d134410c11d0c6643b0093e82e3a3cf127e90757a85294a3862443
470473
jekyll-scholar (7.3.0) sha256=d912e60aa5ab342fb4322772f02674152e2799375612a2aa5f9b2228728fd09b
471474
jekyll-sitemap (1.4.0) sha256=0de08c5debc185ea5a8f980e1025c7cd3f8e0c35c8b6ef592f15c46235cf4218

‎_config.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ exclude:
257257
- gems/
258258
- migrations/
259259
- vendor
260+
# Upstream's Playwright/integration harness. v1.1 ships `test/` in the starter but
261+
# does not exclude it, so without this the specs and shell scripts get published
262+
# to the live site. Not upstreamed here; drop this line if al-folio adds it.
263+
- test/
260264
keep_files:
261265
- CNAME
262266
- .nojekyll

‎_includes/header.liquid‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
`logo.enabled` is off. Everything else in this file tracks al_folio_core.
1111
{% endcomment %}
1212
{% if site.logo.enabled and site.logo.path %}
13-
<img
14-
src="{{ site.logo.path | relative_url }}"
15-
height="45"
16-
alt="{{ site.title | default: site.first_name | append: ' ' | append: site.middle_name | append: ' ' | append: site.last_name | strip }}"
17-
>
13+
{%- if site.title == 'blank' -%}
14+
{%- capture logo_alt %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endcapture -%}
15+
{%- else -%}
16+
{%- assign logo_alt = site.title -%}
17+
{%- endif -%}
18+
<img src="{{ site.logo.path | relative_url }}" height="45" alt="{{ logo_alt | normalize_whitespace | strip }}">
1819
{% elsif site.title == 'blank' %}
1920
{% if site.first_name %}
2021
<span class="font-weight-bold">

0 commit comments

Comments
 (0)