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> </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>