refactor: add date factor to the recommended posts (#1699)

This commit is contained in:
Huanyu Shi 2024-04-28 03:03:13 +08:00 committed by GitHub
parent 72d93b132f
commit 796c386037
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: '' %}