Don't provide SPDX link for custom licenses
This commit is contained in:
parent
42469e9ef8
commit
65e297d792
@ -66,7 +66,11 @@
|
|||||||
<th>Licenses:</th>
|
<th>Licenses:</th>
|
||||||
<td>
|
<td>
|
||||||
{#each pkg.licenses as license, index}
|
{#each pkg.licenses as license, index}
|
||||||
|
{#if license.startsWith('custom')}
|
||||||
|
{license}{#if index+1 < pkg.licenses.length}, {/if}
|
||||||
|
{:else}
|
||||||
<a href="https://spdx.org/licenses/{license}.html">{license}</a>{#if index+1 < pkg.licenses.length}, {/if}
|
<a href="https://spdx.org/licenses/{license}.html">{license}</a>{#if index+1 < pkg.licenses.length}, {/if}
|
||||||
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user