mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-18 04:42:47 +00:00
Make 2021 posts come first on home page
This commit is contained in:
parent
b86b79c000
commit
0d3db0c69d
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
+++
|
||||
title = "Wesley Moore"
|
||||
|
||||
[extra]
|
||||
body_class = "home"
|
||||
+++
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
<h2>Recent Posts</h2>
|
||||
|
||||
{% set section = get_section(path="posts/_index.md") %}
|
||||
{% for sub in section.subsections %}
|
||||
{% set subsections = section.subsections | reverse %}
|
||||
{% for sub in subsections %}
|
||||
{% set section = get_section(path=sub) %}
|
||||
{% for page in section.pages %}
|
||||
{% include "article.html" %}
|
||||
|
|
Loading…
Reference in a new issue