1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-07 20:02:23 +04:00

Migrate preview and docs packages from Eleventy to Astro (#2694)

Co-authored-by: Bartek <xbartoszdobija@gmail.com>
This commit is contained in:
Paweł Kuna
2026-07-28 00:09:02 +02:00
committed by GitHub
parent 9820d110f6
commit d8956a06d6
1150 changed files with 52147 additions and 32804 deletions
+11
View File
@@ -0,0 +1,11 @@
---
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 />