mirror of
https://github.com/alvierahman90/gronk.git
synced 2025-12-12 18:23:59 +00:00
order tags browser, exclude include readme files
This commit is contained in:
5
gronk.py
5
gronk.py
@@ -492,6 +492,7 @@ def generate_tag_browser(output_dir):
|
||||
"path": str(entry.get("path", Path(""))),
|
||||
}
|
||||
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,
|
||||
"title": tag,
|
||||
"is_dir": False,
|
||||
"is_dir": True,
|
||||
}
|
||||
for tag in tags.keys()
|
||||
for tag in sorted(tags.keys())
|
||||
],
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user