Site & SEO Kit / SEO Suite
Robots, Sitemaps & Webmanifest Engine
Automated environment-gated robots.txt, dynamic XML sitemaps with human-readable XSL stylesheets, and PWA site.webmanifest generation.
1-Line Zero-Route Server Hook
Instead of manually writing endpoint files for every SEO route, Yaxa exports createYaxaHook() to intercept and generate them on the fly:
src/hooks.server.ts
typescript
// src/hooks.server.tsimport { createYaxaHook } from 'yaxa-svelte';import { siteConfig } from './site.config';// 1-line handler automatically mounts:// - /robots.txt// - /sitemap.xml// - /sitemap.xsl (styled visual dashboard)// - /site.webmanifest// - /api/ogexport const handle = createYaxaHook(siteConfig);Live Endpoint Explorer
Test the live generated endpoints on this deployment:
Dynamic Content Sitemaps
Supply an async function to index dynamic routes directly from your database or CMS:
src/site.config.ts
typescript
// src/site.config.tsexport const siteConfig = defineSiteConfig({ sitemap: { changefreq: 'weekly', priority: 0.8, exclude: ['/api/*', '/admin/*', '/dashboard/*'], dynamicUrls: async () => { // Fetch dynamic blog posts or products from your database / CMS: const posts = await getPosts(); return posts.map(p => ({ loc: `/blog/${p.slug}`, lastmod: p.updatedAt, changefreq: 'monthly', priority: 0.7 })); } }});