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