0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix: changelog formatting (#11589)

This commit is contained in:
Emanuele Stoppa 2024-08-01 11:48:14 +01:00 committed by GitHub
parent 4474887937
commit 2e9d183361
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,11 +63,10 @@
```astro
---
// src/pages/es-cu/articles/introduction.astro
return Astro.rewrite("/es/articles/introduction")
---
// src/pages/es-cu/articles/introduction.astro return Astro.rewrite("/es/articles/introduction")
--- } ---
```
Use `context.rewrite()` in endpoints, for example to reroute to a different page: