Skip to main content

SEO checklist

Before-you-ship list for cosmo's centralized SEO setup.

Cosmo centralizes SEO defaults in src/components/SEO.astro. Edit that file — not individual pages — to change defaults across the site.

Before going live

Per-page overrides

Pages override defaults via props on BaseLayout:

<BaseLayout
  title="My post"
  description="A short summary."
  image="/images/custom-og.png"
>

Draft content

Both the blog and docs content collections support a draft field. Mark entries with draft: true in the frontmatter to write without publishing:

---
title: "Work in progress"
draft: true
---

Drafts are automatically filtered from:

The rest of your SEO checklist applies to non-draft content only — drafts won’t be indexed or served to users.