fix: use GTIN-local legal favicons
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user