1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Use Absolute Permalinks

This removes the deprecation warning about absolute permalinks. Absolute Permalinks will be the default as of Jekyll v1.1: http://jekyllrb.com/docs/upgrading/
This commit is contained in:
James Dennes 2013-07-14 15:32:06 +02:00
parent 6dd1d34419
commit 9dbb60c5c6
16 changed files with 16 additions and 16 deletions

View File

@ -36,7 +36,7 @@ Licenses sit in the `/licenses` folder as markdown (`.md`) files. Each license h
* `title` - The name of the license * `title` - The name of the license
* `layout` - This should be `license` * `layout` - This should be `license`
* `permalink` - The url to the license relative to `/licenses/` * `permalink` - The absolute URL to the license, beginning with `/licenses/`
* `source` - URL to the license source text * `source` - URL to the license source text
* `note` - The note field in the sidebar (optional) * `note` - The note field in the sidebar (optional)
* `how` - How to use the license, also in the sidebar * `how` - How to use the license, also in the sidebar

View File

@ -1,5 +1,5 @@
title: ChooseALicense.com title: ChooseALicense.com
relative_permalinks: false
rules: rules:
required: required:

View File

@ -1,7 +1,7 @@
--- ---
title: Affero GPL title: Affero GPL
layout: license layout: license
permalink: agpl/ permalink: /licenses/agpl/
source: http://www.gnu.org/licenses/gpl-3.0-standalone.html source: http://www.gnu.org/licenses/gpl-3.0-standalone.html
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license. note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.

View File

@ -1,7 +1,7 @@
--- ---
title: Apache v2 License title: Apache v2 License
layout: license layout: license
permalink: apache/ permalink: /licenses/apache/
featured: true featured: true

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: Artistic License 2.0 title: Artistic License 2.0
permalink: artistic/ permalink: /licenses/artistic/
source: http://opensource.org/licenses/Artistic-2.0 source: http://opensource.org/licenses/Artistic-2.0

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: BSD (3-Clause) License title: BSD (3-Clause) License
permalink: bsd-3-clause/ permalink: /licenses/bsd-3-clause/
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace <<year>> with the current year and <<fullname>> with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace <<year>> with the current year and <<fullname>> with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work.

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: BSD 2-Clause license title: BSD 2-Clause license
permalink: bsd/ permalink: /licenses/bsd/
description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license. description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license.

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: Eclipse Public License v1.0 title: Eclipse Public License v1.0
permalink: eclipse/ permalink: /licenses/eclipse/
description: Used by the Eclipse foundation for its software, this license includes reciprocal requirements in some cases. description: Used by the Eclipse foundation for its software, this license includes reciprocal requirements in some cases.

View File

@ -1,7 +1,7 @@
--- ---
title: GPL v2 title: GPL v2
layout: license layout: license
permalink: gpl-v2/ permalink: /licenses/gpl-v2/
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.

View File

@ -1,7 +1,7 @@
--- ---
title: GPL v3 title: GPL v3
layout: license layout: license
permalink: gpl-v3/ permalink: /licenses/gpl-v3/
featured: true featured: true

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: LGPL v2.1 title: LGPL v2.1
permalink: lgpl-v2.1/ permalink: /licenses/lgpl-v2.1/
description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: LGPL v3 title: LGPL v3
permalink: lgpl-v3/ permalink: /licenses/lgpl-v3/
description: Version 3 of the LGPL is an additional set of permissions to the <a href="/licenses/gpl-v3">GPL v3 license</a> that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. description: Version 3 of the LGPL is an additional set of permissions to the <a href="/licenses/gpl-v3">GPL v3 license</a> that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: MIT License title: MIT License
permalink: mit/ permalink: /licenses/mit/
featured: true featured: true

View File

@ -1,7 +1,7 @@
--- ---
layout: license layout: license
title: Mozilla Public License Version 2.0 title: Mozilla Public License Version 2.0
permalink: mozilla/ permalink: /licenses/mozilla/
description: The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license. description: The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license.

View File

@ -1,6 +1,6 @@
--- ---
layout: license layout: license
permalink: no-license/ permalink: /no-license/
class: license-types class: license-types
title: No License title: No License

View File

@ -1,6 +1,6 @@
--- ---
layout: license layout: license
permalink: public-domain/ permalink: /licenses/public-domain/
class: license-types class: license-types
title: Public Domain (CC0) title: Public Domain (CC0)