diff options
| author | Jieiku | 2023-05-22 23:07:56 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 23:07:56 -0700 |
| commit | d9fb3248650404ad6d078eba39b8b91381b1ebed (patch) | |
| tree | 74f539e18ab82b355c9a5fba542253aa46715579 /templates/posts.html | |
| parent | 236919b4e6ce0c144ca4d5f12ab96a90de2042c2 (diff) | |
| download | abridge-d9fb3248650404ad6d078eba39b8b91381b1ebed.tar.gz abridge-d9fb3248650404ad6d078eba39b8b91381b1ebed.tar.bz2 abridge-d9fb3248650404ad6d078eba39b8b91381b1ebed.zip | |
Fixes for uglyurls
Diffstat (limited to 'templates/posts.html')
| -rw-r--r-- | templates/posts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/posts.html b/templates/posts.html index a353d15..92c07dc 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -27,7 +27,7 @@ {%- 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> + <p><a href="{{ post.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ post.title }}</a> - <time datetime="{{ post.date }}">{{ post.date | date(format="%F") }}</time></p> {%- endfor %} {%- endfor %} </div> |
