2013-04-09 12:41:25 -04:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
permalink: licenses/
|
|
|
|
class: license-types
|
|
|
|
---
|
|
|
|
|
2013-11-05 14:22:51 -05:00
|
|
|
<h1>Licenses</h1>
|
|
|
|
|
|
|
|
<h2>Featured Licenses</h2>
|
2013-04-09 12:41:25 -04:00
|
|
|
|
|
|
|
{% for page in site.pages %}
|
|
|
|
{% if page.layout == "license" %}
|
|
|
|
{% if page.featured %}
|
2013-11-06 10:10:48 -05:00
|
|
|
<div class="license-family cf">
|
|
|
|
<div class="license-family-heading">
|
|
|
|
<h3 class="license-family-name"><a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a></h3>
|
2013-11-05 14:22:51 -05:00
|
|
|
|
2013-11-06 10:10:48 -05:00
|
|
|
<p class="license-family-description">{{ page.description }}</p>
|
|
|
|
</div>
|
2013-11-05 14:22:51 -05:00
|
|
|
|
2013-11-06 10:10:48 -05:00
|
|
|
<div class="license-details">
|
|
|
|
<div class="license-variations">
|
|
|
|
{% comment %} always show this div, even w/o variations, for proper spacing {% endcomment %}
|
|
|
|
<ul class="nav-pills">
|
|
|
|
<li class="active"><a href="#">GPL v2</a></li>
|
|
|
|
<li><a href="#">GPL v3</a></li>
|
|
|
|
<li><a href="#">Affero GPL</a></li>
|
2013-04-09 12:41:25 -04:00
|
|
|
</ul>
|
2013-11-06 10:10:48 -05:00
|
|
|
</div>
|
|
|
|
<table class='license-rules'>
|
|
|
|
<tr>
|
|
|
|
{% assign types = "required|permitted|forbidden" | split: "|" %}
|
|
|
|
{% for type in types %}
|
|
|
|
<th class="label">{{ type | capitalize }}</th>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
{% for type in types %}
|
|
|
|
<td>
|
|
|
|
<ul class="license-{{ type }}">
|
|
|
|
{% for req in page[type] %}
|
|
|
|
<li class="{{ req }}">{{ site.rules[type][req].label }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<p class="small"><a href="{{ page.permalink }}">View full GPL v2 license »</a></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-04-09 12:41:25 -04:00
|
|
|
{% 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" %}
|
2013-10-28 16:10:43 -07:00
|
|
|
{% if page.featured != true and page.hide-from-license-list != true %}
|
2013-11-05 14:22:51 -05:00
|
|
|
<h3 class="license-family-name"><a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a></h3>
|
|
|
|
<p class="license-family-description">{{ page.description }} <a href="{{ page.permalink }}">View full license »</a></p>
|
2013-04-09 12:41:25 -04:00
|
|
|
<table class='license-rules'>
|
|
|
|
{% 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 %}
|