Skip to content

Serve site from podscript.dev + brand logo/favicon/accent - #3

Merged
mikkel-bergmann merged 1 commit into
mainfrom
custom-domain
Jul 6, 2026
Merged

Serve site from podscript.dev + brand logo/favicon/accent#3
mikkel-bergmann merged 1 commit into
mainfrom
custom-domain

Conversation

@mikkel-bergmann

Copy link
Copy Markdown
Owner

Summary

Switches the site from project GitHub Pages (…github.io/podscript/) to the custom domain podscript.dev, served at the domain root.

  • astro.config.mjs: drop base: '/podscript', set site: 'https://podscript.dev'
  • site/scripts/sync-docs.mjs: BASE = '' (internal content links become root-relative)
  • site/src/content/docs/index.mdx: hero + blockquote links now root-relative
  • site/public/CNAME: podscript.dev (persists the custom domain across Actions deploys)

Why now

The apex DNS already resolves ("DNS valid for primary" in Pages settings). With base still /podscript, the domain would load HTML but 404 on assets — this flip serves everything correctly at the root.

Validation

  • npm run build → 7 pages, clean; dist/CNAME = podscript.dev
  • No internal /podscript/ links remain (the only match is the external github.com/…/podscript repo link)
  • Hero/sidebar/content links all root-relative; assets at /_astro/…
  • reuse lint: committed files compliant

After merge

Deploy runs and serves at root. Site goes fully live at https://podscript.dev once DNS (apex + www CNAME) and the Let's Encrypt cert finish provisioning; GitHub auto-redirects the old …github.io/podscript/ URL to the custom domain.

🤖 Generated with Claude Code

Switch the site from project GitHub Pages (/podscript) to the custom domain
podscript.dev served at root: drop Astro `base`, point `site` at the domain,
set the sync-script BASE to empty, make landing links root-relative, and add
site/public/CNAME.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikkel-bergmann
mikkel-bergmann merged commit 1b0920b into main Jul 6, 2026
4 checks passed
@mikkel-bergmann mikkel-bergmann changed the title Serve site from custom domain podscript.dev Serve site from podscript.dev + brand logo/favicon/accent Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant