In my astro.config.mjs, I use a dynamic base so that it can change based on how it is built:
// astro.config.mjs
export default defineConfig({
site: ...,
base: process.env.WEBSITE_BASE
})
In the index.mdx, I have a "Getting Started" action link:
// index.mdx
---
title: Welcome
hero:
actions:
- text: Getting Started
link: <base>/introduction/getting-started
I couldn't find a way to insert that <base> value.
Is it possible?