You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
Pages that support Go templating and only contain a URL to redirect to. Those files end with .redirect to differentiate them from other pages.
If building a static site with no access to any proper server-side redirection mechanism,
it uses
<metahttp-equiv=refreshcontent="1; url=[[ REDIRECT TO ]]"><script>window.location=`[[ REDIRECT TO ]]`</script>
in the <head> with an empty body (customizable by putting content in the next lines of the .redirect file, and putting them thru a template defined as sth like redirect.template.{pug,html} ?). [[ REDIRECT TO ]] is replaced with the .redirect file's first line.
Pages that support Go templating and only contain a URL to redirect to. Those files end with .redirect to differentiate them from other pages.
If building a static site with no access to any proper server-side redirection mechanism,
it uses
in the
<head>
with an empty body (customizable by putting content in the next lines of the .redirect file, and putting them thru a template defined as sth likeredirect.template.{pug,html}
?).[[ REDIRECT TO ]]
is replaced with the .redirect file's first line.See an example of what it would generate (with the customized
<body>
content mentionned above)The text was updated successfully, but these errors were encountered: