From ced413710fd0a9b62dd2485d0b3849e1bf1c6e11 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Fri, 19 Jun 2026 00:16:45 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20Orphan-Section=20+=20Image1-6.jpg=20en?= =?UTF-8?q?tfernt=20=E2=80=94=20war=20nur=20Test/Debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Verwaiste-Bilder-Sektion aus build_index() entfernt - Image1.jpg–Image6.jpg vom Workspace gelöscht - CSS (orphan-box etc.) bleibt harmlos im Stylesheet --- article_server.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/article_server.py b/article_server.py index 2521d82..76c5c12 100644 --- a/article_server.py +++ b/article_server.py @@ -197,28 +197,6 @@ def build_index(articles: list[dict]) -> str: # Read image map for badge display img_map = get_image_map() - # ── Orphaned images section ── - orphan_imgs = find_orphan_images() - orphan_section = "" - if orphan_imgs: - article_opts = "\\n".join( - f'' - for a in articles - ) - orphan_rows = "\\n".join( - f'''
- 🖼️ {os.path.basename(p)} - -
''' - for p in orphan_imgs[:20] # max 20 to keep page fast - ) - orphan_section = f'''
- 🖼️ {len(orphan_imgs)} verwaiste Bilder — keinem Artikel zugeordnet -
{orphan_rows}
-
''' items_html = "" for sort_key in sorted(by_date_sort.keys(), reverse=True): day_articles = by_date_sort[sort_key] @@ -448,7 +426,6 @@ def build_index(articles: list[dict]) -> str:
55 Podcast
- {orphan_section}