Added new layout file for redirecting

This commit is contained in:
spetznas
2026-04-20 23:57:32 +02:00
parent 164b466461
commit 429b336e99
5 changed files with 28 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{{ define "content" }}
<div class="container">
<article>
<h1>{{ .Title }}</h1>
<p>
{{ i18n "redirect_message" (dict
"Seconds" (.Params.redirect_delay | default 3)
"URL" .Params.redirect_url
) }}
</p>
<p>
<a href="{{ .Params.redirect_url }}" rel="noopener noreferrer">
{{ i18n "click_here_redirect" }}
</a>
</p>
</article>
</div>
<meta http-equiv="refresh" content="{{ .Params.redirect_delay | default 3 }}; url={{ .Params.redirect_url }}">
{{ end }}