Skip to content

Add a tip telling the user that anchor elements are not affected by base config #8465

@nicogutz

Description

@nicogutz

📚 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions