Skip to content

Commit a7ab13f

Browse files
committed
hides completed section if nothing
1 parent 0c85ed5 commit a7ab13f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/person.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ <h2>Work by Platform</h2>
8787
</div>
8888
</article>
8989

90-
<h2>Completed</h2>
90+
{% if completed_by_project %}
91+
<h2>Completed</h2>
9192
{% for project, issues in completed_by_project.items() %}
9293
<details>
9394
<summary>{{ project }}</summary>
@@ -101,6 +102,7 @@ <h2>Completed</h2>
101102
{% endfor %}
102103
</details>
103104
{% endfor %}
105+
{% endif %}
104106
{% endblock %}
105107

106108
{% block extra_scripts %}

0 commit comments

Comments
 (0)