1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

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

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