diff options
| author | Jieiku | 2023-08-17 12:16:18 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-17 12:16:18 -0700 |
| commit | 3e5d8a96e9eae21a799f327cd8a52adb891ebe66 (patch) | |
| tree | 6a1377b5207e4e3555f65ca162014468c64d6985 /templates/posts.html | |
| parent | 1d9be812c25508a5dc36afb9e80669b668a47190 (diff) | |
| parent | 0983915e23793c28dd0bee149fd2ec05a7e96a94 (diff) | |
| download | abridge-3e5d8a96e9eae21a799f327cd8a52adb891ebe66.tar.gz abridge-3e5d8a96e9eae21a799f327cd8a52adb891ebe66.tar.bz2 abridge-3e5d8a96e9eae21a799f327cd8a52adb891ebe66.zip | |
resolve merge conflicts
Diffstat (limited to 'templates/posts.html')
| -rw-r--r-- | templates/posts.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/templates/posts.html b/templates/posts.html deleted file mode 100644 index d4fc9e4..0000000 --- a/templates/posts.html +++ /dev/null @@ -1,30 +0,0 @@ -{# This Page Shows the Posts Grouped by Year: example.com/posts/ #} - -{% extends "base.html" %} - -{%- block seo %} - {{- super() }} - {%- set title = "Posts" %} - - {%- if config.title %} - {%- set title_addition = title_separator ~ config.title %} - {%- else %} - {%- set title_addition = "" %} - {%- endif %} - - {%- set description = config.description %} - - {{- macros_head::seo(config=config, title=title, title_addition=title_addition, description=description, is_home=true) }} -{%- endblock seo %} - -{%- 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 }}">{{ post.title }}</a> - <time datetime="{{ post.date }}">{{ post.date | date(format="%F") }}</time></p> - {%- endfor %} - {%- endfor %} - </div> -{%- endblock content %} |
