Skip to content

Commit bea6b6b

Browse files
authored
using latest date first (#115)
1 parent 0f5f2de commit bea6b6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_includes/git-wiki/components/lists/page-list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}} updated) {% endif %}:</span>
88
<ul class="page-list">
99
{% assign numPages=0 %}
10-
{% assign items = site.html_pages | sort: 'date' %}
10+
{% assign items = site.html_pages | sort: 'date' | reverse %}
1111
{% for page in items %}
1212
{% if numPages >= site.show_wiki_pages_limit %}
1313
{% break %}

_includes/git-wiki/components/lists/post-list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}} updated) {% endif %}:</span>
88
<ul class="post-list">
99
{% assign numPages=0 %}
10-
{% assign items = site.posts | sort: 'date' %}
10+
{% assign items = site.posts | sort: 'date' | reverse %}
1111
{% for post in items %}
1212
{% if numPages >= site.show_wiki_posts_limit %}
1313
{% break %}

0 commit comments

Comments
 (0)