fix: use GTIN-local legal favicons

This commit is contained in:
desfoto automation
2026-09-25 19:51:41 +02:00
parent 89b8ca2283
commit 8be63309d3
6 changed files with 7 additions and 0 deletions

View File

@@ -552,6 +552,8 @@ def link_check(routes: list[tuple[str, str]]) -> list[str]:
if target.startswith("/assets/img/") or target.startswith("/assets/fonts/"):
if (SITE / target.lstrip("/")).exists():
continue
if target.startswith("/gtin/") and (SITE / target.lstrip("/")).exists():
continue
if target == "/assets/fonts/fonts.css":
continue
problems.append(f"{file.relative_to(SITE)} -> {target}")