Skip to content

Commit

Permalink
Change: don't mention versions that don't have sufficient entries (#38)
Browse files Browse the repository at this point in the history
This only clutters up the listing, without actually giving any
information.
  • Loading branch information
TrueBrain authored Mar 1, 2024
1 parent e94b9fe commit fbc1b17
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions _layouts/summaries.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ <h3>Survey Result Summary - {{ page.name }}</h3>

<ul>
{% for version in site.data.summaries[page.year][page.week] %}
{% if version[1] == nil %}{% continue %}{% endif %}
<li>
{% if version[1] == nil %}
{{ version[0] }} (no summary due to low games played)
{% else %}
<a href="#{{ version[0] }}">{{ version[0] }}</a>
{% endif %}
<a href="#{{ version[0] }}">{{ version[0] }}</a>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit fbc1b17

Please sign in to comment.