aboutsummaryrefslogtreecommitdiff
path: root/templates/posts.html
diff options
context:
space:
mode:
authorJieiku2022-05-30 23:20:43 -0700
committerJieiku2022-05-30 23:20:43 -0700
commit30ea88e8d8c201c3fcce409a54712de820610dff (patch)
treeccf9c2ea31816153f59c725d85ba8eaa54e3ef21 /templates/posts.html
parentd8cd3b9988f9021ea1b285db3231048acb7b74f4 (diff)
downloadabridge-30ea88e8d8c201c3fcce409a54712de820610dff.tar.gz
abridge-30ea88e8d8c201c3fcce409a54712de820610dff.tar.bz2
abridge-30ea88e8d8c201c3fcce409a54712de820610dff.zip
Add Favicons, Add Head Macro, 404 noindex, config.toml Resources, Whitespace Cleanup
Diffstat (limited to 'templates/posts.html')
-rw-r--r--templates/posts.html20
1 files changed, 10 insertions, 10 deletions
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") %}
- <div>
- {% for year, posts in section_item.pages | group_by(attribute="year") %}
+{%- block content %}
+{%- set section_item = get_section(path="_index.md") %}
+ <div>
+ {%- for year, posts in section_item.pages | group_by(attribute="year") %}
<h2>{{ year }}</h2>
- {% for post in posts %}
- <p><a href="{{ post.permalink | safe }}" title="{{ post.title }}">{{ post.title }}</a> - {{ post.date | date(format="%F") }}</p>
- {% endfor %}
- {% endfor %}
- </div>
-{% endblock content %}
+ {%- for post in posts %}
+ <p><a href="{{ post.permalink | safe }}" title="{{ post.title }}">{{ post.title }}</a> - {{ post.date | date(format="%F") }}</p>
+ {%- endfor %}
+ {%- endfor %}
+ </div>
+{%- endblock content %}