Commit 230d51c18f
Verified · cmc
Layout: unified · split
build.py +3 −1
| @@ -491,7 +491,9 @@ def get_tags_html(content_dir="./content/blog"): | ||
| 491 | 491 | ) |
| 492 | 492 | |
| 493 | 493 | ordered_tags = [tag for tag in preferred_tag_order if tag in tag_map] |
| 494 | ordered_tags.extend(sorted(tag for tag in tag_map if tag not in preferred_tag_order)) | |
| 494 | ordered_tags.extend( | |
| 495 | sorted(tag for tag in tag_map if tag not in preferred_tag_order) | |
| 496 | ) | |
| 495 | 497 | |
| 496 | 498 | for tag in ordered_tags: |
| 497 | 499 | tag_map[tag].sort(key=lambda x: x["date_obj"], reverse=True) |