Skip to content

Commit 45f98fa

Browse files
committed
Fix duplicate hacktoberfest label
1 parent 37f851b commit 45f98fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

contributing/open_issues.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
Sort by issue labels
2222
<select>
2323
{% for label in labels %}
24-
<option value='{{ label | downcase | replace: ' ', '-' }}'>{{ label | capitalize }}</option>
24+
{% assign lowerlabel = label | downcase %}
25+
{% assign ddlabels = ddlabels | push: lowerlabel | uniq %}
26+
{% endfor %}
27+
{% for label in ddlabels %}
28+
<option value='{{ label | replace: ' ', '-' }}'>{{ label | capitalize }}</option>
2529
{% endfor %}
2630
<select>
2731
</p>

0 commit comments

Comments
 (0)