2013-04-09 12:41:25 -04:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
permalink: licenses/
|
|
|
|
class: license-types
|
|
|
|
---
|
|
|
|
|
|
|
|
<h1>Featured</h1>
|
|
|
|
|
|
|
|
{% for page in site.pages %}
|
|
|
|
{% if page.layout == "license" %}
|
|
|
|
{% if page.featured %}
|
2013-10-30 20:23:28 +02:00
|
|
|
<table class="license-rules">
|
2013-04-09 12:41:25 -04:00
|
|
|
<tr>
|
2013-10-30 20:23:28 +02:00
|
|
|
<th class="name">
|
2013-04-09 12:41:25 -04:00
|
|
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
|
|
|
</th>
|
2013-10-30 20:23:28 +02:00
|
|
|
<th class="summary">
|
2013-04-09 12:41:25 -04:00
|
|
|
{{ 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
|
2013-06-15 04:56:01 -03:00
|
|
|
community. For example, Perl developers often choose the Artistic License.
|
2013-04-09 12:41:25 -04:00
|
|
|
</p>
|
|
|
|
|
|
|
|
{% for page in site.pages %}
|
|
|
|
{% if page.layout == "license" %}
|
|
|
|
{% if page.featured != true %}
|
2013-10-30 20:23:28 +02:00
|
|
|
<table class="license-rules">
|
2013-04-09 12:41:25 -04:00
|
|
|
<tr>
|
2013-10-30 20:23:28 +02:00
|
|
|
<th class="name">
|
2013-04-09 12:41:25 -04:00
|
|
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
|
|
|
</th>
|
2013-10-30 20:23:28 +02:00
|
|
|
<th class="summary">
|
2013-04-09 12:41:25 -04:00
|
|
|
{{ 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 %}
|
2013-06-15 04:56:01 -03:00
|
|
|
{% endfor %}
|