Skip to content

Commit

Permalink
对内容进行排序
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo-hk committed Dec 14, 2024
1 parent bd4edd5 commit aff0bfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/README.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

## Table of Contents

<% stars.sort((a, b) => new Date(b.updated_at) - new Date(a.updated_at)); %>
<% for(let [language, repositories] of stars) { %>
## <%= language %>
<% for(let repo of repositories) { %>
Expand Down

0 comments on commit aff0bfa

Please sign in to comment.