diff options
| author | Jieiku | 2022-05-30 23:20:43 -0700 |
|---|---|---|
| committer | Jieiku | 2022-05-30 23:20:43 -0700 |
| commit | 30ea88e8d8c201c3fcce409a54712de820610dff (patch) | |
| tree | ccf9c2ea31816153f59c725d85ba8eaa54e3ef21 /templates/categories/single.html | |
| parent | d8cd3b9988f9021ea1b285db3231048acb7b74f4 (diff) | |
| download | abridge-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/categories/single.html')
| -rw-r--r-- | templates/categories/single.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/categories/single.html b/templates/categories/single.html index 641add7..0fe639d 100644 --- a/templates/categories/single.html +++ b/templates/categories/single.html @@ -1,13 +1,13 @@ {% extends "base.html" %} -{% block content %} -<div> - <h2>{{ term.name }}</h2> - {% for year, posts in term.pages | group_by(attribute="year") %} - <h3>{{ year }}</h3> - {% for page in posts %} +{%- block content %} + <div> + <h2>{{ term.name }}</h2> + {%- for year, posts in term.pages | group_by(attribute="year") %} + <h3>{{ year }}</h3> + {%- for page in posts %} <p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p> - {% endfor %} - {% endfor %} -</div> -{% endblock content %} + {%- endfor %} + {%- endfor %} + </div> +{%- endblock content %} |
