mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
refactor: add date factor to the recommended posts (#1699)
This commit is contained in:
parent
72d93b132f
commit
796c386037
@ -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: '' %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user