-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add a tip telling the user that anchor elements are not affected by base config #8465
Copy link
Copy link
Closed
Labels
improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)Enhance / update existing documentation (e.g. add example, improve description, update for changes)
Description
📚 Subject area/topic
Routing
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/**/guides/routing/
📋 Description of content that is out-of-date or incorrect
Navigating between pages
Astro uses standard HTML
<a>elements to navigate between routes. There is no framework-specific<Link>component provided.<p>Read more <a href="/about/">about</a> Astro!</p>
This should explicitly say that the href will not change with different "base" values in the config.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
See issue withastro/astro#11159
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)Enhance / update existing documentation (e.g. add example, improve description, update for changes)