Commit 933b6510 authored by Tiger Oakes's avatar Tiger Oakes Committed by XhmikosR
Browse files

Move redirect layout into partial

parent ff405475
No related merge requests found
Showing with 13 additions and 22 deletions
+13 -22
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Page.Params.redirect | absURL }}</title>
<link rel="canonical" href="{{ .Page.Params.redirect | absURL }}">
<meta name="robots" content="noindex">
<meta http-equiv="refresh" content="0; url={{ .Page.Params.redirect | absURL }}">
</head>
</html>
{{ partial "redirect" (.Page.Params.redirect | absURL) }}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Permalink }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<meta name="robots" content="noindex">
<meta http-equiv="refresh" content="0; url={{ .Permalink }}">
</head>
</html>
{{ partial "redirect" .Permalink }}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ . }}</title>
<link rel="canonical" href="{{ . }}">
<meta name="robots" content="noindex">
<meta http-equiv="refresh" content="0; url={{ . }}">
</head>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment