{{- /* 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 }}
<link rel="canonical" href="{{ $url }}">
<meta name="robots" content="noindex">
<meta http-equiv="refresh" content="{{ $delay }}; url={{ $url }}">
{{- end }}
<link rel="stylesheet" href="/styles.css">
