Added new layout file for redirecting
This commit is contained in:
Executable
+22
@@ -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 }}
|
||||
Reference in New Issue
Block a user