Replies: 1 comment
-
Duplicate of #844 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add the ability to customize the redirect page generated in SSG mode
Background & Motivation
Currently when the user is redirected in a website built with SSG mode on it's presented with a blank page with a non customizable redirect timeout and text.
For example: using i18n if a page is missing in a secondary language, the user is redirected to the same page in the fallback language, but I don't have a way to tell the user that he has been redirected to that page because the original page wasn't available in his language.
It would be useful if we have the opportunity to create a custom page that is used as a template for redirects. So we could even change the redirect timeout easily
Goals
Example
The redirect template would be something like this:
And we could pass the template path in the config file:
Beta Was this translation helpful? Give feedback.
All reactions