SEO

Svekyll automatically makes every post and every page SEO optimized. This means the correct tags are automatically added to each page so that search engines will rank your site highly.

Specifically, <meta> tags are generated simply by adding to the title and description inside the _config.yml

Each blog post gets its own specialized SEO for that post according to the title and description found in the YAML Front Matter (YFM).

You can easiy customize the SEO if you need to. To do that, import the seo store and set the title and description. These will be included into your page when building SSR, giving you all the benefits of per-page static indexing in search engines.

This is an example of modifying the SEO inside a post.

<script>
import seo from '$lib/store';
$seo = { title: "My new page", description = "My new description" };
</script>