chore: remove unused Font Awesome webfonts #79

Merged
claudiomaradonna merged 1 commit from chore/remove-unused-webfonts into master 2026-10-06 16:39:15 +02:00
Collaborator

Why

The Font Awesome font files in src/webfonts/ have been orphaned since the site moved its icons to Fontello, which _fontello.scss embeds as base64. No stylesheet, template, or script loads them; the only reference left was a robots.txt Disallow line for the directory. Jekyll still copied them into _site/ once per language and jekyll-gzip compressed them, so they made up more than half of the production build and of the image layer pushed for both architectures.

What changed

  • src/webfonts/ is gone. Pages and icons are unchanged: the only icon font in the built CSS is Fontello.
  • The robots.txt wildcard group now holds Allow: / in place of the /webfonts/ Disallow, so it keeps a rule of its own with the same effective policy. The AI-training crawler blocks are untouched.

Verification

  • make build passes.
  • A production build of master against this branch: 14 MB / 407 files before, 5.6 MB / 359 files after; the only files that differ are the removed fonts, and nothing in the new output references them.
  • Not run: a visual check in the browser and the container image build (make prod_build).
## Why The Font Awesome font files in `src/webfonts/` have been orphaned since the site moved its icons to Fontello, which `_fontello.scss` embeds as base64. No stylesheet, template, or script loads them; the only reference left was a `robots.txt` Disallow line for the directory. Jekyll still copied them into `_site/` once per language and jekyll-gzip compressed them, so they made up more than half of the production build and of the image layer pushed for both architectures. ## What changed - `src/webfonts/` is gone. Pages and icons are unchanged: the only icon font in the built CSS is Fontello. - The `robots.txt` wildcard group now holds `Allow: /` in place of the `/webfonts/` Disallow, so it keeps a rule of its own with the same effective policy. The AI-training crawler blocks are untouched. ## Verification - `make build` passes. - A production build of `master` against this branch: 14 MB / 407 files before, 5.6 MB / 359 files after; the only files that differ are the removed fonts, and nothing in the new output references them. - Not run: a visual check in the browser and the container image build (`make prod_build`).
The Font Awesome font files in src/webfonts/ have been orphaned since
the site moved its icons to Fontello, which _fontello.scss embeds as
base64. No stylesheet, template, or script loads them; the only
reference left was a robots.txt Disallow line for the directory.

Jekyll still copied them into _site/ twice (once per language) and
jekyll-gzip compressed them, so they made up more than half of the
production build: 14 MB and 407 files before, 5.6 MB and 359 files
after. The robots.txt wildcard group now holds an explicit Allow: /
so it keeps a rule of its own with the same effective policy.
claudiomaradonna deleted branch chore/remove-unused-webfonts 2026-10-06 16:39:20 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
unitoo/website!79
No description provided.