SEO in Astro v1.0.0-beta.2 is here

The main focus of this release was to add the tool for auditing SEO implementation in the project.

Additionally, this is probably the last beta version before the official launch of version 1.0.

These are the most important changes.

Audit tools

Validate your SEO implementation: check metadata, robots.txt, and sitemap.xml directly from your project.

Comparison between Protocol, VitePress, and Fumadocs.

Simply add this script to your package.json and that's it.

{
  "scripts": {
    "check-seo": "node --input-type=module -e \"import('@dlcastillop/seo-in-astro/tooling').then(m => m.checkSeo())\""
  }
}

Favicon configuration

You can now configure the favicon directly in the seoInAstro integration through the favicon option.

This favicon will be used by all components and is optional (if not specified, it defaults to favicon.svg).

import { defineConfig } from 'astro/config'
import { seoInAstro } from "@dlcastillop/seo-in-astro";

 export default defineConfig({
   integrations: [
     seoInAstro({
       baseUrl: "https://example.com",
       siteName: "Example",
       defaultOgImg: "/default-og.png",
       favicon: "/favicon.icon"
     }),
   ],
 });

Try it out and let me know what you think!

Get it now | Read the docs