From 30ea88e8d8c201c3fcce409a54712de820610dff Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 23:20:43 -0700 Subject: Add Favicons, Add Head Macro, 404 noindex, config.toml Resources, Whitespace Cleanup --- templates/posts.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'templates/posts.html') diff --git a/templates/posts.html b/templates/posts.html index f093e8e..3d4184d 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -1,12 +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") %} +{%- 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 %} + {%- for post in posts %} +

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

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