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

Merge pull request #611 from github/post-source

Remove obsolete `if page.source`
This commit is contained in:
Mike Linksvayer 2018-10-10 15:43:34 -07:00 committed by GitHub
commit 2db49e1e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,14 +17,12 @@
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</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="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p> <p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</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="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
</div> </div>
{% if page.source %}
<div class="source"> <div class="source">
<a href="https://spdx.org/licenses/{{ page.spdx-id }}.html"> <a href="https://spdx.org/licenses/{{ page.spdx-id }}.html">
<span class="license-sprite"></span> <span class="license-sprite"></span>
Source Source
</a> </a>
</div> </div>
{% endif %}
{% if page.using %} {% if page.using %}
<div class="projects-with-license"> <div class="projects-with-license">