summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/templates/threads/month_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templates/threads/month_list.html b/hyperkitty/templates/threads/month_list.html
index b3918f8..d642567 100644
--- a/hyperkitty/templates/threads/month_list.html
+++ b/hyperkitty/templates/threads/month_list.html
@@ -6,7 +6,7 @@
<div>
<ul>
{% for ar_month in months %}
- <li class="{% if ar_month == month.month %}current{% endif %}">
+ <li class="{% if year == month.year and ar_month == month.month %}current{% endif %}">
<a href="{% url archives_with_month year=year, mlist_fqdn=list_address, month=ar_month %}"
>{{ ar_month|monthtodate:year|date:"F" }}</a>
</li>