The developer of the Atlas catalog built on Astro 7 addressed synchronization issues for a bilingual site by centralizing metadata in a single src/lib/routes.ts module. This module generates canonical pages, sitemaps, Open Graph images, and llms.txt files for AI crawlers, ensuring data consistency without server-side runtime.

To generate Open Graph images (1200x630) during the build process, the project uses Satori to convert HTML/CSS to SVG and resvg-js to render PNGs. Because Satori does not support variable fonts, the build process utilizes static .ttf files stored in src/assets/og/ to maintain consistent typography across languages.

The site implements a strict Content-Security-Policy (CSP) using SHA-256 hashes for inline scripts. A custom script runs during the astro:build:done hook to calculate hashes for all inline blocks, allowing the site to avoid 'unsafe-inline' directives while maintaining functionality on GitHub Pages.

Quality control is managed through automated CI barriers. The check:seo script validates canonical URLs, hreflang tags, and metadata length, while check:a11y uses Playwright with axe-core to test accessibility across different screen widths, ensuring no layout or contrast issues occur.