diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html index 198e190..6aac7e1 100644 --- a/templates/page.html +++ b/templates/page.html @@ -62,7 +62,7 @@ <div class="blockdiv"> <a class="b s150" href="{{ tag.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ tag.name }} ({{ parts_string }})</a> <ol> - {%- for inner in tag.pages | sort(attribute="year") %} + {%- for inner in tag.pages | sort(attribute="date") %} {%- if inner.content == page.content %} <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"><b>{{ inner.title }}</b></a></li> {% else %} @@ -105,7 +105,7 @@ <div class="blockdiv"> <a class="b s150" href="{{ tag.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ parts_string }}</a> <ol> - {%- for inner in tag.pages | sort(attribute="year") %} + {%- for inner in tag.pages | sort(attribute="date") %} {%- if inner.content == page.content %} <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"><b>{{ inner.title }}</b></a></li> {% else %} |
