From 9c1f02f9099b0da48c0bec7f23fa8c0566a331f3 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 22:33:42 -0700 Subject: Whitespace Cleanup, Fix Recent --- templates/posts.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'templates/posts.html') diff --git a/templates/posts.html b/templates/posts.html index 7aee3a7..f093e8e 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -1,5 +1,12 @@ -{% extends "base.html" %}{% block content %}{% set section_item = get_section(path="_index.md") %} -
{% for year, posts in section_item.pages | group_by(attribute="year") %} -

{{ year }}

- {% for post in posts %}

{{ post.title }} - {{ post.date | date(format="%F") }}

{% endfor %}{% endfor %} -
{% endblock content %} +{% extends "base.html" %} +{% block content %} + {% set section_item = get_section(path="_index.md") %} +
+ {% for year, posts in section_item.pages | group_by(attribute="year") %} +

{{ year }}

+ {% for post in posts %} +

{{ post.title }} - {{ post.date | date(format="%F") }}

+ {% endfor %} + {% endfor %} +
+{% endblock content %} -- cgit v1.3.1