diff options
| author | Jieiku | 2022-03-27 19:19:28 -0700 |
|---|---|---|
| committer | Jieiku | 2022-03-27 19:19:28 -0700 |
| commit | 2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 (patch) | |
| tree | 33dda7250a49739153f501dbdec7c26792d87964 /templates/posts.html | |
| download | abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.gz abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.bz2 abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.zip | |
init
Diffstat (limited to 'templates/posts.html')
| -rw-r--r-- | templates/posts.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/posts.html b/templates/posts.html new file mode 100644 index 0000000..7aee3a7 --- /dev/null +++ b/templates/posts.html @@ -0,0 +1,5 @@ +{% 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 %} |
