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> </script>
<svelte:head>
<link
rel="canonical"
href="https://svelte.carbondesignsystem.com/components/{component}"
/>
</svelte:head>
<Content data-components> <Content data-components>
<Grid class="fix-overflow"> <Grid class="fix-overflow">
<Row> <Row>

View file

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