{"repo":"TheDahoom/Sveltekit-seo","free":true,"listed":false,"github":"https://github.com/TheDahoom/Sveltekit-seo","clone":"git clone https://github.com/TheDahoom/Sveltekit-seo.git","description":"Sveltekit SEO component to save your time","language":"Svelte","stars":147,"topics":["component","dependency-free","lightweight","no-dependencies","seo","seo-optimization","sveltekit","svelte","jsonld"],"license":"MIT","category":"workflow-automation","readme_excerpt":"A dead simple, no dependencies, svelte component that automates a lot of the annoying SEO parts for you. Also optionally includes functionality for social media preview support Installation If you're using @adapter-static, make sure to follow this Usage Add the component to your layout file (eg: +layout.svelte ). Add a +layout.js file alongside your +layout.svelte with a load function and return data with the SEO/Meta that you need: [!TIP] For type support follow this guide [!TIP] You can override your +layout.js meta from any +page.js . Make sure to add a +page.js with a load function to all your pages with the SEO/Meta that you need: [!TIP] This also works with +layout.server.js and +page.server.js . Component method (Not recommended, duplicates meta tags) Put a tag in each page you want to have SEO for. [!WARNING] This's fine as long as you're making a single-page website (such as, just a homepage). But if you're making a multi-page website, you should use the previous method! [!CAUTION] Using on each page will duplicate meta tags. This's why we recommend using the first method ( load functions and only in your +layout.svelte ). Conflicting stores/load return values You could even combine stores (with any name that you want, just make sure to use the same name that you return from your +layout.js/+page.js load function) and manual input if you really have to: Standard Parameters Parameter Description Type Default ------------- ----------------------- ------- --------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/TheDahoom","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TheDahoom/Sveltekit-seo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}