You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resolver-target licence tag shows a full URL instead of an SPDX identifier #133
The resolver-target licence tag shows a full URL instead of an SPDX identifier.
src/pages/id/ref/[uuid]/index.astro renders {t.license && <span class="reg-tag">{t.license}</span>}. That code was written when license held CC-BY-SA-3.0. scripts/compile.ts now rewrites license to https://spdx.org/licenses/CC-BY-SA-3.0, so every target row shows a long URL inside a small tag chip.
Suggested fix
Derive the label from the IRI, or use the IRI only as the link target.
Found during review of #127. Not caused by that PR.
Fixed on staging by ba908c7 (#143). The chip now reads CC-BY-SA-3.0 and links to the SPDX page; the published JSON-LD still carries the full canonical IRI.
The fix ships with the v0.1.0 release, #4. Closing now rather than at the tag, because the change is on staging and Closes does not fire from a merge into a non-default branch.
Activity
fix(site): render the resolver-target licence and rights correctly (#143
maehr commentedon Sep 3, 2026
Fixed on
stagingbyba908c7(#143). The chip now readsCC-BY-SA-3.0and links to the SPDX page; the published JSON-LD still carries the full canonical IRI.The fix ships with the
v0.1.0release, #4. Closing now rather than at the tag, because the change is onstagingandClosesdoes not fire from a merge into a non-default branch.