diff --git a/_includes/sidebar.html b/_includes/sidebar.html index fc174ba..9b4bacc 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -12,7 +12,11 @@ Note: {{ page.note | markdownify | remove: '

' | remove: '

' }}

{% endif %} + {% assign xgpl = false %} + {% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %} +

Optional: Add {{ page.spdx-id }}{% if xgpl %}+{% endif %}{% if xgpl %} (or {{ page.spdx-id }} to disallow future versions){% 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.source %}
diff --git a/assets/css/application.scss b/assets/css/application.scss index 5380ccd..02ae702 100644 --- a/assets/css/application.scss +++ b/assets/css/application.scss @@ -286,6 +286,10 @@ strong { width: 100%; } +.note { + color: #687072; +} + .button { -webkit-border-radius: 3px; -moz-border-radius: 3px;