sitoctt/layouts/alias.html

20 lines
563 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="{{ site.Language.LanguageCode }}"><!--
{{- $canonicalBase := site.Params.canonicalUrlOverride -}}
{{- $canonicalUrl := (or
(and
$canonicalBase
(printf "%s%s"
$canonicalBase
(relURL .Permalink)))
.Permalink) -}}
-->
<head>
<title>{{ .Permalink }}</title>
<link rel="canonical" href="{{ $canonicalUrl }}" />
<meta name="robots" content="noindex" />
<meta charset="utf-8" />
<meta http-equiv="refresh" content="0; url={{ .Permalink }}" />
</head>
</html>