This repository has been archived on 2024-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
2022-10-09 18:35:09 +00:00
|
|
|
{{- /* 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 }}
|
2022-12-31 19:46:44 +00:00
|
|
|
<link rel="canonical" href="{{ $url }}">
|
|
|
|
<meta name="robots" content="noindex">
|
2022-10-09 18:35:09 +00:00
|
|
|
<meta http-equiv="refresh" content="{{ $delay }}; url={{ $url }}">
|
|
|
|
{{- end }}
|
2023-07-02 00:24:37 +00:00
|
|
|
<link rel="stylesheet" href="/styles.css">
|