order tags browser, exclude include readme files

This commit is contained in:
2025-12-10 13:03:33 +00:00
parent 245dcb2f96
commit 0d98335078

View File

@@ -492,6 +492,7 @@ def generate_tag_browser(output_dir):
"path": str(entry.get("path", Path(""))), "path": str(entry.get("path", Path(""))),
} }
for entry in index_entries for entry in index_entries
if entry.get("src_path").name != "readme.md"
], ],
) )
) )
@@ -508,9 +509,9 @@ def generate_tag_browser(output_dir):
{ {
"path": tag, "path": tag,
"title": tag, "title": tag,
"is_dir": False, "is_dir": True,
} }
for tag in tags.keys() for tag in sorted(tags.keys())
], ],
) )
) )