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}