Merge pull request #1062 from makermelissa/fix-duplicate-labels

Fix duplicate Hacktoberfest label
This commit is contained in:
Melissa LeBlanc-Williams 2022-10-06 13:41:19 -07:00 committed by GitHub
commit 2f9b88897c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,11 @@ permalink: /contributing/open-issues
Sort by issue labels
<select>
{% for label in labels %}
<option value='{{ label | downcase | replace: ' ', '-' }}'>{{ label | capitalize }}</option>
{% assign lowerlabel = label | downcase %}
{% assign ddlabels = ddlabels | push: lowerlabel | uniq %}
{% endfor %}
{% for label in ddlabels %}
<option value='{{ label | replace: ' ', '-' }}'>{{ label | capitalize }}</option>
{% endfor %}
<select>
</p>