From 8be63309d34f523b356159ba6568f76880114f6e Mon Sep 17 00:00:00 2001 From: desfoto automation Date: Fri, 25 Sep 2026 19:51:41 +0200 Subject: [PATCH] fix: use GTIN-local legal favicons --- scripts/build-site.py | 2 ++ site/gtin/datenschutz/index.html | 1 + site/gtin/impressum/index.html | 1 + src/gtin/datenschutz/index.html | 1 + src/gtin/impressum/index.html | 1 + tests/test_site.py | 1 + 6 files changed, 7 insertions(+) diff --git a/scripts/build-site.py b/scripts/build-site.py index d49de3e..f056ef4 100755 --- a/scripts/build-site.py +++ b/scripts/build-site.py @@ -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}") diff --git a/site/gtin/datenschutz/index.html b/site/gtin/datenschutz/index.html index 9e211ae..b160163 100644 --- a/site/gtin/datenschutz/index.html +++ b/site/gtin/datenschutz/index.html @@ -6,6 +6,7 @@ Datenschutz +