docs: add link rel="canonical" to pages (#1845)

This commit is contained in:
metonym 2023-11-12 14:48:38 -08:00 committed by GitHub
commit 7b46d9b059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -65,6 +65,13 @@
)}`;
</script>
<svelte:head>
<link
rel="canonical"
href="https://svelte.carbondesignsystem.com/components/{component}"
/>
</svelte:head>
<Content data-components>
<Grid class="fix-overflow">
<Row>

View file

@ -59,6 +59,10 @@
</svelte:head>`;
</script>
<svelte:head>
<link rel="canonical" href="https://svelte.carbondesignsystem.com/" />
</svelte:head>
<Content>
<Grid>
<Row>