Merge pull request #1062 from makermelissa/fix-duplicate-labels
Fix duplicate Hacktoberfest label
This commit is contained in:
commit
2f9b88897c
1 changed files with 5 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue