mirror of
https://github.com/github/choosealicense.com
synced 2024-11-05 19:28:50 +01:00
Add 's' when only a single license
When `using.size` == 1, add an 's' to the using sentence.
This commit is contained in:
parent
4a39b82795
commit
ff122da796
@ -12,6 +12,6 @@
|
|||||||
<a href="{{ hash[1] }}">{{ hash[0] }}</a>{% if last == false %},{% endif %}
|
<a href="{{ hash[1] }}">{{ hash[0] }}</a>{% if last == false %},{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
use the {% if license.nickname %}{{ license.nickname }}{% else %}{{ license.title }}{% endif %}.
|
use{% if using.size == 1 %}s{% endif %} the {% if license.nickname %}{{ license.nickname }}{% else %}{{ license.title }}{% endif %}.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user