1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

No more interpolating <<

This commit is contained in:
Ben Lavender 2013-07-17 11:57:57 -05:00
parent 88e4101ce3
commit babcaa2a18
9 changed files with 15 additions and 15 deletions

View File

@ -4,7 +4,7 @@
<div class='license-body'> <div class='license-body'>
<pre id="license-text"> <pre id="license-text">
{{ content | replace:"<<","[" | replace:">>","]" }} {{ content }}
</pre><!-- /license-text --> </pre><!-- /license-text -->
</div><!-- /license-body --> </div><!-- /license-body -->
@ -13,4 +13,4 @@
</div><!-- /cf --> </div><!-- /cf -->
{% include footer.html %} {% include footer.html %}

View File

@ -7,7 +7,7 @@ source: http://opensource.org/licenses/Artistic-2.0
description: A license that&#8217;s heavily favored by the Perl community. description: A license that&#8217;s heavily favored by the Perl community.
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 <<copyright holders>> with the name (or names) of the copyright holders. 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 [copyright holders] with the name (or names) of the copyright holders.
required: required:
- include-copyright - include-copyright

View File

@ -3,7 +3,7 @@ layout: license
title: BSD (3-Clause) License title: BSD (3-Clause) License
permalink: /licenses/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.
source: http://opensource.org/licenses/BSD-3-Clause source: http://opensource.org/licenses/BSD-3-Clause
@ -22,7 +22,7 @@ forbidden:
--- ---
Copyright (c) <<year>>, <<fullname>> Copyright (c) [year], [fullname]
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, Redistribution and use in source and binary forms, with or without modification,

View File

@ -5,7 +5,7 @@ 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.
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. 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.
source: http://opensource.org/licenses/BSD-2-Clause source: http://opensource.org/licenses/BSD-2-Clause
@ -23,7 +23,7 @@ forbidden:
--- ---
Copyright (c) <<year>>, <<fullname>> Copyright (c) [year], [fullname]
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, Redistribution and use in source and binary forms, with or without modification,

View File

@ -318,8 +318,8 @@ to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found. the "copyright" line and a pointer to where the full notice is found.
<<description>> [description]
Copyright (C) <<year>> <<fullname>> Copyright (C) [year] [fullname]
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -679,7 +679,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode: notice like this when it starts in an interactive mode:
<<project>> Copyright (C) <<year>> <<fullname>> [project] Copyright (C) [year] [fullname]
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details. under certain conditions; type `show c' for details.

View File

@ -498,8 +498,8 @@ safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found. "copyright" line and a pointer to where the full notice is found.
<<description>> [description]
Copyright (C) <<year>> <<fullname>> Copyright (C) [year] [fullname]
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public

View File

@ -7,7 +7,7 @@ featured: true
description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
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. 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.
required: required:
- include-copyright - include-copyright
@ -25,7 +25,7 @@ forbidden:
The MIT License (MIT) The MIT License (MIT)
Copyright (c) <<year>> <<fullname>> Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in

View File

@ -24,4 +24,4 @@ forbidden:
--- ---
Copyright <<year>> <<fullname>> Copyright [year] [fullname]