Skip to content

Commit

Permalink
refactor: add date factor to the recommended posts (#1699)
Browse files Browse the repository at this point in the history
  • Loading branch information
huanyushi authored Apr 27, 2024
1 parent 72d93b1 commit 796c386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _includes/related-posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{% assign match_posts = match_posts | push: site.tags[tag] | uniq %}
{% endfor %}

{% assign match_posts = match_posts | reverse %}
{% assign last_index = match_posts.size | minus: 1 %}
{% assign score_list = '' | split: '' %}

Expand Down

0 comments on commit 796c386

Please sign in to comment.