diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 3f212ce..6148959 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -24,12 +24,12 @@ {{ page.note }}

{% endif %} - {% assign xgpl = false %} - {% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %} - {% if page.spdx-id contains 'GFDL' %}{% assign gfdl = true %}{% endif %} + {% assign lateronly = false %} + {% if page.spdx-id contains 'GPL' %}{% assign lateronly = true %} + {% elsif page.spdx-id contains 'GFDL' %}{% assign lateronly = true %}{% endif %} {% assign ofl = false %} {% if page.spdx-id contains 'OFL-1' %}{% assign ofl = true %}{% endif %} -

Add {{ page.spdx-id }}{% if xgpl or gfdl %}-or-later{% endif %}{% if ofl %}-no-RFN{% endif %}{% if xgpl or gfdl %} (or {{ page.spdx-id }}-only to disallow future versions){% endif %}{% if ofl %} (or {{ page.spdx-id }}-RFN if a Reserved Font Name is specified after the copyright statement){% endif %} to your project’s package description, if applicable (e.g., Node.js, Ruby, and Rust). This will ensure the license is displayed in package directories.

+

Add {{ page.spdx-id }}{% if lateronly %}-or-later{% endif %}{% if ofl %}-no-RFN{% endif %}{% if lateronly %} (or {{ page.spdx-id }}-only to disallow future versions){% endif %}{% if ofl %} (or {{ page.spdx-id }}-RFN if a Reserved Font Name is specified after the copyright statement){% endif %} to your project’s package description, if applicable (e.g., Node.js, Ruby, and Rust). This will ensure the license is displayed in package directories.

{% if page.spdx-id contains 'GPL-2' %}

If you would like your project to adopt the GPL-3.0’s cure provision, add the text of the GPL Cooperation Commitment to a file named COMMITMENT in the same directory as your {{ page.spdx-id }} license file.

{% endif %} @@ -37,7 +37,7 @@
- + Source