diff options
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> |
