From c6a264c9decd502522b7c9943c2f1aafac7d5e05 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 12 Aug 2024 13:31:37 +0200 Subject: [PATCH] astro-redirect-from post update --- content/articles/2023-09-23-astro-redirect-from/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/articles/2023-09-23-astro-redirect-from/index.md b/content/articles/2023-09-23-astro-redirect-from/index.md index 0acb49af..81d7b782 100644 --- a/content/articles/2023-09-23-astro-redirect-from/index.md +++ b/content/articles/2023-09-23-astro-redirect-from/index.md @@ -152,6 +152,12 @@ redirect_from: --- ``` +Alternatively, you can use a string instead of a list for a single redirect: + +```yaml +redirect_from: /old-url +``` + ## Check out & contribute Head over to GitHub to take a peek into the code, or to report some bugs.