mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 21:53:26 +00:00
refactor: add date factor to the recommended posts (#1699)
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
{% assign match_posts = match_posts | push: site.tags[tag] | uniq %}
|
{% assign match_posts = match_posts | push: site.tags[tag] | uniq %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% assign match_posts = match_posts | reverse %}
|
||||||
{% assign last_index = match_posts.size | minus: 1 %}
|
{% assign last_index = match_posts.size | minus: 1 %}
|
||||||
{% assign score_list = '' | split: '' %}
|
{% assign score_list = '' | split: '' %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user