Skip to content

Commit

Permalink
Correct bug counting number of years in archive template
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWold committed Aug 31, 2024
1 parent b2016fa commit 1cc5ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Templates/archive.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% assign intYear = year | plus: 0 %}
{% if hidePastArticles == false or intYear > 2020 %}
<section id="{{ year }}">
{% if year.size > 1 %}
{% if years.size > 1 %}
<div class="subheading">{{ year }}</div>
{% endif %}
<ul>
Expand Down

0 comments on commit 1cc5ec5

Please sign in to comment.