From 0ccb4bcc93b216e63fdb1c018696afca5b4a352a Mon Sep 17 00:00:00 2001 From: Artyom Bologov Date: Tue, 21 Jul 2026 23:39:47 +0400 Subject: [PATCH] pages: Document more deprecations in move to git-pages --- content/codeberg-pages/migrating-from-pages-v2.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/codeberg-pages/migrating-from-pages-v2.md b/content/codeberg-pages/migrating-from-pages-v2.md index 4a8fbd3..c2fb274 100644 --- a/content/codeberg-pages/migrating-from-pages-v2.md +++ b/content/codeberg-pages/migrating-from-pages-v2.md @@ -33,6 +33,8 @@ Please be aware of the following changes and deprecated features. - Content is no longer fetched automatically. You need to use a method that informs git-pages about changes. - `raw.codeberg.page` is no longer available. CORS headers are now directly set on your page and this workaround is no longer necessary. - Direct access to repos and branches is no longer possible. You can no longer use the `/repository/@branch` access. `git-pages` restricts you to the website you explicitly deployed. Serving arbitrary resources from Codeberg was a common abuse vector and is going to be deprecated. +- There no longer are automatic redirections from `path` to `path.html`, add a [redirect rule](/codeberg-pages/advanced-usage/#redirects) for each of the pages you need to redirect. +- Splat redirects only work for simple `/path/to/splat/*/ /new/path/to/:splat` patterns of moved posts, no way to e.g. replace file extension with `/*/ /:splat.html`. ## The first push