Skip to content

Commit b527e10

Browse files
authored
Merge branch 'gh-pages' into functional-descriptions
2 parents 6d83397 + 3b80479 commit b527e10

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

_includes/sidebar.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ <h3>How to apply this license</h3>
1212
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
1313
</p>
1414
{% endif %}
15+
{% assign xgpl = false %}
16+
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
17+
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}</code>{% if xgpl %}+{% endif %}</strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
1518
</div>
19+
1620
{% if page.source %}
1721
<div class="source">
1822
<a href="{{ page.source }}">

assets/css/application.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ strong {
286286
width: 100%;
287287
}
288288

289+
.note {
290+
color: #687072;
291+
}
292+
289293
.button {
290294
-webkit-border-radius: 3px;
291295
-moz-border-radius: 3px;

0 commit comments

Comments
 (0)