main #1

Merged
moke merged 153 commits from Frontend/Homepage:main into main 2023-02-27 22:23:15 +00:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 6ebe809abb - Show all commits

View File

@ -0,0 +1,9 @@
{{- /* handle redirects */}}
{{- with index (default dict (index $.Page.Params "values")) "redirect" }}
{{- $delay := default 0 (index . "delay") }}
{{- $url := index . "url" }}
{{- if not $url }}
{{- errorf "missing, empty or null value at 'values.redirect.url': %s" .Position }}
{{- end }}
<meta http-equiv="refresh" content="{{ $delay }}; url={{ $url }}">
{{- end }}