Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rodneylab/sveltekit-seo

Demo site for SvelteKit SEO showing how to set up meta tags in a SvelteKit blog site.
https://github.com/rodneylab/sveltekit-seo

blog mdsvex netlify seo sveltekit

Last synced: 3 months ago
JSON representation

Demo site for SvelteKit SEO showing how to set up meta tags in a SvelteKit blog site.

Awesome Lists containing this project

README

        

Rodney Lab sveltekit-seo Github banner



Rodney Lab logo



SvelteKit SEO

[![Netlify Status](https://api.netlify.com/api/v1/badges/fcc135a7-58dc-4945-a69c-236f7f6a4e07/deploy-status)](https://app.netlify.com/sites/inspiring-heyrovsky-49f468/deploys)

# sveltekit-seo

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/rodneylab/sveltekit-seo)

SvelteKit demo code for adding SEO support. The functionality is added principally by three components. Follow links to read more about using them:

- Twitter: `src/lib/components/SEO/Twitter.svelte`,
- OpenGraph: `src/lib/components/SEO/OpenGraph.svelte`,
- SchemaOrg: `src/lib/components/SEO/SchemaOrg.svelte`.

See the [SvelteKit SEO blog post on the Rodney Lab site](https://rodneylab.com/sveltekit-seo/) for more on how to set this site up. There is a live demo at [sveltekit-seo.rodneylab.com](https://sveltekit-seo.rodneylab.com/).

Please drop questions into a comment at the bottom of one of the post pages. Here's the quick start:

## Creating your Own MDsveX Blog Site with SEO Components

If you're seeing this, you've probably already done this step. Congrats!

```bash
git clone https://github.com/rodneylab/sveltekit-seo.git my-new-mdsvex-blog
cd my-new-mdsvex-blog
pnpm install # or npm install
npm run dev
```

## Building

```bash
npm run build
```

> You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.

Feel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).