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:
parent
4474887937
commit
2e9d183361
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue