We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f59975 commit ebf10f6Copy full SHA for ebf10f6
content/posts/_index.md
@@ -2,4 +2,5 @@
2
redirect_to = "/"
3
insert_anchor_links = "right"
4
page_template = "post.html"
5
+sort_by = "date"
6
+++
templates/includes/home.html
@@ -29,7 +29,7 @@ <h2 class="post-list-heading">{{ section.title | default(value="Latest News") }}
29
{% set posts = get_section(path="posts/_index.md") %}
30
{% if posts and posts.pages | length > 0 %}
31
<ul class="post-list">
32
- {% for post in posts.pages | reverse %}
+ {% for post in posts.pages %}
33
<li>
34
{% if post.date %}
35
{% set date_format = config.extra.date_format | default(value="%b %-d, %Y") %}
0 commit comments