docs: add link rel="canonical" to pages

This commit is contained in:
Eric Liu 2023-11-12 14:43:33 -08:00
commit e0b9e2f966
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>