diff --git a/_includes/license-overview.html b/_includes/license-overview.html index d504c20..38a853f 100644 --- a/_includes/license-overview.html +++ b/_includes/license-overview.html @@ -1,3 +1,6 @@ +{% assign id = "/licenses/" | append: include.license-id %} +{% assign licenses = site.licenses | where:"id", id %} +{% for license in licenses %}

@@ -75,3 +78,4 @@ {% endfor %}

+{% endfor %} diff --git a/licenses.html b/licenses.html index e1811ba..6b4b6ea 100644 --- a/licenses.html +++ b/licenses.html @@ -7,17 +7,10 @@ title: Licenses

Featured licenses

-{% assign featured_licenses = site.licenses | where:"featured",true %} -{% for license in featured_licenses | sort: 'path' %} - {% include license-overview.html license=license %} -{% endfor %} - -

Other licenses

-

- Some communities tend to have specific licenses preferred by the - community. For example, Perl developers often choose the Artistic License. -

-{% assign licenses = site.licenses | where:"featured",false | where:"hidden",false | where:"variant",false %} -{% for license in licenses %} - {% include license-overview.html license=license %} -{% endfor %} +{% include license-overview.html license-id="agpl-3.0" %} +{% include license-overview.html license-id="gpl-3.0" %} +{% include license-overview.html license-id="lgpl-3.0" %} +{% include license-overview.html license-id="mpl-2.0" %} +{% include license-overview.html license-id="apache-2.0" %} +{% include license-overview.html license-id="mit" %} +{% include license-overview.html license-id="unlicense" %}