Configuration
Learn how to configure SEOBLITZ to match your requirements.
Site Configuration
The main configuration file is astro.config.mjs. Here you can set:
- Site URL
- Integrations
- Build options
Content Configuration
Content collections are defined in src/content.config.ts:
const blog = defineCollection({
loader: glob({ base: './src/content/blog', pattern: '**/*.{md,mdx}' }),
schema: z.object({
title: z.string(),
description: z.string(),
pubDate: z.coerce.date(),
}),
});
Environment Variables
Create a .env file in your project root:
SITE_URL=https://example.com
Deployment
SEOBLITZ can be deployed to any static hosting platform:
- Cloudflare Pages
- Vercel
- Netlify
- GitHub Pages