1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-07 20:02:23 +04:00
Files
tabler/preview/pages/markdown.astro
T
2026-07-28 00:09:02 +02:00

12 lines
481 B
Plaintext

---
import RedirectLayout from '@shared/layouts/RedirectLayout.astro';
// Front matter in preview/pages/markdown.html sets `redirect.to: prose.html`,
// but shared/includes/redirect.html reads `page.redirect.to` — and in Eleventy
// `page` is the built-in page object (no front matter), so the include gets an
// empty url. The reference build (markdown.html) therefore redirects to the
// relative root ".". We reproduce that exactly by passing no url.
---
<RedirectLayout />