1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-28 22:53:04 +02:00
choosealicense.com/licenses.html
Jeff King 3298755706 fix capitalization of PERL/artistic license
Perl-ites prefer "Perl" for the language and "perl" for the implementation, but never "PERL" (see `perldoc perlfaq1`).

Text referring to a license as a proper noun reads better with the noun capitalized (e.g., "the Artistic License"), and this form is used by `perldoc artistic`.
2013-06-15 04:56:01 -03:00

74 lines
1.9 KiB
HTML

---
layout: default
permalink: licenses/
class: license-types
---
<h1>Featured</h1>
{% for page in site.pages %}
{% if page.layout == "license" %}
{% if page.featured %}
<table class='license-rules'>
<tr>
<th class='name'>
<a href="{{ page.permalink }}">{{ page.title }}</a>
</th>
<th class='summary'>
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
</th>
</tr>
{% assign types = "required|permitted|forbidden" | split: "|" %}
{% for type in types %}
<tr>
<td class="label">{{ type | capitalize }}</td>
<td>
<ul class="license-{{ type }}">
{% for req in page[type] %}
<li class="{{ req }}">{{ site.rules[type][req].label }}</li>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endif %}
{% endfor %}
<h2>Other licenses</h2>
<p>
Some communities tend to have specific licenses preferred by the
community. For example, Perl developers often choose the Artistic License.
</p>
{% for page in site.pages %}
{% if page.layout == "license" %}
{% if page.featured != true %}
<table class='license-rules'>
<tr>
<th class='name'>
<a href="{{ page.permalink }}">{{ page.title }}</a>
</th>
<th class='summary'>
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
</th>
</tr>
{% assign types = "required|permitted|forbidden" | split: "|" %}
{% for type in types %}
<tr>
<td class="label">{{ type | capitalize }}</td>
<td>
<ul class="license-{{ type }}">
{% for req in page[type] %}
<li class="{{ req }}">{{ site.rules[type][req].label }}</li>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endif %}
{% endfor %}