Configure site for /cg-ai subdirectory deployment

- Set base path to '/cg-ai' in astro.config.mjs
- Update favicon to use metagov.png with dynamic base path
- Add deployment documentation for subdirectory configuration
- Rebuild dist with correct asset paths

CSS and other assets will now load correctly when deployed
to example.com/cg-ai/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Nathan Schneider
2025-11-18 15:07:50 -07:00
parent 61bb405f99
commit 5899006717
3 changed files with 26 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ const parsedSections = sections.map(section => {
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href={`${import.meta.env.BASE_URL}/metagov.png`} />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Digital Zine</title>