Sveltekit SEO component to save your time
The canonical tag is wrong. The `<link>` tag does not have a `content` attribute, it should be a `href`-attribute for urls. ```svelte <link rel="canonical" content="{canonical === '' ? $page.url : canonical}"> ``` Should be: ```svelte <link rel="canonical" href="{canonical === '' ? $page.url : canonical}"> ``` Sources: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#href - https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls#rel-canonical-link-method
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by fabianmossberg and has received 1 comments.