diff options
| author | Jieiku | 2022-05-30 22:33:42 -0700 |
|---|---|---|
| committer | Jieiku | 2022-05-30 22:33:42 -0700 |
| commit | 9c1f02f9099b0da48c0bec7f23fa8c0566a331f3 (patch) | |
| tree | 477e96531357223345fef18fb96383e40ddea7c5 /templates/posts.html | |
| parent | a5a2e0ae482a5168781b4abf952885531bdc93cc (diff) | |
| download | abridge-9c1f02f9099b0da48c0bec7f23fa8c0566a331f3.tar.gz abridge-9c1f02f9099b0da48c0bec7f23fa8c0566a331f3.tar.bz2 abridge-9c1f02f9099b0da48c0bec7f23fa8c0566a331f3.zip | |
Whitespace Cleanup, Fix Recent
Diffstat (limited to 'templates/posts.html')
| -rw-r--r-- | templates/posts.html | 17 |
1 files changed, 12 insertions, 5 deletions
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") %} - <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 %} +{% 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") %} + <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 %} |
