mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #253 from github/nicknames
Add license nicknames for license list
This commit is contained in:
commit
5d8a479b72
@ -16,7 +16,13 @@
|
||||
<ul class="nav-pills js-nav-pills">
|
||||
{% for variation in site.licenses %}
|
||||
{% if variation.category and variation.category == license.category %}
|
||||
<li{% if license.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}">{{ variation.title }}</a></li>
|
||||
<li{% if license.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}">
|
||||
{% if variation.nickname != nil %}
|
||||
{{ variation.nickname }}
|
||||
{% else %}
|
||||
{{ variation.title }}
|
||||
{% endif %}
|
||||
</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: GNU Affero General Public License v3.0
|
||||
nickname: GNU Affero GPL v3.0
|
||||
category: GPL
|
||||
tab-slug: agpl-v3
|
||||
hide-from-license-list: true
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: license
|
||||
title: BSD 2-clause "Simplified" License
|
||||
nickname: Simplified BSD
|
||||
category: BSD
|
||||
tab-slug: bsd
|
||||
hide-from-license-list: true
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: license
|
||||
title: BSD 3-clause "New" or "Revised" License
|
||||
nickname: New BSD
|
||||
category: BSD
|
||||
tab-slug: bsd-3
|
||||
hide-from-license-list: true
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: license
|
||||
title: Creative Commons Zero v1.0 Universal
|
||||
nickname: CC0 1.0 Universal
|
||||
category: Public Domain Dedication
|
||||
tab-slug: cc0
|
||||
permalink: /licenses/cc0/
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: GNU General Public License v2.0
|
||||
nickname: GNU GPL v2.0
|
||||
category: GPL
|
||||
tab-slug: gpl-v2
|
||||
hide-from-license-list: false
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: GNU General Public License v3.0
|
||||
nickname: GNU GPL v2.0
|
||||
category: GPL
|
||||
tab-slug: gpl-v3
|
||||
hide-from-license-list: true
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: license
|
||||
title: GNU Lesser General Public License v2.1
|
||||
nickname: GNU LGPL v2.1
|
||||
category: LGPL
|
||||
tab-slug: lgpl-v2_1
|
||||
redirect_from: /licenses/lgpl-v2.1/
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: license
|
||||
title: GNU Lesser General Public License v3.0
|
||||
nickname: GNU LGPL v3.0
|
||||
category: LGPL
|
||||
tab-slug: lgpl-v3
|
||||
hide-from-license-list: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user